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