AWS::EC2::PrefixListResource schema of AWS::EC2::PrefixList Type
5 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AddressFamily | string | Required |
PrefixListName | string | Required |
Entries | Array<Entry> | |
MaxEntries | integer | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the Prefix List. |
OwnerId | string | Owner Id of Prefix List. |
PrefixListId | string | Id of Prefix List. |
Version | integer | Version of Prefix List. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::PrefixList
Resources:
MyResource:
Type: AWS::EC2::PrefixList
Properties:
PrefixListName: "my-prefixlistname"
AddressFamily: "IPv4"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
EC2:CreateManagedPrefixListEC2:DescribeManagedPrefixListsEC2:CreateTagsEC2:GetManagedPrefixListEntriesEC2:DescribeManagedPrefixListsEC2:DescribeManagedPrefixListsEC2:GetManagedPrefixListEntriesEC2:ModifyManagedPrefixListEC2:CreateTagsEC2:DeleteTagsEC2:DeleteManagedPrefixListEC2:DescribeManagedPrefixListsEC2:DescribeManagedPrefixListsEC2:GetManagedPrefixListEntriesEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicPrefixListId