SourceAccessConfiguration — AWS Cloud Development Kit 1.204.0 documentation (original) (raw)
class aws_cdk.aws_lambda.SourceAccessConfiguration(*, type, uri)
Bases: object
Specific settings like the authentication protocol or the VPC components to secure access to your event source.
Parameters:
- type (SourceAccessConfigurationType) – The type of authentication protocol or the VPC components for your event source. For example: “SASL_SCRAM_512_AUTH”.
- uri (
str
) – The value for your chosen configuration in type. For example: “URI”: “arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName”. The exact string depends on the type.
ExampleMetadata:
fixture=_generated
Example:
The code below shows an example of how to instantiate this type.
The values are placeholders you should change.
import aws_cdk.aws_lambda as lambda_
source_access_configuration_type: lambda.SourceAccessConfigurationType
source_access_configuration = lambda.SourceAccessConfiguration( type=source_access_configuration_type, uri="uri" )
Attributes
type
The type of authentication protocol or the VPC components for your event source.
For example: “SASL_SCRAM_512_AUTH”.
uri
The value for your chosen configuration in type.
For example: “URI”: “arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName”. The exact string depends on the type.
See:
SourceAccessConfigurationType