Class: AWSCDK::CleanRooms::CfnMembership::ProtectedJobS3OutputConfigurationInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
clean_rooms/cfn_membership.rb

Overview

Contains input information for protected jobs with an S3 output type.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket:, key_prefix: nil) ⇒ ProtectedJobS3OutputConfigurationInputProperty

Returns a new instance of ProtectedJobS3OutputConfigurationInputProperty.

Parameters:

  • bucket (String)

    The S3 bucket for job output.

  • key_prefix (String, nil) (defaults to: nil)

    The S3 prefix to unload the protected job results.



1093
1094
1095
1096
1097
1098
# File 'clean_rooms/cfn_membership.rb', line 1093

def initialize(bucket:, key_prefix: nil)
  @bucket = bucket
  Jsii::Type.check_type(@bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucket")
  @key_prefix = key_prefix
  Jsii::Type.check_type(@key_prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "keyPrefix") unless @key_prefix.nil?
end

Instance Attribute Details

#bucketString (readonly)

The S3 bucket for job output.



1104
1105
1106
# File 'clean_rooms/cfn_membership.rb', line 1104

def bucket
  @bucket
end

#key_prefixString? (readonly)

The S3 prefix to unload the protected job results.



1109
1110
1111
# File 'clean_rooms/cfn_membership.rb', line 1109

def key_prefix
  @key_prefix
end

Class Method Details

.jsii_propertiesObject



1111
1112
1113
1114
1115
1116
# File 'clean_rooms/cfn_membership.rb', line 1111

def self.jsii_properties
  {
    :bucket => "bucket",
    :key_prefix => "keyPrefix",
  }
end

Instance Method Details

#to_jsiiObject



1118
1119
1120
1121
1122
1123
1124
1125
# File 'clean_rooms/cfn_membership.rb', line 1118

def to_jsii
  result = {}
  result.merge!({
    "bucket" => @bucket,
    "keyPrefix" => @key_prefix,
  })
  result.compact
end