interface PolicyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IAM.Mixins.CfnGroupPropsMixin.PolicyProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiam/mixins#CfnGroupPropsMixin_PolicyProperty |
Java | software.amazon.awscdk.mixins.preview.services.iam.mixins.CfnGroupPropsMixin.PolicyProperty |
Python | aws_cdk.mixins_preview.aws_iam.mixins.CfnGroupPropsMixin.PolicyProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iam » mixins » CfnGroupPropsMixin » 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 { mixins as iam_mixins } from '@aws-cdk/mixins-preview/aws-iam';
declare const policyDocument: any;
const policyProperty: iam_mixins.CfnGroupPropsMixin.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
(optional)
The policy document.
policyName?
Type:
string
(optional)
The friendly name (not ARN) identifying the policy.

.NET
Go
Java
Python
TypeScript