AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::VpcLattice::ResourcePolicy

CfnResourcePolicy

Retrieves information about the specified resource policy. The resource policy is an IAM policy created on behalf of the resource owner when they share a resource.

Import

import { CfnResourcePolicy } from 'aws-cdk-lib/aws-vpclattice';

Or use the module namespace:

import * as vpclattice from 'aws-cdk-lib/aws-vpclattice';
// vpclattice.CfnResourcePolicy

Properties

Configuration passed to the constructor as CfnResourcePolicyProps.

policyRequired
any

The Amazon Resource Name (ARN) of the service network or service.

resourceArnRequired
string

An IAM policy.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

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

Subscribe to Newsletter