interface PolicyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoT.PolicyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#PolicyReference |
Java | software.amazon.awscdk.services.iot.PolicyReference |
Python | aws_cdk.aws_iot.PolicyReference |
TypeScript | aws-cdk-lib » aws_iot » PolicyReference |
A reference to a Policy resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const policyReference: iot.PolicyReference = {
policyArn: 'policyArn',
policyId: 'policyId',
};
Properties
| Name | Type | Description |
|---|---|---|
| policy | string | The ARN of the Policy resource. |
| policy | string | The Id of the Policy resource. |
policyArn
Type:
string
The ARN of the Policy resource.
policyId
Type:
string
The Id of the Policy resource.

.NET
Go
Java
Python
TypeScript