interface PolicyProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IAM.CfnGroup.PolicyProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiam#CfnGroup_PolicyProperty |
![]() | software.amazon.awscdk.services.iam.CfnGroup.PolicyProperty |
![]() | aws_cdk.aws_iam.CfnGroup.PolicyProperty |
![]() | aws-cdk-lib » aws_iam » CfnGroup » PolicyProperty |
Contains information about an attached policy.
An attached policy is a managed policy that has been attached to a user, group, or role.
For more information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html
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';
declare const policyDocument: any;
const policyProperty: iam.CfnGroup.PolicyProperty = {
policyDocument: policyDocument,
policyName: 'policyName',
};
Properties
Name | Type | Description |
---|---|---|
policy | any | The policy document. |
policy | string | The friendly name (not ARN) identifying the policy. |
policyDocument
Type:
any
The policy document.
policyName
Type:
string
The friendly name (not ARN) identifying the policy.