Class: AWSCDK::DataZone::CfnDomainUnitProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnDomainUnitProps
- Defined in:
- data_zone/cfn_domain_unit_props.rb
Overview
Properties for defining a CfnDomainUnit.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
The description of the domain unit.
-
#domain_identifier ⇒ String
readonly
The ID of the domain where you want to crate a domain unit.
-
#name ⇒ String
readonly
The name of the domain unit.
-
#parent_domain_unit_identifier ⇒ String
readonly
The ID of the parent domain unit.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_identifier:, name:, parent_domain_unit_identifier:, description: nil) ⇒ CfnDomainUnitProps
constructor
A new instance of CfnDomainUnitProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_identifier:, name:, parent_domain_unit_identifier:, description: nil) ⇒ CfnDomainUnitProps
Returns a new instance of CfnDomainUnitProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'data_zone/cfn_domain_unit_props.rb', line 13 def initialize(domain_identifier:, name:, parent_domain_unit_identifier:, description: nil) @domain_identifier = domain_identifier Jsii::Type.check_type(@domain_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainIdentifier") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @parent_domain_unit_identifier = parent_domain_unit_identifier Jsii::Type.check_type(@parent_domain_unit_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parentDomainUnitIdentifier") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
The description of the domain unit.
43 44 45 |
# File 'data_zone/cfn_domain_unit_props.rb', line 43 def description @description end |
#domain_identifier ⇒ String (readonly)
The ID of the domain where you want to crate a domain unit.
28 29 30 |
# File 'data_zone/cfn_domain_unit_props.rb', line 28 def domain_identifier @domain_identifier end |
#name ⇒ String (readonly)
The name of the domain unit.
33 34 35 |
# File 'data_zone/cfn_domain_unit_props.rb', line 33 def name @name end |
#parent_domain_unit_identifier ⇒ String (readonly)
The ID of the parent domain unit.
38 39 40 |
# File 'data_zone/cfn_domain_unit_props.rb', line 38 def parent_domain_unit_identifier @parent_domain_unit_identifier end |
Class Method Details
.jsii_properties ⇒ Object
45 46 47 48 49 50 51 52 |
# File 'data_zone/cfn_domain_unit_props.rb', line 45 def self.jsii_properties { :domain_identifier => "domainIdentifier", :name => "name", :parent_domain_unit_identifier => "parentDomainUnitIdentifier", :description => "description", } end |
Instance Method Details
#to_jsii ⇒ Object
54 55 56 57 58 59 60 61 62 63 |
# File 'data_zone/cfn_domain_unit_props.rb', line 54 def to_jsii result = {} result.merge!({ "domainIdentifier" => @domain_identifier, "name" => @name, "parentDomainUnitIdentifier" => @parent_domain_unit_identifier, "description" => @description, }) result.compact end |