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¶
-
clientTokenUnique, 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.
-
descriptionThe description of the target account.
Value¶
A list with the following syntax:
list(
targetAccountConfiguration = list(
roleArn = "string",
accountId = "string",
description = "string"
)
)