Class: AWSCDK::Route53::CfnDNSSECProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
route53/cfn_dnssec_props.rb

Overview

Properties for defining a CfnDNSSEC.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hosted_zone_id:) ⇒ CfnDNSSECProps

Returns a new instance of CfnDNSSECProps.

Parameters:

  • hosted_zone_id (String)

    A unique string (ID) that is used to identify a hosted zone.



10
11
12
13
# File 'route53/cfn_dnssec_props.rb', line 10

def initialize(hosted_zone_id:)
  @hosted_zone_id = hosted_zone_id
  Jsii::Type.check_type(@hosted_zone_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hostedZoneId")
end

Instance Attribute Details

#hosted_zone_idString (readonly)

A unique string (ID) that is used to identify a hosted zone.

For example: Z00001111A1ABCaaABC11 .



21
22
23
# File 'route53/cfn_dnssec_props.rb', line 21

def hosted_zone_id
  @hosted_zone_id
end

Class Method Details

.jsii_propertiesObject



23
24
25
26
27
# File 'route53/cfn_dnssec_props.rb', line 23

def self.jsii_properties
  {
    :hosted_zone_id => "hostedZoneId",
  }
end

Instance Method Details

#to_jsiiObject



29
30
31
32
33
34
35
# File 'route53/cfn_dnssec_props.rb', line 29

def to_jsii
  result = {}
  result.merge!({
    "hostedZoneId" => @hosted_zone_id,
  })
  result.compact
end