iam_create_account_alias: Creates an alias for your AWS account

Description Usage Arguments Request syntax Examples

View source: R/iam_operations.R

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

1

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

1
2
3
svc$create_account_alias(
  AccountAlias = "string"
)

Examples

1
2
3
4
5
# The following command associates the alias examplecorp to your AWS
# account.
svc$create_account_alias(
  AccountAlias = "examplecorp"
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.