interface PolicyReference
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.PolicyReference |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#PolicyReference |
![]() | software.amazon.awscdk.services.iot.PolicyReference |
![]() | aws_cdk.aws_iot.PolicyReference |
![]() | 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.