Class: AWSCDK::Route53::GrantDelegationOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Route53::GrantDelegationOptions
- Defined in:
- route53/grant_delegation_options.rb
Overview
Options for the delegation permissions granted.
Instance Attribute Summary collapse
-
#delegated_zone_names ⇒ Array<String>?
readonly
List of hosted zone names to allow delegation to in the grant permissions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(delegated_zone_names: nil) ⇒ GrantDelegationOptions
constructor
A new instance of GrantDelegationOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(delegated_zone_names: nil) ⇒ GrantDelegationOptions
Returns a new instance of GrantDelegationOptions.
8 9 10 11 |
# File 'route53/grant_delegation_options.rb', line 8 def initialize(delegated_zone_names: nil) @delegated_zone_names = delegated_zone_names Jsii::Type.check_type(@delegated_zone_names, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "delegatedZoneNames") unless @delegated_zone_names.nil? end |
Instance Attribute Details
#delegated_zone_names ⇒ Array<String>? (readonly)
Default: the grant allows delegation to any hosted zone
List of hosted zone names to allow delegation to in the grant permissions.
If the delegated zone name contains an unresolved token, it must resolve to a zone name that satisfies the requirements according to the documentation: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/specifying-conditions-route53.html#route53_rrset_conditionkeys_normalization
All letters must be lowercase. The DNS name must be without the trailing dot. Characters other than a–z, 0–9, - (hyphen), _ (underscore), and . (period, as a delimiter between labels) must use escape codes in the format \three-digit octal code. For example, \052 is the octal code for character *.
25 26 27 |
# File 'route53/grant_delegation_options.rb', line 25 def delegated_zone_names @delegated_zone_names end |
Class Method Details
.jsii_properties ⇒ Object
27 28 29 30 31 |
# File 'route53/grant_delegation_options.rb', line 27 def self.jsii_properties { :delegated_zone_names => "delegatedZoneNames", } end |
Instance Method Details
#to_jsii ⇒ Object
33 34 35 36 37 38 39 |
# File 'route53/grant_delegation_options.rb', line 33 def to_jsii result = {} result.merge!({ "delegatedZoneNames" => @delegated_zone_names, }) result.compact end |