Creates an alias for your AWS account. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in the IAM User Guide.
iam_create_account_alias(AccountAlias)
An empty list.
[required] The account alias to create.
This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.
svc$create_account_alias(
AccountAlias = "string"
)
if (FALSE) {
# The following command associates the alias examplecorp to your AWS
# account.
svc$create_account_alias(
AccountAlias = "examplecorp"
)
}
Run the code above in your browser using DataLab