Class: AWSCDK::Route53::CfnHostedZone::HostedZoneConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Route53::CfnHostedZone::HostedZoneConfigProperty
- Defined in:
- route53/cfn_hosted_zone.rb
Overview
A complex type that contains an optional comment about your hosted zone.
If you don't want to specify a comment, omit both the HostedZoneConfig and Comment elements.
Instance Attribute Summary collapse
-
#comment ⇒ String?
readonly
Any comments that you want to include about the hosted zone.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(comment: nil) ⇒ HostedZoneConfigProperty
constructor
A new instance of HostedZoneConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(comment: nil) ⇒ HostedZoneConfigProperty
Returns a new instance of HostedZoneConfigProperty.
622 623 624 625 |
# File 'route53/cfn_hosted_zone.rb', line 622 def initialize(comment: nil) @comment = comment Jsii::Type.check_type(@comment, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "comment") unless @comment.nil? end |
Instance Attribute Details
#comment ⇒ String? (readonly)
Any comments that you want to include about the hosted zone.
631 632 633 |
# File 'route53/cfn_hosted_zone.rb', line 631 def comment @comment end |
Class Method Details
.jsii_properties ⇒ Object
633 634 635 636 637 |
# File 'route53/cfn_hosted_zone.rb', line 633 def self.jsii_properties { :comment => "comment", } end |
Instance Method Details
#to_jsii ⇒ Object
639 640 641 642 643 644 645 |
# File 'route53/cfn_hosted_zone.rb', line 639 def to_jsii result = {} result.merge!({ "comment" => @comment, }) result.compact end |