Skip to content

Resource: awsIamAccountAlias

-> Note: There is only a single account alias per AWS account.

Manages the account alias for the AWS Account.

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.iamAccountAlias.IamAccountAlias(this, "alias", {
  accountAlias: "my-account-alias",
});

Argument Reference

The following arguments are supported:

  • accountAlias - (Required) The account alias

Attributes Reference

No additional attributes are exported.

Import

The current Account Alias can be imported using the accountAlias, e.g.,

$ terraform import aws_iam_account_alias.alias my-account-alias