interface CfnPrefixListMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnPrefixListMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnPrefixListMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnPrefixListMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnPrefixListMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » 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 { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
const cfnPrefixListMixinProps: ec2.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