AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/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 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.

Returns:

  • (String)


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

#uriString

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

Returns:

  • (String)


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