Class: AWSCDK::CleanRooms::CfnIdNamespaceAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnIdNamespaceAssociationProps
- Defined in:
- clean_rooms/cfn_id_namespace_association_props.rb
Overview
Properties for defining a CfnIdNamespaceAssociation.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
The description of the ID namespace association.
-
#id_mapping_config ⇒ AWSCDK::IResolvable, ...
readonly
The configuration settings for the ID mapping table.
-
#input_reference_config ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnIdNamespaceAssociation::IdNamespaceAssociationInputReferenceConfigProperty
readonly
The input reference configuration for the ID namespace association.
-
#membership_identifier ⇒ String
readonly
The unique identifier of the membership that contains the ID namespace association.
-
#name ⇒ String
readonly
The name of this ID namespace association.
-
#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, id_mapping_config: nil, tags: nil) ⇒ CfnIdNamespaceAssociationProps
constructor
A new instance of CfnIdNamespaceAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_reference_config:, membership_identifier:, name:, description: nil, id_mapping_config: nil, tags: nil) ⇒ CfnIdNamespaceAssociationProps
Returns a new instance of CfnIdNamespaceAssociationProps.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'clean_rooms/cfn_id_namespace_association_props.rb', line 15 def initialize(input_reference_config:, membership_identifier:, name:, description: nil, id_mapping_config: nil, tags: nil) @input_reference_config = input_reference_config.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnIdNamespaceAssociation::IdNamespaceAssociationInputReferenceConfigProperty.new(**input_reference_config.transform_keys(&:to_sym)) : input_reference_config Jsii::Type.check_type(@input_reference_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbklkTmFtZXNwYWNlQXNzb2NpYXRpb24uSWROYW1lc3BhY2VBc3NvY2lhdGlvbklucHV0UmVmZXJlbmNlQ29uZmlnUHJvcGVydHkifV19fQ==")), "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? @id_mapping_config = id_mapping_config.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnIdNamespaceAssociation::IdMappingConfigProperty.new(**id_mapping_config.transform_keys(&:to_sym)) : id_mapping_config Jsii::Type.check_type(@id_mapping_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbklkTmFtZXNwYWNlQXNzb2NpYXRpb24uSWRNYXBwaW5nQ29uZmlnUHJvcGVydHkifV19fQ==")), "idMappingConfig") unless @id_mapping_config.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 namespace association.
49 50 51 |
# File 'clean_rooms/cfn_id_namespace_association_props.rb', line 49 def description @description end |
#id_mapping_config ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration settings for the ID mapping table.
54 55 56 |
# File 'clean_rooms/cfn_id_namespace_association_props.rb', line 54 def id_mapping_config @id_mapping_config end |
#input_reference_config ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnIdNamespaceAssociation::IdNamespaceAssociationInputReferenceConfigProperty (readonly)
The input reference configuration for the ID namespace association.
34 35 36 |
# File 'clean_rooms/cfn_id_namespace_association_props.rb', line 34 def input_reference_config @input_reference_config end |
#membership_identifier ⇒ String (readonly)
The unique identifier of the membership that contains the ID namespace association.
39 40 41 |
# File 'clean_rooms/cfn_id_namespace_association_props.rb', line 39 def membership_identifier @membership_identifier end |
#name ⇒ String (readonly)
The name of this ID namespace association.
44 45 46 |
# File 'clean_rooms/cfn_id_namespace_association_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_namespace_association_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_namespace_association_props.rb', line 63 def self.jsii_properties { :input_reference_config => "inputReferenceConfig", :membership_identifier => "membershipIdentifier", :name => "name", :description => "description", :id_mapping_config => "idMappingConfig", :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_namespace_association_props.rb', line 74 def to_jsii result = {} result.merge!({ "inputReferenceConfig" => @input_reference_config, "membershipIdentifier" => @membership_identifier, "name" => @name, "description" => @description, "idMappingConfig" => @id_mapping_config, "tags" => @tags, }) result.compact end |