Class: AWSCDK::EC2::CfnIPAMResourceDiscovery::IpamOperatingRegionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnIPAMResourceDiscovery::IpamOperatingRegionProperty
- 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
-
#region_name ⇒ String
readonly
The name of the operating Region.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(region_name:) ⇒ IpamOperatingRegionProperty
constructor
A new instance of IpamOperatingRegionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(region_name:) ⇒ IpamOperatingRegionProperty
Returns a new instance of IpamOperatingRegionProperty.
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_name ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |