Interface CfnUserProfileProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserProfileProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:42.953Z")
@Stability(Stable)
public interface CfnUserProfileProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.opsworks.*;
CfnUserProfileProps cfnUserProfileProps = CfnUserProfileProps.builder()
.iamUserArn("iamUserArn")
// the properties below are optional
.allowSelfManagement(false)
.sshPublicKey("sshPublicKey")
.sshUsername("sshUsername")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserProfilePropsstatic final classAn implementation forCfnUserProfileProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnUserProfileProps.Builderbuilder()default ObjectWhether users can specify their own SSH public key through the My Settings page.The user's IAM ARN.default StringThe user's SSH public key.default StringThe user's SSH user name.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIamUserArn
The user's IAM ARN.- See Also:
-
getAllowSelfManagement
Whether users can specify their own SSH public key through the My Settings page.For more information, see Managing User Permissions .
Returns union: either
BooleanorIResolvable- See Also:
-
getSshPublicKey
The user's SSH public key.- See Also:
-
getSshUsername
The user's SSH user name.- See Also:
-
builder
- Returns:
- a
CfnUserProfileProps.BuilderofCfnUserProfileProps
-