AWS Fundamentals Logo
AWS Fundamentals
AWS::VpcLattice::ResourcePolicy

VpcLattice ResourcePolicy

Retrieves 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.

Properties

2 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
Policy
object
Required
ResourceArn
string
RequiredCreate-only

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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: {}

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

vpc-lattice:GetResourcePolicyvpc-lattice:PutResourcePolicy

read

vpc-lattice:GetResourcePolicy

update

vpc-lattice:GetResourcePolicyvpc-lattice:PutResourcePolicy

delete

vpc-lattice:GetResourcePolicyvpc-lattice:DeleteResourcePolicy

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceVpcLattice
Properties2
Required2
TaggingNot supported
Primary IDResourceArn

Supported Operations

CreateReadUpdateDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ResourceArn

External Links