Class: AWSCDK::Route53::CIDRRoutingConfigProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Route53::CIDRRoutingConfigProps
- Defined in:
- route53/cidr_routing_config_props.rb
Overview
Properties for configuring CIDR routing in Route 53 resource record set objects.
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: nil) ⇒ CIDRRoutingConfigProps
constructor
A new instance of CIDRRoutingConfigProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(collection_id:, location_name: nil) ⇒ CIDRRoutingConfigProps
Returns a new instance of CIDRRoutingConfigProps.
9 10 11 12 13 14 |
# File 'route53/cidr_routing_config_props.rb', line 9 def initialize(collection_id:, location_name: nil) @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") unless @location_name.nil? end |
Instance Attribute Details
#collection_id ⇒ String (readonly)
The CIDR collection ID.
19 20 21 |
# File 'route53/cidr_routing_config_props.rb', line 19 def collection_id @collection_id end |
#location_name ⇒ String? (readonly)
Note:
Default: *
The CIDR collection location name.
24 25 26 |
# File 'route53/cidr_routing_config_props.rb', line 24 def location_name @location_name end |
Class Method Details
.jsii_properties ⇒ Object
26 27 28 29 30 31 |
# File 'route53/cidr_routing_config_props.rb', line 26 def self.jsii_properties { :collection_id => "collectionId", :location_name => "locationName", } end |
Instance Method Details
#to_jsii ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'route53/cidr_routing_config_props.rb', line 33 def to_jsii result = {} result.merge!({ "collectionId" => @collection_id, "locationName" => @location_name, }) result.compact end |