Skip to content

Resource: awsOpsworksUserProfile

Provides an OpsWorks User Profile resource.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.opsworksUserProfile.OpsworksUserProfile(this, "my_profile", {
  sshUsername: "my_user",
  userArn: "${aws_iam_user.user.arn}",
});

Argument Reference

The following arguments are supported:

  • userArn - (Required) The user's IAM ARN
  • allowSelfManagement - (Optional) Whether users can specify their own SSH public key through the My Settings page
  • sshUsername - (Required) The ssh username, with witch this user wants to log in
  • sshPublicKey - (Optional) The users public key

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - Same value as userArn