Class CfnUserProfile
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.OpsWorks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnUserProfile : CfnResource, IInspectable
Syntax (vb)
Public Class CfnUserProfile
Inherits CfnResource
Implements IInspectable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html
CloudformationResource: AWS::OpsWorks::UserProfile
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.OpsWorks;
var cfnUserProfile = new CfnUserProfile(this, "MyCfnUserProfile", new CfnUserProfileProps {
IamUserArn = "iamUserArn",
// the properties below are optional
AllowSelfManagement = false,
SshPublicKey = "sshPublicKey",
SshUsername = "sshUsername"
});
Synopsis
Constructors
CfnUserProfile(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnUserProfile(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnUserProfile(Construct, String, ICfnUserProfileProps) |
Properties
AllowSelfManagement | Whether users can specify their own SSH public key through the My Settings page. |
AttrId | |
AttrSshUsername | The user's SSH user name, as a string. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
IamUserArn | The user's IAM ARN. |
SshPublicKey | The user's SSH public key. |
SshUsername | The user's SSH user name. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnUserProfile(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnUserProfile(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnUserProfile(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnUserProfile(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnUserProfile(Construct, String, ICfnUserProfileProps)
public CfnUserProfile(Construct scope, string id, ICfnUserProfileProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnUserProfileProps
Resource properties.
Properties
AllowSelfManagement
Whether users can specify their own SSH public key through the My Settings page.
public virtual object AllowSelfManagement { get; set; }
Property Value
System.Object
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrSshUsername
The user's SSH user name, as a string.
public virtual string AttrSshUsername { get; }
Property Value
System.String
Remarks
CloudformationAttribute: SshUsername
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
IamUserArn
The user's IAM ARN.
public virtual string IamUserArn { get; set; }
Property Value
System.String
SshPublicKey
The user's SSH public key.
public virtual string SshPublicKey { get; set; }
Property Value
System.String
SshUsername
The user's SSH user name.
public virtual string SshUsername { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>