Class: AWSCDK::CloudFront::CfnDistributionTenant::DomainResultProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnDistributionTenant::DomainResultProperty
- Defined in:
- cloud_front/cfn_distribution_tenant.rb
Overview
The details about the domain result.
Instance Attribute Summary collapse
-
#domain ⇒ String?
readonly
The specified domain.
-
#status ⇒ String?
readonly
Whether the domain is active or inactive.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain: nil, status: nil) ⇒ DomainResultProperty
constructor
A new instance of DomainResultProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain: nil, status: nil) ⇒ DomainResultProperty
Returns a new instance of DomainResultProperty.
758 759 760 761 762 763 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 758 def initialize(domain: nil, status: nil) @domain = domain Jsii::Type.check_type(@domain, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domain") unless @domain.nil? @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? end |
Instance Attribute Details
#domain ⇒ String? (readonly)
The specified domain.
769 770 771 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 769 def domain @domain end |
#status ⇒ String? (readonly)
Whether the domain is active or inactive.
774 775 776 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 774 def status @status end |
Class Method Details
.jsii_properties ⇒ Object
776 777 778 779 780 781 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 776 def self.jsii_properties { :domain => "domain", :status => "status", } end |
Instance Method Details
#to_jsii ⇒ Object
783 784 785 786 787 788 789 790 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 783 def to_jsii result = {} result.merge!({ "domain" => @domain, "status" => @status, }) result.compact end |