interface CfnPrefixListMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnPrefixListMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnPrefixListMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnPrefixListMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnPrefixListMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnPrefixListMixinProps |
Properties for CfnPrefixListPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnPrefixListMixinProps: ec2_mixins.CfnPrefixListMixinProps = {
addressFamily: 'addressFamily',
entries: [{
cidr: 'cidr',
description: 'description',
}],
maxEntries: 123,
prefixListName: 'prefixListName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| address | string | The IP address type. |
| entries? | IResolvable | (IResolvable | Entry)[] | The entries for the prefix list. |
| max | number | The maximum number of entries for the prefix list. |
| prefix | string | A name for the prefix list. |
| tags? | Cfn[] | The tags for the prefix list. |
addressFamily?
Type:
string
(optional)
The IP address type.
Valid Values: IPv4 | IPv6
entries?
Type:
IResolvable | (IResolvable | Entry)[]
(optional)
The entries for the prefix list.
maxEntries?
Type:
number
(optional)
The maximum number of entries for the prefix list.
You can't modify the entries and the size of a prefix list at the same time.
This property is required when you create a prefix list.
prefixListName?
Type:
string
(optional)
A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws .
tags?
Type:
Cfn[]
(optional)
The tags for the prefix list.

.NET
Go
Java
Python
TypeScript