Class: Aws::Lambda::Types::SourceAccessConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::SourceAccessConfiguration
- Defined in:
- gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb
Overview
When making an API call, you may pass SourceAccessConfiguration data as a hash:
{
type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
uri: "URI",
}
You can specify the authentication protocol, or the VPC components to secure access to your event source.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#type ⇒ String
The type of authentication protocol or the VPC components for your event source.
-
#uri ⇒ String
The value for your chosen configuration in
Type
.
Instance Attribute Details
#type ⇒ String
The type of authentication protocol or the VPC components for your
event source. For example: "Type":"SASL_SCRAM_512_AUTH"
.
BASIC_AUTH
- (MQ) The Secrets Manager secret that stores your broker credentials.VPC_SUBNET
- The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your Kafka cluster.VPC_SECURITY_GROUP
- The VPC security group used to manage access to your Kafka brokers.SASL_SCRAM_256_AUTH
- The ARN of your secret key used for SASL SCRAM-256 authentication of your Kafka brokers.SASL_SCRAM_512_AUTH
- The ARN of your secret key used for SASL SCRAM-512 authentication of your Kafka brokers.
4812 4813 4814 4815 4816 4817 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4812 class SourceAccessConfiguration < Struct.new( :type, :uri) SENSITIVE = [] include Aws::Structure end |
#uri ⇒ String
The value for your chosen configuration in Type
. For example:
"URI":
"arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"
.
4812 4813 4814 4815 4816 4817 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4812 class SourceAccessConfiguration < Struct.new( :type, :uri) SENSITIVE = [] include Aws::Structure end |