Class: AWSCDK::CleanRooms::CfnIdMappingTableProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnIdMappingTableProps
- Defined in:
- clean_rooms/cfn_id_mapping_table_props.rb
Overview
Properties for defining a CfnIdMappingTable.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
The description of the ID mapping table.
-
#input_reference_config ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnIdMappingTable::IdMappingTableInputReferenceConfigProperty
readonly
The input reference configuration for the ID mapping table.
-
#kms_key_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the AWS KMS key.
-
#membership_identifier ⇒ String
readonly
The unique identifier of the membership resource for the ID mapping table.
-
#name ⇒ String
readonly
The name of the ID mapping table.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
An optional label that you can assign to a resource when you create it.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_reference_config:, membership_identifier:, name:, description: nil, kms_key_arn: nil, tags: nil) ⇒ CfnIdMappingTableProps
constructor
A new instance of CfnIdMappingTableProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_reference_config:, membership_identifier:, name:, description: nil, kms_key_arn: nil, tags: nil) ⇒ CfnIdMappingTableProps
Returns a new instance of CfnIdMappingTableProps.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'clean_rooms/cfn_id_mapping_table_props.rb', line 15 def initialize(input_reference_config:, membership_identifier:, name:, description: nil, kms_key_arn: nil, tags: nil) @input_reference_config = input_reference_config.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnIdMappingTable::IdMappingTableInputReferenceConfigProperty.new(**input_reference_config.transform_keys(&:to_sym)) : input_reference_config Jsii::Type.check_type(@input_reference_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbklkTWFwcGluZ1RhYmxlLklkTWFwcGluZ1RhYmxlSW5wdXRSZWZlcmVuY2VDb25maWdQcm9wZXJ0eSJ9XX19")), "inputReferenceConfig") @membership_identifier = membership_identifier Jsii::Type.check_type(@membership_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "membershipIdentifier") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @kms_key_arn = kms_key_arn Jsii::Type.check_type(@kms_key_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKeyArn") unless @kms_key_arn.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
The description of the ID mapping table.
49 50 51 |
# File 'clean_rooms/cfn_id_mapping_table_props.rb', line 49 def description @description end |
#input_reference_config ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnIdMappingTable::IdMappingTableInputReferenceConfigProperty (readonly)
The input reference configuration for the ID mapping table.
34 35 36 |
# File 'clean_rooms/cfn_id_mapping_table_props.rb', line 34 def input_reference_config @input_reference_config end |
#kms_key_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the AWS KMS key.
54 55 56 |
# File 'clean_rooms/cfn_id_mapping_table_props.rb', line 54 def kms_key_arn @kms_key_arn end |
#membership_identifier ⇒ String (readonly)
The unique identifier of the membership resource for the ID mapping table.
39 40 41 |
# File 'clean_rooms/cfn_id_mapping_table_props.rb', line 39 def membership_identifier @membership_identifier end |
#name ⇒ String (readonly)
The name of the ID mapping table.
44 45 46 |
# File 'clean_rooms/cfn_id_mapping_table_props.rb', line 44 def name @name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
An optional label that you can assign to a resource when you create it.
Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
61 62 63 |
# File 'clean_rooms/cfn_id_mapping_table_props.rb', line 61 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
63 64 65 66 67 68 69 70 71 72 |
# File 'clean_rooms/cfn_id_mapping_table_props.rb', line 63 def self.jsii_properties { :input_reference_config => "inputReferenceConfig", :membership_identifier => "membershipIdentifier", :name => "name", :description => "description", :kms_key_arn => "kmsKeyArn", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'clean_rooms/cfn_id_mapping_table_props.rb', line 74 def to_jsii result = {} result.merge!({ "inputReferenceConfig" => @input_reference_config, "membershipIdentifier" => @membership_identifier, "name" => @name, "description" => @description, "kmsKeyArn" => @kms_key_arn, "tags" => @tags, }) result.compact end |