Learn R Programming

paws.security.identity (version 0.1.0)

iam_create_account_alias: Creates an alias for your AWS account

Description

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.

Usage

iam_create_account_alias(AccountAlias)

Arguments

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.

Request syntax

svc$create_account_alias(
  AccountAlias = "string"
)

Examples

Run this code
# 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