@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.159Z") @Stability(value=Stable) public class CfnUserProfile extends CfnResource implements IInspectable
Describes a user's SSH information.
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.*;
CfnUserProfile cfnUserProfile = CfnUserProfile.Builder.create(this, "MyCfnUserProfile")
.iamUserArn("iamUserArn")
// the properties below are optional
.allowSelfManagement(false)
.sshPublicKey("sshPublicKey")
.sshUsername("sshUsername")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnUserProfile.Builder
A fluent builder for
CfnUserProfile. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnUserProfile(software.constructs.Construct scope,
String id,
CfnUserProfileProps props)
Create a new `AWS::OpsWorks::UserProfile`.
|
protected |
CfnUserProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnUserProfile(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAllowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page.
|
String |
getAttrSshUsername()
The user's SSH user name, as a string.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getIamUserArn()
The user's IAM ARN.
|
String |
getSshPublicKey()
The user's SSH public key.
|
String |
getSshUsername()
The user's SSH user name.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAllowSelfManagement(Boolean value)
Whether users can specify their own SSH public key through the My Settings page.
|
void |
setAllowSelfManagement(IResolvable value)
Whether users can specify their own SSH public key through the My Settings page.
|
void |
setIamUserArn(String value)
The user's IAM ARN.
|
void |
setSshPublicKey(String value)
The user's SSH public key.
|
void |
setSshUsername(String value)
The user's SSH user name.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnUserProfile(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnUserProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnUserProfile(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnUserProfileProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrSshUsername()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getIamUserArn()
@Stability(value=Stable)
public void setIamUserArn(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getAllowSelfManagement()
For more information, see Managing User Permissions .
@Stability(value=Stable)
public void setAllowSelfManagement(@Nullable
Boolean value)
For more information, see Managing User Permissions .
@Stability(value=Stable)
public void setAllowSelfManagement(@Nullable
IResolvable value)
For more information, see Managing User Permissions .
@Stability(value=Stable) @Nullable public String getSshPublicKey()
@Stability(value=Stable)
public void setSshPublicKey(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getSshUsername()
@Stability(value=Stable)
public void setSshUsername(@Nullable
String value)
Copyright © 2022. All rights reserved.