Class: AWSCDK::S3ObjectLambda::CfnAccessPointProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3ObjectLambda::CfnAccessPointProps
- Defined in:
- s3_object_lambda/cfn_access_point_props.rb
Overview
Properties for defining a CfnAccessPoint.
Instance Attribute Summary collapse
-
#name ⇒ String?
readonly
The name of this access point.
-
#object_lambda_configuration ⇒ AWSCDK::IResolvable, AWSCDK::S3ObjectLambda::CfnAccessPoint::ObjectLambdaConfigurationProperty
readonly
A configuration used when creating an Object Lambda Access Point.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(object_lambda_configuration:, name: nil) ⇒ CfnAccessPointProps
constructor
A new instance of CfnAccessPointProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(object_lambda_configuration:, name: nil) ⇒ CfnAccessPointProps
Returns a new instance of CfnAccessPointProps.
11 12 13 14 15 16 |
# File 's3_object_lambda/cfn_access_point_props.rb', line 11 def initialize(object_lambda_configuration:, name: nil) @object_lambda_configuration = object_lambda_configuration.is_a?(Hash) ? ::AWSCDK::S3ObjectLambda::CfnAccessPoint::ObjectLambdaConfigurationProperty.new(**object_lambda_configuration.transform_keys(&:to_sym)) : object_lambda_configuration Jsii::Type.check_type(@object_lambda_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zM29iamVjdGxhbWJkYS5DZm5BY2Nlc3NQb2ludC5PYmplY3RMYW1iZGFDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "objectLambdaConfiguration") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#name ⇒ String? (readonly)
The name of this access point.
27 28 29 |
# File 's3_object_lambda/cfn_access_point_props.rb', line 27 def name @name end |
#object_lambda_configuration ⇒ AWSCDK::IResolvable, AWSCDK::S3ObjectLambda::CfnAccessPoint::ObjectLambdaConfigurationProperty (readonly)
A configuration used when creating an Object Lambda Access Point.
22 23 24 |
# File 's3_object_lambda/cfn_access_point_props.rb', line 22 def object_lambda_configuration @object_lambda_configuration end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 's3_object_lambda/cfn_access_point_props.rb', line 29 def self.jsii_properties { :object_lambda_configuration => "objectLambdaConfiguration", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 's3_object_lambda/cfn_access_point_props.rb', line 36 def to_jsii result = {} result.merge!({ "objectLambdaConfiguration" => @object_lambda_configuration, "name" => @name, }) result.compact end |