Class: AWSCDK::CloudFront::CfnDistributionTenant::DomainResultProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
cloud_front/cfn_distribution_tenant.rb

Overview

The details about the domain result.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain: nil, status: nil) ⇒ DomainResultProperty

Returns a new instance of DomainResultProperty.

Parameters:

  • domain (String, nil) (defaults to: nil)

    The specified domain.

  • status (String, nil) (defaults to: nil)

    Whether the domain is active or inactive.



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

#domainString? (readonly)

The specified domain.



769
770
771
# File 'cloud_front/cfn_distribution_tenant.rb', line 769

def domain
  @domain
end

#statusString? (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_propertiesObject



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_jsiiObject



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