CfnManagedPolicyProps

class aws_cdk.aws_iam.CfnManagedPolicyProps(*, policy_document, description=None, groups=None, managed_policy_name=None, path=None, roles=None, users=None)

Bases: object

Properties for defining a AWS::IAM::ManagedPolicy.

Parameters
  • policy_document (Any) – AWS::IAM::ManagedPolicy.PolicyDocument.

  • description (Optional[str]) – AWS::IAM::ManagedPolicy.Description.

  • groups (Optional[List[str]]) – AWS::IAM::ManagedPolicy.Groups.

  • managed_policy_name (Optional[str]) – AWS::IAM::ManagedPolicy.ManagedPolicyName.

  • path (Optional[str]) – AWS::IAM::ManagedPolicy.Path.

  • roles (Optional[List[str]]) – AWS::IAM::ManagedPolicy.Roles.

  • users (Optional[List[str]]) – AWS::IAM::ManagedPolicy.Users.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html

Attributes

description

AWS::IAM::ManagedPolicy.Description.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-iam-managedpolicy-description

Return type

Optional[str]

groups

AWS::IAM::ManagedPolicy.Groups.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-iam-managedpolicy-groups

Return type

Optional[List[str]]

managed_policy_name

AWS::IAM::ManagedPolicy.ManagedPolicyName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-iam-managedpolicy-managedpolicyname

Return type

Optional[str]

path

AWS::IAM::ManagedPolicy.Path.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-ec2-dhcpoptions-path

Return type

Optional[str]

policy_document

AWS::IAM::ManagedPolicy.PolicyDocument.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-iam-managedpolicy-policydocument

Return type

Any

roles

AWS::IAM::ManagedPolicy.Roles.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-iam-managedpolicy-roles

Return type

Optional[List[str]]

users

AWS::IAM::ManagedPolicy.Users.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-iam-managedpolicy-users

Return type

Optional[List[str]]