CfnExperimentTemplateProps

class aws_cdk.aws_fis.CfnExperimentTemplateProps(*, description, role_arn, stop_conditions, targets, actions=None, experiment_options=None, log_configuration=None, tags=None)

Bases: object

Properties for defining a CfnExperimentTemplate.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.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

# cloud_watch_logs_configuration: Any
# s3_configuration: Any

cfn_experiment_template_props = fis.CfnExperimentTemplateProps(
    description="description",
    role_arn="roleArn",
    stop_conditions=[fis.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty(
        source="source",

        # the properties below are optional
        value="value"
    )],
    targets={
        "targets_key": fis.CfnExperimentTemplate.ExperimentTemplateTargetProperty(
            resource_type="resourceType",
            selection_mode="selectionMode",

            # the properties below are optional
            filters=[fis.CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty(
                path="path",
                values=["values"]
            )],
            parameters={
                "parameters_key": "parameters"
            },
            resource_arns=["resourceArns"],
            resource_tags={
                "resource_tags_key": "resourceTags"
            }
        )
    },

    # the properties below are optional
    actions={
        "actions_key": fis.CfnExperimentTemplate.ExperimentTemplateActionProperty(
            action_id="actionId",

            # the properties below are optional
            description="description",
            parameters={
                "parameters_key": "parameters"
            },
            start_after=["startAfter"],
            targets={
                "targets_key": "targets"
            }
        )
    },
    experiment_options=fis.CfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty(
        account_targeting="accountTargeting",
        empty_target_resolution_mode="emptyTargetResolutionMode"
    ),
    log_configuration=fis.CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty(
        log_schema_version=123,

        # the properties below are optional
        cloud_watch_logs_configuration=cloud_watch_logs_configuration,
        s3_configuration=s3_configuration
    ),
    tags={
        "tags_key": "tags"
    }
)

Attributes

actions

The actions for the experiment.

See:

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

description

The description for the experiment template.

See:

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

experiment_options

The experiment options for an experiment template.

See:

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

log_configuration

The configuration for experiment logging.

See:

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

role_arn

The Amazon Resource Name (ARN) of an IAM role.

See:

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

stop_conditions

The stop conditions for the experiment.

See:

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

tags

The tags for the experiment template.

See:

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

targets

The targets for the experiment.

See:

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