Class: Aws::Lambda::Types::SourceAccessConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lambda/types.rb

Overview

Note:

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

Instance Attribute Details

#typeString

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 Self-Managed Apache Kafka cluster.

  • ‘VPC_SECURITY_GROUP` - The VPC security group used to manage access to your Self-Managed Apache Kafka brokers.

  • ‘SASL_SCRAM_256_AUTH` - The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your Self-Managed Apache Kafka brokers.

  • ‘SASL_SCRAM_512_AUTH` - The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers.

Returns:

  • (String)


4822
4823
4824
4825
4826
4827
# File 'lib/aws-sdk-lambda/types.rb', line 4822

class SourceAccessConfiguration < Struct.new(
  :type,
  :uri)
  SENSITIVE = []
  include Aws::Structure
end

#uriString

The value for your chosen configuration in ‘Type`. For example: `“URI”: “arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName”`.

Returns:

  • (String)


4822
4823
4824
4825
4826
4827
# File 'lib/aws-sdk-lambda/types.rb', line 4822

class SourceAccessConfiguration < Struct.new(
  :type,
  :uri)
  SENSITIVE = []
  include Aws::Structure
end