Class: AWSCDK::CloudFront::CfnAnycastIPListProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnAnycastIPListProps
- Defined in:
- cloud_front/cfn_anycast_ip_list_props.rb
Overview
Properties for defining a CfnAnycastIpList.
Instance Attribute Summary collapse
-
#ip_address_type ⇒ String?
readonly
The IP address type for the Anycast static IP list.
-
#ip_count ⇒ Numeric
readonly
The number of IP addresses in the Anycast static IP list.
-
#ipam_cidr_configs ⇒ AWSCDK::IResolvable, ...
readonly
A list of IPAM CIDR configurations that define the IP address ranges, IPAM pools, and associated Anycast IP addresses.
-
#name ⇒ String
readonly
The name of the Anycast static IP list.
-
#tags ⇒ AWSCDK::CloudFront::CfnAnycastIPList::TagsProperty?
readonly
A complex type that contains zero or more
Tagelements.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ip_count:, name:, ip_address_type: nil, ipam_cidr_configs: nil, tags: nil) ⇒ CfnAnycastIPListProps
constructor
A new instance of CfnAnycastIPListProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ip_count:, name:, ip_address_type: nil, ipam_cidr_configs: nil, tags: nil) ⇒ CfnAnycastIPListProps
Returns a new instance of CfnAnycastIPListProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'cloud_front/cfn_anycast_ip_list_props.rb', line 14 def initialize(ip_count:, name:, ip_address_type: nil, ipam_cidr_configs: nil, tags: nil) @ip_count = ip_count Jsii::Type.check_type(@ip_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "ipCount") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @ip_address_type = ip_address_type Jsii::Type.check_type(@ip_address_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ipAddressType") unless @ip_address_type.nil? @ipam_cidr_configs = ipam_cidr_configs Jsii::Type.check_type(@ipam_cidr_configs, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWRmcm9udC5DZm5BbnljYXN0SXBMaXN0LklwYW1DaWRyQ29uZmlnUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "ipamCidrConfigs") unless @ipam_cidr_configs.nil? @tags = .is_a?(Hash) ? ::AWSCDK::CloudFront::CfnAnycastIPList::TagsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWRmcm9udC5DZm5BbnljYXN0SXBMaXN0LlRhZ3NQcm9wZXJ0eSJ9")), "tags") unless @tags.nil? end |
Instance Attribute Details
#ip_address_type ⇒ String? (readonly)
The IP address type for the Anycast static IP list.
41 42 43 |
# File 'cloud_front/cfn_anycast_ip_list_props.rb', line 41 def ip_address_type @ip_address_type end |
#ip_count ⇒ Numeric (readonly)
The number of IP addresses in the Anycast static IP list.
31 32 33 |
# File 'cloud_front/cfn_anycast_ip_list_props.rb', line 31 def ip_count @ip_count end |
#ipam_cidr_configs ⇒ AWSCDK::IResolvable, ... (readonly)
A list of IPAM CIDR configurations that define the IP address ranges, IPAM pools, and associated Anycast IP addresses.
46 47 48 |
# File 'cloud_front/cfn_anycast_ip_list_props.rb', line 46 def ipam_cidr_configs @ipam_cidr_configs end |
#name ⇒ String (readonly)
The name of the Anycast static IP list.
36 37 38 |
# File 'cloud_front/cfn_anycast_ip_list_props.rb', line 36 def name @name end |
#tags ⇒ AWSCDK::CloudFront::CfnAnycastIPList::TagsProperty? (readonly)
A complex type that contains zero or more Tag elements.
51 52 53 |
# File 'cloud_front/cfn_anycast_ip_list_props.rb', line 51 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
53 54 55 56 57 58 59 60 61 |
# File 'cloud_front/cfn_anycast_ip_list_props.rb', line 53 def self.jsii_properties { :ip_count => "ipCount", :name => "name", :ip_address_type => "ipAddressType", :ipam_cidr_configs => "ipamCidrConfigs", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
63 64 65 66 67 68 69 70 71 72 73 |
# File 'cloud_front/cfn_anycast_ip_list_props.rb', line 63 def to_jsii result = {} result.merge!({ "ipCount" => @ip_count, "name" => @name, "ipAddressType" => @ip_address_type, "ipamCidrConfigs" => @ipam_cidr_configs, "tags" => @tags, }) result.compact end |