Class: AWSCDK::Route53::PrivateHostedZoneAttributes
- Inherits:
-
HostedZoneAttributes
- Object
- HostedZoneAttributes
- AWSCDK::Route53::PrivateHostedZoneAttributes
- Defined in:
- route53/private_hosted_zone_attributes.rb
Overview
Reference to a private hosted zone.
Instance Attribute Summary collapse
-
#hosted_zone_id ⇒ String
readonly
Identifier of the hosted zone.
-
#zone_name ⇒ String
readonly
Name of the hosted zone.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hosted_zone_id:, zone_name:) ⇒ PrivateHostedZoneAttributes
constructor
A new instance of PrivateHostedZoneAttributes.
- #to_jsii ⇒ Object
Constructor Details
#initialize(hosted_zone_id:, zone_name:) ⇒ PrivateHostedZoneAttributes
Returns a new instance of PrivateHostedZoneAttributes.
9 10 11 12 13 14 |
# File 'route53/private_hosted_zone_attributes.rb', line 9 def initialize(hosted_zone_id:, zone_name:) @hosted_zone_id = hosted_zone_id Jsii::Type.check_type(@hosted_zone_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hostedZoneId") @zone_name = zone_name Jsii::Type.check_type(@zone_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "zoneName") end |
Instance Attribute Details
#hosted_zone_id ⇒ String (readonly)
Identifier of the hosted zone.
19 20 21 |
# File 'route53/private_hosted_zone_attributes.rb', line 19 def hosted_zone_id @hosted_zone_id end |
#zone_name ⇒ String (readonly)
Name of the hosted zone.
23 24 25 |
# File 'route53/private_hosted_zone_attributes.rb', line 23 def zone_name @zone_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'route53/private_hosted_zone_attributes.rb', line 25 def self.jsii_properties { :hosted_zone_id => "hostedZoneId", :zone_name => "zoneName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 40 |
# File 'route53/private_hosted_zone_attributes.rb', line 32 def to_jsii result = {} result.merge!(super) result.merge!({ "hostedZoneId" => @hosted_zone_id, "zoneName" => @zone_name, }) result.compact end |