class CfnIPAMPoolPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnIPAMPoolPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnIPAMPoolPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnIPAMPoolPropsMixin |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnIPAMPoolPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnIPAMPoolPropsMixin |
Implements
IMixin
Extends
Mixin
In IPAM, a pool is a collection of contiguous IP addresses CIDRs.
Pools enable you to organize your IP addresses according to your routing and security needs. For example, if you have separate routing and security needs for development and production applications, you can create a pool for each.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnIPAMPoolPropsMixin = new ec2_mixins.CfnIPAMPoolPropsMixin({
addressFamily: 'addressFamily',
allocationDefaultNetmaskLength: 123,
allocationMaxNetmaskLength: 123,
allocationMinNetmaskLength: 123,
allocationResourceTags: [{
key: 'key',
value: 'value',
}],
autoImport: false,
awsService: 'awsService',
description: 'description',
ipamScopeId: 'ipamScopeId',
locale: 'locale',
provisionedCidrs: [{
cidr: 'cidr',
}],
publicIpSource: 'publicIpSource',
publiclyAdvertisable: false,
sourceIpamPoolId: 'sourceIpamPoolId',
sourceResource: {
resourceId: 'resourceId',
resourceOwner: 'resourceOwner',
resourceRegion: 'resourceRegion',
resourceType: 'resourceType',
},
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnIPAMPoolPropsMixin(props: CfnIPAMPoolMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.IPAMPool Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::EC2::IPAMPool.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript