Class: AWSCDK::EC2::CfnIPAMResourceDiscovery::IpamOperatingRegionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ec2/cfn_ipam_resource_discovery.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.



641
642
643
644
# File 'ec2/cfn_ipam_resource_discovery.rb', line 641

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.



650
651
652
# File 'ec2/cfn_ipam_resource_discovery.rb', line 650

def region_name
  @region_name
end

Class Method Details

.jsii_propertiesObject



652
653
654
655
656
# File 'ec2/cfn_ipam_resource_discovery.rb', line 652

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

Instance Method Details

#to_jsiiObject



658
659
660
661
662
663
664
# File 'ec2/cfn_ipam_resource_discovery.rb', line 658

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