Class: AWSCDK::Route53::CfnRecordSetGroup::CIDRRoutingConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Route53::CfnRecordSetGroup::CIDRRoutingConfigProperty
- Defined in:
- route53/cfn_record_set_group.rb
Overview
The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
Instance Attribute Summary collapse
-
#collection_id ⇒ String
readonly
The CIDR collection ID.
-
#location_name ⇒ String
readonly
The CIDR collection location name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(collection_id:, location_name:) ⇒ CIDRRoutingConfigProperty
constructor
A new instance of CIDRRoutingConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(collection_id:, location_name:) ⇒ CIDRRoutingConfigProperty
Returns a new instance of CIDRRoutingConfigProperty.
691 692 693 694 695 696 |
# File 'route53/cfn_record_set_group.rb', line 691 def initialize(collection_id:, location_name:) @collection_id = collection_id Jsii::Type.check_type(@collection_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "collectionId") @location_name = location_name Jsii::Type.check_type(@location_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "locationName") end |
Instance Attribute Details
#collection_id ⇒ String (readonly)
The CIDR collection ID.
702 703 704 |
# File 'route53/cfn_record_set_group.rb', line 702 def collection_id @collection_id end |
#location_name ⇒ String (readonly)
The CIDR collection location name.
707 708 709 |
# File 'route53/cfn_record_set_group.rb', line 707 def location_name @location_name end |
Class Method Details
.jsii_properties ⇒ Object
709 710 711 712 713 714 |
# File 'route53/cfn_record_set_group.rb', line 709 def self.jsii_properties { :collection_id => "collectionId", :location_name => "locationName", } end |
Instance Method Details
#to_jsii ⇒ Object
716 717 718 719 720 721 722 723 |
# File 'route53/cfn_record_set_group.rb', line 716 def to_jsii result = {} result.merge!({ "collectionId" => @collection_id, "locationName" => @location_name, }) result.compact end |