Class CfnUserProfilePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.opsworks.mixins.CfnUserProfilePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfilePropsMixin>
- Enclosing class:
CfnUserProfilePropsMixin
@Stability(Stable)
public static final class CfnUserProfilePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfilePropsMixin>
A fluent builder for
CfnUserProfilePropsMixin.-
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()create()create(CfnPropertyMixinOptions options) 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 CfnUserProfilePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnUserProfilePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnUserProfilePropsMixin.Builder.
-
allowSelfManagement
@Stability(Stable) public CfnUserProfilePropsMixin.Builder allowSelfManagement(Boolean 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 CfnUserProfilePropsMixin.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:
-
iamUserArn
The user's IAM ARN.- Parameters:
iamUserArn- The user's IAM ARN. 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProfilePropsMixin>- Returns:
- a newly built instance of
CfnUserProfilePropsMixin.
-