interface ManagedPolicyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.IAM.ManagedPolicyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsiam#ManagedPolicyReference |
Java | software.amazon.awscdk.interfaces.iam.ManagedPolicyReference |
Python | aws_cdk.interfaces.aws_iam.ManagedPolicyReference |
TypeScript | aws-cdk-lib » interfaces » aws_iam » ManagedPolicyReference |
A reference to a ManagedPolicy 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 interfaces_iam } from 'aws-cdk-lib/interfaces';
const managedPolicyReference: interfaces_iam.ManagedPolicyReference = {
policyArn: 'policyArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| policy | string | The PolicyArn of the ManagedPolicy resource. |
policyArn
Type:
string
The PolicyArn of the ManagedPolicy resource.

.NET
Go
Java
Python
TypeScript