Class CfnUserProfile.Builder
java.lang.Object
software.amazon.awscdk.services.opsworks.CfnUserProfile.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfile>
- Enclosing class:
CfnUserProfile
@Stability(Stable)
public static final class CfnUserProfile.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfile>
A fluent builder for
CfnUserProfile
.-
Method Summary
Modifier and TypeMethodDescriptionallowSelfManagement
(Boolean allowSelfManagement) Whether users can specify their own SSH public key through the My Settings page.allowSelfManagement
(IResolvable allowSelfManagement) Whether users can specify their own SSH public key through the My Settings page.build()
static CfnUserProfile.Builder
iamUserArn
(String iamUserArn) The user's IAM ARN.sshPublicKey
(String sshPublicKey) The user's SSH public key.sshUsername
(String sshUsername) The user's SSH user name.
-
Method Details
-
create
@Stability(Stable) public static CfnUserProfile.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnUserProfile.Builder
.
-
iamUserArn
The user's IAM ARN.- Parameters:
iamUserArn
- The user's IAM ARN. This parameter is required.- Returns:
this
- See Also:
-
allowSelfManagement
Whether users can specify their own SSH public key through the My Settings page.For more information, see Managing User Permissions .
- Parameters:
allowSelfManagement
- Whether users can specify their own SSH public key through the My Settings page. This parameter is required.- Returns:
this
- See Also:
-
allowSelfManagement
@Stability(Stable) public CfnUserProfile.Builder allowSelfManagement(IResolvable allowSelfManagement) Whether users can specify their own SSH public key through the My Settings page.For more information, see Managing User Permissions .
- Parameters:
allowSelfManagement
- Whether users can specify their own SSH public key through the My Settings page. This parameter is required.- Returns:
this
- See Also:
-
sshPublicKey
The user's SSH public key.- Parameters:
sshPublicKey
- The user's SSH public key. This parameter is required.- Returns:
this
- See Also:
-
sshUsername
The user's SSH user name.- Parameters:
sshUsername
- The user's SSH user name. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserProfile>
- Returns:
- a newly built instance of
CfnUserProfile
.
-