Class: AWSCDK::EC2::CfnIPAM::IpamOperatingRegionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ec2/cfn_ipam.rb

Overview

The operating Regions for an IPAM.

Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions.

For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(region_name:) ⇒ IpamOperatingRegionProperty

Returns a new instance of IpamOperatingRegionProperty.

Parameters:

  • region_name (String)

    The name of the operating Region.



685
686
687
688
# File 'ec2/cfn_ipam.rb', line 685

def initialize(region_name:)
  @region_name = region_name
  Jsii::Type.check_type(@region_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "regionName")
end

Instance Attribute Details

#region_nameString (readonly)

The name of the operating Region.



694
695
696
# File 'ec2/cfn_ipam.rb', line 694

def region_name
  @region_name
end

Class Method Details

.jsii_propertiesObject



696
697
698
699
700
# File 'ec2/cfn_ipam.rb', line 696

def self.jsii_properties
  {
    :region_name => "regionName",
  }
end

Instance Method Details

#to_jsiiObject



702
703
704
705
706
707
708
# File 'ec2/cfn_ipam.rb', line 702

def to_jsii
  result = {}
  result.merge!({
    "regionName" => @region_name,
  })
  result.compact
end