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)
[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" )
# NOT RUN {
# The following command associates the alias examplecorp to your AWS
# account.
# }
# NOT RUN {
svc$create_account_alias(
AccountAlias = "examplecorp"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab