interface PolicyReference
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IAM.PolicyReference |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiam#PolicyReference |
![]() | software.amazon.awscdk.services.iam.PolicyReference |
![]() | aws_cdk.aws_iam.PolicyReference |
![]() | aws-cdk-lib » aws_iam » 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_iam as iam } from 'aws-cdk-lib';
const policyReference: iam.PolicyReference = {
policyId: 'policyId',
};
Properties
Name | Type | Description |
---|---|---|
policy | string | The Id of the Policy resource. |
policyId
Type:
string
The Id of the Policy resource.