Skip to content
v2.275.0

ResourcePolicyReference Struct ​

A reference to a ResourcePolicy resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as interfaces_logs } from 'aws-cdk-lib/interfaces';
const resourcePolicyReference: interfaces_logs.ResourcePolicyReference = {
  policyName: 'policyName',
};

Properties ​

policyNamestringpolicy_namestrpolicyNameStringPolicyNamestringPolicyName*stringrequired#
The PolicyName of the ResourcePolicy resource.