Show / Hide Table of Contents

Class UserProfile

Provides an OpsWorks User Profile resource.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var myProfile = new Aws.OpsWorks.UserProfile("myProfile", new Aws.OpsWorks.UserProfileArgs
    {
        SshUsername = "my_user",
        UserArn = aws_iam_user.User.Arn,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
UserProfile
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.OpsWorks
Assembly: Pulumi.Aws.dll
Syntax
public class UserProfile : CustomResource

Constructors

View Source

UserProfile(String, UserProfileArgs, CustomResourceOptions)

Create a UserProfile resource with the given unique name, arguments, and options.

Declaration
public UserProfile(string name, UserProfileArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

UserProfileArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AllowSelfManagement

Whether users can specify their own SSH public key through the My Settings page

Declaration
public Output<bool?> AllowSelfManagement { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

SshPublicKey

The users public key

Declaration
public Output<string> SshPublicKey { get; }
Property Value
Type Description
Output<System.String>
View Source

SshUsername

The ssh username, with witch this user wants to log in

Declaration
public Output<string> SshUsername { get; }
Property Value
Type Description
Output<System.String>
View Source

UserArn

The user's IAM ARN

Declaration
public Output<string> UserArn { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, UserProfileState, CustomResourceOptions)

Get an existing UserProfile resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static UserProfile Get(string name, Input<string> id, UserProfileState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

UserProfileState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
UserProfile
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.