AWS::VpcLattice::ResourcePolicyRetrieves information about the resource policy. The resource policy is an IAM policy created by AWS RAM on behalf of the resource owner when they share a resource.
2 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Policy | object | Required |
ResourceArn | string | RequiredCreate-only |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::VpcLattice::ResourcePolicy
Resources:
MyResource:
Type: AWS::VpcLattice::ResourcePolicy
Properties:
ResourceArn: "arn:aws:service:region:account:resource"
Policy: {}Permissions CloudFormation needs in your IAM role to manage this resource.
vpc-lattice:GetResourcePolicyvpc-lattice:PutResourcePolicyvpc-lattice:GetResourcePolicyvpc-lattice:GetResourcePolicyvpc-lattice:PutResourcePolicyvpc-lattice:GetResourcePolicyvpc-lattice:DeleteResourcePolicyOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterResourceArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ResourceArn