CfnExperimentTemplateProps

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

Bases: object

Properties for defining a CfnExperimentTemplate.

Parameters:
Link:

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.
import aws_cdk.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"
    )],
    tags={
        "tags_key": "tags"
    },
    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"
            }
        )
    },
    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
    )
)

Attributes

actions

The actions for the experiment.

Link:

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

description

A description for the experiment template.

Link:

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

log_configuration

The configuration for experiment logging.

Link:

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 that grants the AWS FIS service permission to perform service actions on your behalf.

Link:

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

stop_conditions

The stop conditions.

Link:

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

tags

The tags to apply to the experiment template.

Link:

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

targets

The targets for the experiment.

Link:

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