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