CfnUserProfileProps

class aws_cdk.aws_opsworks.CfnUserProfileProps(*, allow_self_management=None, iam_user_arn, ssh_public_key=None, ssh_username=None)

Bases: object

Properties for defining a AWS::OpsWorks::UserProfile.

Parameters
  • allow_self_management (Union[bool, IResolvable, None]) – AWS::OpsWorks::UserProfile.AllowSelfManagement.

  • iam_user_arn (str) – AWS::OpsWorks::UserProfile.IamUserArn.

  • ssh_public_key (Optional[str]) – AWS::OpsWorks::UserProfile.SshPublicKey.

  • ssh_username (Optional[str]) – AWS::OpsWorks::UserProfile.SshUsername.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_opsworks as opsworks

cfn_user_profile_props = opsworks.CfnUserProfileProps(
    iam_user_arn="iamUserArn",

    # the properties below are optional
    allow_self_management=False,
    ssh_public_key="sshPublicKey",
    ssh_username="sshUsername"
)

Attributes

allow_self_management

AWS::OpsWorks::UserProfile.AllowSelfManagement.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html#cfn-opsworks-userprofile-allowselfmanagement

Return type

Union[bool, IResolvable, None]

iam_user_arn

AWS::OpsWorks::UserProfile.IamUserArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html#cfn-opsworks-userprofile-iamuserarn

Return type

str

ssh_public_key

AWS::OpsWorks::UserProfile.SshPublicKey.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html#cfn-opsworks-userprofile-sshpublickey

Return type

Optional[str]

ssh_username

AWS::OpsWorks::UserProfile.SshUsername.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html#cfn-opsworks-userprofile-sshusername

Return type

Optional[str]