CfnUserProfileProps
- class aws_cdk.aws_opsworks.CfnUserProfileProps(*, iam_user_arn, allow_self_management=None, ssh_public_key=None, ssh_username=None)
Bases:
object
Properties for defining a
CfnUserProfile
.- Parameters:
iam_user_arn (
str
) – The user’s IAM ARN.allow_self_management (
Union
[bool
,IResolvable
,None
]) – Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions .ssh_public_key (
Optional
[str
]) – The user’s SSH public key.ssh_username (
Optional
[str
]) – The user’s SSH user name.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import 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
Whether users can specify their own SSH public key through the My Settings page.
For more information, see Managing User Permissions .
- iam_user_arn
The user’s IAM ARN.
- ssh_public_key
The user’s SSH public key.
- ssh_username
The user’s SSH user name.