CfnUserProps

class aws_cdk.aws_iam.CfnUserProps(*, groups=None, login_profile=None, managed_policy_arns=None, path=None, permissions_boundary=None, policies=None, tags=None, user_name=None)

Bases: object

__init__(*, groups=None, login_profile=None, managed_policy_arns=None, path=None, permissions_boundary=None, policies=None, tags=None, user_name=None)

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

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

  • login_profile (Union[IResolvable, LoginProfileProperty, None]) – AWS::IAM::User.LoginProfile.

  • managed_policy_arns (Optional[List[str]]) – AWS::IAM::User.ManagedPolicyArns.

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

  • permissions_boundary (Optional[str]) – AWS::IAM::User.PermissionsBoundary.

  • policies (Union[IResolvable, List[Union[IResolvable, PolicyProperty]], None]) – AWS::IAM::User.Policies.

  • tags (Optional[List[CfnTag]]) – AWS::IAM::User.Tags.

  • user_name (Optional[str]) – AWS::IAM::User.UserName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html

Return type

None

Attributes

groups

AWS::IAM::User.Groups.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-groups

Return type

Optional[List[str]]

login_profile

AWS::IAM::User.LoginProfile.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-loginprofile

Return type

Union[IResolvable, LoginProfileProperty, None]

managed_policy_arns

AWS::IAM::User.ManagedPolicyArns.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-managepolicyarns

Return type

Optional[List[str]]

path

AWS::IAM::User.Path.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-path

Return type

Optional[str]

permissions_boundary

AWS::IAM::User.PermissionsBoundary.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-permissionsboundary

Return type

Optional[str]

policies

AWS::IAM::User.Policies.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-policies

Return type

Union[IResolvable, List[Union[IResolvable, PolicyProperty]], None]

tags

AWS::IAM::User.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-tags

Return type

Optional[List[CfnTag]]

user_name

AWS::IAM::User.UserName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-username

Return type

Optional[str]