Class: AWSCDK::Interfaces::AWSCustomerprofiles::DomainReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSCustomerprofiles::DomainReference
- Defined in:
- interfaces/aws_customerprofiles/domain_reference.rb
Overview
A reference to a Domain resource.
Instance Attribute Summary collapse
-
#domain_name ⇒ String
readonly
The DomainName of the Domain resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_name:) ⇒ DomainReference
constructor
A new instance of DomainReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_name:) ⇒ DomainReference
Returns a new instance of DomainReference.
8 9 10 11 |
# File 'interfaces/aws_customerprofiles/domain_reference.rb', line 8 def initialize(domain_name:) @domain_name = domain_name Jsii::Type.check_type(@domain_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainName") end |
Instance Attribute Details
#domain_name ⇒ String (readonly)
The DomainName of the Domain resource.
16 17 18 |
# File 'interfaces/aws_customerprofiles/domain_reference.rb', line 16 def domain_name @domain_name end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_customerprofiles/domain_reference.rb', line 18 def self.jsii_properties { :domain_name => "domainName", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_customerprofiles/domain_reference.rb', line 24 def to_jsii result = {} result.merge!({ "domainName" => @domain_name, }) result.compact end |