Class: AWSCDK::S3ObjectLambda::CfnAccessPoint::TransformationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3ObjectLambda::CfnAccessPoint::TransformationConfigurationProperty
- Defined in:
- s3_object_lambda/cfn_access_point.rb
Overview
A configuration used when creating an Object Lambda Access Point transformation.
Instance Attribute Summary collapse
-
#actions ⇒ Array<String>
readonly
A container for the action of an Object Lambda Access Point configuration.
-
#content_transformation ⇒ Object
readonly
A container for the content transformation of an Object Lambda Access Point configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(actions:, content_transformation:) ⇒ TransformationConfigurationProperty
constructor
A new instance of TransformationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(actions:, content_transformation:) ⇒ TransformationConfigurationProperty
Returns a new instance of TransformationConfigurationProperty.
938 939 940 941 942 943 |
# File 's3_object_lambda/cfn_access_point.rb', line 938 def initialize(actions:, content_transformation:) @actions = actions Jsii::Type.check_type(@actions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "actions") @content_transformation = content_transformation Jsii::Type.check_type(@content_transformation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "contentTransformation") end |
Instance Attribute Details
#actions ⇒ Array<String> (readonly)
A container for the action of an Object Lambda Access Point configuration.
Valid inputs are GetObject , HeadObject , ListObject , and ListObjectV2 .
951 952 953 |
# File 's3_object_lambda/cfn_access_point.rb', line 951 def actions @actions end |
#content_transformation ⇒ Object (readonly)
A container for the content transformation of an Object Lambda Access Point configuration.
Can include the FunctionArn and FunctionPayload. For more information, see AwsLambdaTransformation in the Amazon S3 API Reference .
958 959 960 |
# File 's3_object_lambda/cfn_access_point.rb', line 958 def content_transformation @content_transformation end |
Class Method Details
.jsii_properties ⇒ Object
960 961 962 963 964 965 |
# File 's3_object_lambda/cfn_access_point.rb', line 960 def self.jsii_properties { :actions => "actions", :content_transformation => "contentTransformation", } end |
Instance Method Details
#to_jsii ⇒ Object
967 968 969 970 971 972 973 974 |
# File 's3_object_lambda/cfn_access_point.rb', line 967 def to_jsii result = {} result.merge!({ "actions" => @actions, "contentTransformation" => @content_transformation, }) result.compact end |