Class: AWSCDK::CloudFront::CfnAnycastIPList::IpamCIDRConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnAnycastIPList::IpamCIDRConfigProperty
- Defined in:
- cloud_front/cfn_anycast_ip_list.rb
Overview
Configuration for an IPAM CIDR that defines a specific IP address range, IPAM pool, and associated Anycast IP address.
Instance Attribute Summary collapse
-
#cidr ⇒ String
readonly
The CIDR that specifies the IP address range for this IPAM configuration.
-
#ipam_pool_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block is assigned to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cidr:, ipam_pool_arn:) ⇒ IpamCIDRConfigProperty
constructor
A new instance of IpamCIDRConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cidr:, ipam_pool_arn:) ⇒ IpamCIDRConfigProperty
Returns a new instance of IpamCIDRConfigProperty.
715 716 717 718 719 720 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 715 def initialize(cidr:, ipam_pool_arn:) @cidr = cidr Jsii::Type.check_type(@cidr, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cidr") @ipam_pool_arn = ipam_pool_arn Jsii::Type.check_type(@ipam_pool_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ipamPoolArn") end |
Instance Attribute Details
#cidr ⇒ String (readonly)
The CIDR that specifies the IP address range for this IPAM configuration.
726 727 728 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 726 def cidr @cidr end |
#ipam_pool_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block is assigned to.
731 732 733 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 731 def ipam_pool_arn @ipam_pool_arn end |
Class Method Details
.jsii_properties ⇒ Object
733 734 735 736 737 738 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 733 def self.jsii_properties { :cidr => "cidr", :ipam_pool_arn => "ipamPoolArn", } end |
Instance Method Details
#to_jsii ⇒ Object
740 741 742 743 744 745 746 747 |
# File 'cloud_front/cfn_anycast_ip_list.rb', line 740 def to_jsii result = {} result.merge!({ "cidr" => @cidr, "ipamPoolArn" => @ipam_pool_arn, }) result.compact end |