Class: AWSCDK::Interfaces::AWSAppsync::DomainNameReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSAppsync::DomainNameReference
- Defined in:
- interfaces/aws_appsync/domain_name_reference.rb
Overview
A reference to a DomainName resource.
Instance Attribute Summary collapse
-
#domain_name ⇒ String
readonly
The DomainName of the DomainName resource.
-
#domain_name_arn ⇒ String
readonly
The ARN of the DomainName resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_name:, domain_name_arn:) ⇒ DomainNameReference
constructor
A new instance of DomainNameReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_name:, domain_name_arn:) ⇒ DomainNameReference
Returns a new instance of DomainNameReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_appsync/domain_name_reference.rb', line 9 def initialize(domain_name:, domain_name_arn:) @domain_name = domain_name Jsii::Type.check_type(@domain_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainName") @domain_name_arn = domain_name_arn Jsii::Type.check_type(@domain_name_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainNameArn") end |
Instance Attribute Details
#domain_name ⇒ String (readonly)
The DomainName of the DomainName resource.
19 20 21 |
# File 'interfaces/aws_appsync/domain_name_reference.rb', line 19 def domain_name @domain_name end |
#domain_name_arn ⇒ String (readonly)
The ARN of the DomainName resource.
23 24 25 |
# File 'interfaces/aws_appsync/domain_name_reference.rb', line 23 def domain_name_arn @domain_name_arn end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_appsync/domain_name_reference.rb', line 25 def self.jsii_properties { :domain_name => "domainName", :domain_name_arn => "domainNameArn", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_appsync/domain_name_reference.rb', line 32 def to_jsii result = {} result.merge!({ "domainName" => @domain_name, "domainNameArn" => @domain_name_arn, }) result.compact end |