Skip to content

Create Target Account Configuration

fis_create_target_account_configuration R Documentation

Creates a target account configuration for the experiment template

Description

Creates a target account configuration for the experiment template. A target account configuration is required when accountTargeting of experimentOptions is set to multi-account. For more information, see experiment options in the Fault Injection Service User Guide.

Usage

fis_create_target_account_configuration(clientToken,
  experimentTemplateId, accountId, roleArn, description)

Arguments

clientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

experimentTemplateId

[required] The experiment template ID.

accountId

[required] The Amazon Web Services account ID of the target account.

roleArn

[required] The Amazon Resource Name (ARN) of an IAM role for the target account.

description

The description of the target account.

Value

A list with the following syntax:

list(
  targetAccountConfiguration = list(
    roleArn = "string",
    accountId = "string",
    description = "string"
  )
)

Request syntax

svc$create_target_account_configuration(
  clientToken = "string",
  experimentTemplateId = "string",
  accountId = "string",
  roleArn = "string",
  description = "string"
)