Class: AWSCDK::CloudFront::CfnAnycastIPList::AnycastIPListProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnAnycastIPList::AnycastIPListProperty
- Defined in:
- cloud_front/cfn_anycast_ip_list.rb
Overview
An Anycast static IP list.
For more information, see Request Anycast static IPs to use for allowlisting in the Amazon CloudFront Developer Guide .
Instance Attribute Summary collapse
-
#anycast_ips ⇒ Array<String>
readonly
The static IP addresses that are allocated to the Anycast static IP list.
-
#arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Anycast static IP list.
-
#id ⇒ String
readonly
The ID of the Anycast static IP list.
-
#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_config_results ⇒ AWSCDK::IResolvable, ...
readonly
The results for the IPAM CIDRs that defines a specific IP address range, IPAM pool, and associated Anycast IP address.
-
#last_modified_time ⇒ String
readonly
The last time the Anycast static IP list was modified.
-
#name ⇒ String
readonly
The name of the Anycast static IP list.
-
#status ⇒ String
readonly
The status of the Anycast static IP list.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(anycast_ips:, arn:, id:, ip_count:, last_modified_time:, name:, status:, ip_address_type: nil, ipam_cidr_config_results: nil) ⇒ AnycastIPListProperty
constructor
A new instance of AnycastIPListProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(anycast_ips:, arn:, id:, ip_count:, last_modified_time:, name:, status:, ip_address_type: nil, ipam_cidr_config_results: nil) ⇒ AnycastIPListProperty
Returns a new instance of AnycastIPListProperty.
607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 607 def initialize(anycast_ips:, arn:, id:, ip_count:, last_modified_time:, name:, status:, ip_address_type: nil, ipam_cidr_config_results: nil) @anycast_ips = anycast_ips Jsii::Type.check_type(@anycast_ips, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "anycastIps") @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") @ip_count = ip_count Jsii::Type.check_type(@ip_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "ipCount") @last_modified_time = last_modified_time Jsii::Type.check_type(@last_modified_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lastModifiedTime") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") @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_config_results = ipam_cidr_config_results Jsii::Type.check_type(@ipam_cidr_config_results, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWRmcm9udC5DZm5BbnljYXN0SXBMaXN0LklwYW1DaWRyQ29uZmlnUmVzdWx0UHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "ipamCidrConfigResults") unless @ipam_cidr_config_results.nil? end |
Instance Attribute Details
#anycast_ips ⇒ Array<String> (readonly)
The static IP addresses that are allocated to the Anycast static IP list.
632 633 634 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 632 def anycast_ips @anycast_ips end |
#arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Anycast static IP list.
637 638 639 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 637 def arn @arn end |
#id ⇒ String (readonly)
The ID of the Anycast static IP list.
642 643 644 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 642 def id @id end |
#ip_address_type ⇒ String? (readonly)
The IP address type for the Anycast static IP list.
669 670 671 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 669 def ip_address_type @ip_address_type end |
#ip_count ⇒ Numeric (readonly)
The number of IP addresses in the Anycast static IP list.
647 648 649 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 647 def ip_count @ip_count end |
#ipam_cidr_config_results ⇒ AWSCDK::IResolvable, ... (readonly)
The results for the IPAM CIDRs that defines a specific IP address range, IPAM pool, and associated Anycast IP address.
674 675 676 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 674 def ipam_cidr_config_results @ipam_cidr_config_results end |
#last_modified_time ⇒ String (readonly)
The last time the Anycast static IP list was modified.
652 653 654 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 652 def last_modified_time @last_modified_time end |
#name ⇒ String (readonly)
The name of the Anycast static IP list.
657 658 659 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 657 def name @name end |
#status ⇒ String (readonly)
The status of the Anycast static IP list.
Valid values: Deployed , Deploying , or Failed .
664 665 666 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 664 def status @status end |
Class Method Details
.jsii_properties ⇒ Object
676 677 678 679 680 681 682 683 684 685 686 687 688 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 676 def self.jsii_properties { :anycast_ips => "anycastIps", :arn => "arn", :id => "id", :ip_count => "ipCount", :last_modified_time => "lastModifiedTime", :name => "name", :status => "status", :ip_address_type => "ipAddressType", :ipam_cidr_config_results => "ipamCidrConfigResults", } end |
Instance Method Details
#to_jsii ⇒ Object
690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 690 def to_jsii result = {} result.merge!({ "anycastIps" => @anycast_ips, "arn" => @arn, "id" => @id, "ipCount" => @ip_count, "lastModifiedTime" => @last_modified_time, "name" => @name, "status" => @status, "ipAddressType" => @ip_address_type, "ipamCidrConfigResults" => @ipam_cidr_config_results, }) result.compact end |