Skip to content
v2.273.0

Experimental

@aws-cdk/aws-ec2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

IIpamScopeBase Interface ​

Interface for IpamScope Class.

Properties ​

scopeConstructscopeConstructscopeConstructScopeConstructScopeConstructrequired#
Reference to the current scope of stack to be passed in order to create a new IPAM pool.
scopeIdstringscope_idstrscopeIdStringScopeIdstringScopeId*stringrequired#
Default Scope ids created by the IPAM or a new Resource id.
scopeTypeIpamScopeTypescope_typeIpamScopeTypescopeTypeIpamScopeTypeScopeTypeIpamScopeTypeScopeTypeIpamScopeType#
Defines scope type can be either default or custom.

Methods ​

addPool(id: string, options: PoolOptions): IIpamPooldef add_pool(self, id: str, options: PoolOptions) -> IIpamPoolpublic IIpamPool addPool(String id, PoolOptions options)public IIpamPool AddPool(string id, PoolOptions options)func AddPool(Id *string, Options PoolOptions) IIpamPool#
Function to add a new pool to an IPAM scope.