CfnTargetAccountConfigurationProps

class aws_cdk.aws_fis.CfnTargetAccountConfigurationProps(*, account_id, experiment_template_id, role_arn, description=None)

Bases: object

Properties for defining a CfnTargetAccountConfiguration.

Parameters:
  • account_id (str) – The AWS account ID of the target account.

  • experiment_template_id (str) – The ID of the experiment template.

  • role_arn (str) – The Amazon Resource Name (ARN) of an IAM role for the target account.

  • description (Optional[str]) – The description of the target account.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-targetaccountconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_fis as fis

cfn_target_account_configuration_props = fis.CfnTargetAccountConfigurationProps(
    account_id="accountId",
    experiment_template_id="experimentTemplateId",
    role_arn="roleArn",

    # the properties below are optional
    description="description"
)

Attributes

account_id

The AWS account ID of the target account.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-targetaccountconfiguration.html#cfn-fis-targetaccountconfiguration-accountid

description

The description of the target account.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-targetaccountconfiguration.html#cfn-fis-targetaccountconfiguration-description

experiment_template_id

The ID of the experiment template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-targetaccountconfiguration.html#cfn-fis-targetaccountconfiguration-experimenttemplateid

role_arn

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-targetaccountconfiguration.html#cfn-fis-targetaccountconfiguration-rolearn