interface CfnUserProfileProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.OpsWorks.CfnUserProfileProps |
Java | software.amazon.awscdk.services.opsworks.CfnUserProfileProps |
Python | aws_cdk.aws_opsworks.CfnUserProfileProps |
TypeScript | @aws-cdk/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 * as opsworks from '@aws-cdk/aws-opsworks';
const cfnUserProfileProps: opsworks.CfnUserProfileProps = {
iamUserArn: 'iamUserArn',
// the properties below are optional
allowSelfManagement: false,
sshPublicKey: 'sshPublicKey',
sshUsername: 'sshUsername',
};
Properties
Name | Type | Description |
---|---|---|
iam | string | The user's IAM ARN. |
allow | boolean | IResolvable | Whether users can specify their own SSH public key through the My Settings page. |
ssh | string | The user's SSH public key. |
ssh | string | The 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.