Class: AWSCDK::S3ObjectLambda::CfnAccessPoint::ObjectLambdaConfigurationProperty

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.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(supporting_access_point:, transformation_configurations:, allowed_features: nil, cloud_watch_metrics_enabled: nil) ⇒ ObjectLambdaConfigurationProperty

Returns a new instance of ObjectLambdaConfigurationProperty.

Parameters:



747
748
749
750
751
752
753
754
755
756
# File 's3_object_lambda/cfn_access_point.rb', line 747

def initialize(supporting_access_point:, transformation_configurations:, allowed_features: nil, cloud_watch_metrics_enabled: nil)
  @supporting_access_point = supporting_access_point
  Jsii::Type.check_type(@supporting_access_point, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "supportingAccessPoint")
  @transformation_configurations = transformation_configurations
  Jsii::Type.check_type(@transformation_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfczNvYmplY3RsYW1iZGEuQ2ZuQWNjZXNzUG9pbnQuVHJhbnNmb3JtYXRpb25Db25maWd1cmF0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "transformationConfigurations")
  @allowed_features = allowed_features
  Jsii::Type.check_type(@allowed_features, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "allowedFeatures") unless @allowed_features.nil?
  @cloud_watch_metrics_enabled = cloud_watch_metrics_enabled
  Jsii::Type.check_type(@cloud_watch_metrics_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "cloudWatchMetricsEnabled") unless @cloud_watch_metrics_enabled.nil?
end

Instance Attribute Details

#allowed_featuresArray<String>? (readonly)

A container for allowed features.

Valid inputs are GetObject-Range , GetObject-PartNumber , HeadObject-Range , and HeadObject-PartNumber .



774
775
776
# File 's3_object_lambda/cfn_access_point.rb', line 774

def allowed_features
  @allowed_features
end

#cloud_watch_metrics_enabledBoolean, ... (readonly)

A container for whether the CloudWatch metrics configuration is enabled.



779
780
781
# File 's3_object_lambda/cfn_access_point.rb', line 779

def cloud_watch_metrics_enabled
  @cloud_watch_metrics_enabled
end

#supporting_access_pointString (readonly)

Standard access point associated with the Object Lambda Access Point.



762
763
764
# File 's3_object_lambda/cfn_access_point.rb', line 762

def supporting_access_point
  @supporting_access_point
end

#transformation_configurationsAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::S3ObjectLambda::CfnAccessPoint::TransformationConfigurationProperty> (readonly)

A container for transformation configurations for an Object Lambda Access Point.



767
768
769
# File 's3_object_lambda/cfn_access_point.rb', line 767

def transformation_configurations
  @transformation_configurations
end

Class Method Details

.jsii_propertiesObject



781
782
783
784
785
786
787
788
# File 's3_object_lambda/cfn_access_point.rb', line 781

def self.jsii_properties
  {
    :supporting_access_point => "supportingAccessPoint",
    :transformation_configurations => "transformationConfigurations",
    :allowed_features => "allowedFeatures",
    :cloud_watch_metrics_enabled => "cloudWatchMetricsEnabled",
  }
end

Instance Method Details

#to_jsiiObject



790
791
792
793
794
795
796
797
798
799
# File 's3_object_lambda/cfn_access_point.rb', line 790

def to_jsii
  result = {}
  result.merge!({
    "supportingAccessPoint" => @supporting_access_point,
    "transformationConfigurations" => @transformation_configurations,
    "allowedFeatures" => @allowed_features,
    "cloudWatchMetricsEnabled" => @cloud_watch_metrics_enabled,
  })
  result.compact
end