Class: AWSCDK::S3ObjectLambda::CfnAccessPoint::TransformationConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(actions:, content_transformation:) ⇒ TransformationConfigurationProperty

Returns a new instance of TransformationConfigurationProperty.

Parameters:

  • actions (Array<String>)

    A container for the action of an Object Lambda Access Point configuration.

  • content_transformation (Object)

    A container for the content transformation of an Object Lambda Access Point configuration.



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

#actionsArray<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_transformationObject (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_propertiesObject



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_jsiiObject



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