Class: AWSCDK::CloudFront::CfnAnycastIPList::IpamCIDRConfigResultProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
cloud_front/cfn_anycast_ip_list.rb

Overview

The result for the IPAM CIDR that defines a specific IP address range, IPAM pool, and associated Anycast IP address.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(anycast_ip: nil, cidr: nil, ipam_pool_arn: nil, status: nil) ⇒ IpamCIDRConfigResultProperty

Returns a new instance of IpamCIDRConfigResultProperty.

Parameters:

  • anycast_ip (String, nil) (defaults to: nil)

    The specified Anycast IP address allocated from the IPAM pool for this CIDR configuration.

  • cidr (String, nil) (defaults to: nil)

    The CIDR that specifies the IP address range for this IPAM configuration.

  • ipam_pool_arn (String, nil) (defaults to: nil)

    The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block is assigned to.

  • status (String, nil) (defaults to: nil)

    The current status of the IPAM CIDR configuration.



760
761
762
763
764
765
766
767
768
769
# File 'cloud_front/cfn_anycast_ip_list.rb', line 760

def initialize(anycast_ip: nil, cidr: nil, ipam_pool_arn: nil, status: nil)
  @anycast_ip = anycast_ip
  Jsii::Type.check_type(@anycast_ip, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "anycastIp") unless @anycast_ip.nil?
  @cidr = cidr
  Jsii::Type.check_type(@cidr, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cidr") unless @cidr.nil?
  @ipam_pool_arn = ipam_pool_arn
  Jsii::Type.check_type(@ipam_pool_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ipamPoolArn") unless @ipam_pool_arn.nil?
  @status = status
  Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil?
end

Instance Attribute Details

#anycast_ipString? (readonly)

The specified Anycast IP address allocated from the IPAM pool for this CIDR configuration.



775
776
777
# File 'cloud_front/cfn_anycast_ip_list.rb', line 775

def anycast_ip
  @anycast_ip
end

#cidrString? (readonly)

The CIDR that specifies the IP address range for this IPAM configuration.



780
781
782
# File 'cloud_front/cfn_anycast_ip_list.rb', line 780

def cidr
  @cidr
end

#ipam_pool_arnString? (readonly)

The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block is assigned to.



785
786
787
# File 'cloud_front/cfn_anycast_ip_list.rb', line 785

def ipam_pool_arn
  @ipam_pool_arn
end

#statusString? (readonly)

The current status of the IPAM CIDR configuration.



790
791
792
# File 'cloud_front/cfn_anycast_ip_list.rb', line 790

def status
  @status
end

Class Method Details

.jsii_propertiesObject



792
793
794
795
796
797
798
799
# File 'cloud_front/cfn_anycast_ip_list.rb', line 792

def self.jsii_properties
  {
    :anycast_ip => "anycastIp",
    :cidr => "cidr",
    :ipam_pool_arn => "ipamPoolArn",
    :status => "status",
  }
end

Instance Method Details

#to_jsiiObject



801
802
803
804
805
806
807
808
809
810
# File 'cloud_front/cfn_anycast_ip_list.rb', line 801

def to_jsii
  result = {}
  result.merge!({
    "anycastIp" => @anycast_ip,
    "cidr" => @cidr,
    "ipamPoolArn" => @ipam_pool_arn,
    "status" => @status,
  })
  result.compact
end