interface CfnPrefixListProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnPrefixListProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnPrefixListProps |
![]() | software.amazon.awscdk.services.ec2.CfnPrefixListProps |
![]() | aws_cdk.aws_ec2.CfnPrefixListProps |
![]() | aws-cdk-lib » aws_ec2 » CfnPrefixListProps |
Properties for defining a CfnPrefixList
.
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-lib';
const cfnPrefixListProps: ec2.CfnPrefixListProps = {
addressFamily: 'addressFamily',
prefixListName: 'prefixListName',
// the properties below are optional
entries: [{
cidr: 'cidr',
// the properties below are optional
description: 'description',
}],
maxEntries: 123,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
address | string | The IP address type. |
prefix | string | A name for the prefix list. |
entries? | IResolvable | IResolvable | Entry [] | The entries for the prefix list. |
max | number | The maximum number of entries for the prefix list. |
tags? | Cfn [] | The tags for the prefix list. |
addressFamily
Type:
string
The IP address type.
Valid Values: IPv4
| IPv6
prefixListName
Type:
string
A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.
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.
tags?
Type:
Cfn
[]
(optional)
The tags for the prefix list.