Skip to content
v2.274.0

PolicyReference Struct ​

A reference to a Policy resource.

Example ​

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

Properties ​

policyArnstringpolicy_arnstrpolicyArnStringPolicyArnstringPolicyArn*stringrequired#
The ARN of the Policy resource.
policyNamestringpolicy_namestrpolicyNameStringPolicyNamestringPolicyName*stringrequired#
The PolicyName of the Policy resource.