interface CfnUserProfileProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.OpsWorks.CfnUserProfileProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsopsworks#CfnUserProfileProps |
Java | software.amazon.awscdk.services.opsworks.CfnUserProfileProps |
Python | aws_cdk.aws_opsworks.CfnUserProfileProps |
TypeScript | aws-cdk-lib » aws_opsworks » CfnUserProfileProps |
Properties for defining a CfnUserProfile
.
See also: 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_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
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.