AWS::VpcLattice::RuleCreates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions.
7 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Action | Action | Required |
Match | Match | Required |
Priority | integer | Required |
ListenerIdentifier | string | Create-onlyWrite-only |
Name | string | Create-only |
ServiceIdentifier | string | Create-onlyWrite-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
Id | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::VpcLattice::Rule
Resources:
MyResource:
Type: AWS::VpcLattice::Rule
Properties:
Action: "value"
Match: "value"
Priority: 1
Tags:
- Key: Environment
Value: Production
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
vpc-lattice:CreateRulevpc-lattice:GetRulevpc-lattice:ListTagsForResourcevpc-lattice:TagResourcevpc-lattice:GetRulevpc-lattice:ListTagsForResourcevpc-lattice:UpdateRulevpc-lattice:GetRulevpc-lattice:TagResourcevpc-lattice:UntagResourcevpc-lattice:ListTagsForResourcevpc-lattice:DeleteRulevpc-lattice:UntagResourcevpc-lattice:ListRulesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ListenerIdentifierServiceIdentifierName