Class: AWSCDK::Route53GlobalResolver::CfnHostedZoneAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Route53GlobalResolver::CfnHostedZoneAssociationProps
- Defined in:
- route53_global_resolver/cfn_hosted_zone_association_props.rb
Overview
Properties for defining a CfnHostedZoneAssociation.
Instance Attribute Summary collapse
- #hosted_zone_id ⇒ String readonly
- #name ⇒ String readonly
- #resource_arn ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hosted_zone_id:, name:, resource_arn:) ⇒ CfnHostedZoneAssociationProps
constructor
A new instance of CfnHostedZoneAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(hosted_zone_id:, name:, resource_arn:) ⇒ CfnHostedZoneAssociationProps
Returns a new instance of CfnHostedZoneAssociationProps.
12 13 14 15 16 17 18 19 |
# File 'route53_global_resolver/cfn_hosted_zone_association_props.rb', line 12 def initialize(hosted_zone_id:, name:, resource_arn:) @hosted_zone_id = hosted_zone_id Jsii::Type.check_type(@hosted_zone_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hostedZoneId") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @resource_arn = resource_arn Jsii::Type.check_type(@resource_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceArn") end |
Instance Attribute Details
#hosted_zone_id ⇒ String (readonly)
23 24 25 |
# File 'route53_global_resolver/cfn_hosted_zone_association_props.rb', line 23 def hosted_zone_id @hosted_zone_id end |
#name ⇒ String (readonly)
26 27 28 |
# File 'route53_global_resolver/cfn_hosted_zone_association_props.rb', line 26 def name @name end |
#resource_arn ⇒ String (readonly)
29 30 31 |
# File 'route53_global_resolver/cfn_hosted_zone_association_props.rb', line 29 def resource_arn @resource_arn end |
Class Method Details
.jsii_properties ⇒ Object
31 32 33 34 35 36 37 |
# File 'route53_global_resolver/cfn_hosted_zone_association_props.rb', line 31 def self.jsii_properties { :hosted_zone_id => "hostedZoneId", :name => "name", :resource_arn => "resourceArn", } end |
Instance Method Details
#to_jsii ⇒ Object
39 40 41 42 43 44 45 46 47 |
# File 'route53_global_resolver/cfn_hosted_zone_association_props.rb', line 39 def to_jsii result = {} result.merge!({ "hostedZoneId" => @hosted_zone_id, "name" => @name, "resourceArn" => @resource_arn, }) result.compact end |