aws-cdk-lib.aws_opsworks.CfnUserProfileProps

interface CfnUserProfileProps

LanguageType name
.NETAmazon.CDK.AWS.OpsWorks.CfnUserProfileProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsopsworks#CfnUserProfileProps
Javasoftware.amazon.awscdk.services.opsworks.CfnUserProfileProps
Pythonaws_cdk.aws_opsworks.CfnUserProfileProps
TypeScript aws-cdk-lib » aws_opsworks » CfnUserProfileProps

Properties for defining a CfnUserProfile.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opsworks as opsworks } from 'aws-cdk-lib';
const cfnUserProfileProps: opsworks.CfnUserProfileProps = {
  iamUserArn: 'iamUserArn',

  // the properties below are optional
  allowSelfManagement: false,
  sshPublicKey: 'sshPublicKey',
  sshUsername: 'sshUsername',
};

Properties

NameTypeDescription
iamUserArnstringThe user's IAM ARN.
allowSelfManagement?boolean | IResolvableWhether users can specify their own SSH public key through the My Settings page.
sshPublicKey?stringThe user's SSH public key.
sshUsername?stringThe user's SSH user name.

iamUserArn

Type: string

The user's IAM ARN.


allowSelfManagement?

Type: boolean | IResolvable (optional)

Whether users can specify their own SSH public key through the My Settings page.

For more information, see Managing User Permissions .


sshPublicKey?

Type: string (optional)

The user's SSH public key.


sshUsername?

Type: string (optional)

The user's SSH user name.