UserProfileArgs

data class UserProfileArgs(val allowSelfManagement: Output<Boolean>? = null, val sshPublicKey: Output<String>? = null, val sshUsername: Output<String>? = null, val userArn: Output<String>? = null) : ConvertibleToJava<UserProfileArgs>

Provides an OpsWorks User Profile resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.opsworks.UserProfile;
import com.pulumi.aws.opsworks.UserProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var myProfile = new UserProfile("myProfile", UserProfileArgs.builder()
.userArn(aws_iam_user.user().arn())
.sshUsername("my_user")
.build());
}
}

Constructors

Link copied to clipboard
constructor(allowSelfManagement: Output<Boolean>? = null, sshPublicKey: Output<String>? = null, sshUsername: Output<String>? = null, userArn: Output<String>? = null)

Properties

Link copied to clipboard
val allowSelfManagement: Output<Boolean>? = null

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

Link copied to clipboard
val sshPublicKey: Output<String>? = null

The users public key

Link copied to clipboard
val sshUsername: Output<String>? = null

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

Link copied to clipboard
val userArn: Output<String>? = null

The user's IAM ARN

Functions

Link copied to clipboard
open override fun toJava(): UserProfileArgs