1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. fis
  5. ExperimentTemplate

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.fis.ExperimentTemplate

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Resource schema for AWS::FIS::ExperimentTemplate

Example Usage

Example

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var fisRole = new AwsNative.Iam.Role("fisRole", new()
    {
        AssumeRolePolicyDocument = new Dictionary<string, object?>
        {
            ["version"] = "2012-10-17",
            ["statement"] = new[]
            {
                new Dictionary<string, object?>
                {
                    ["effect"] = "Allow",
                    ["principal"] = new Dictionary<string, object?>
                    {
                        ["service"] = "fis.amazonaws.com",
                    },
                    ["action"] = "sts:AssumeRole",
                },
            },
        },
        Policies = new[]
        {
            new AwsNative.Iam.Inputs.RolePolicyArgs
            {
                PolicyName = "FISRoleEC2Actions",
                PolicyDocument = new Dictionary<string, object?>
                {
                    ["version"] = "2012-10-17",
                    ["statement"] = new[]
                    {
                        new Dictionary<string, object?>
                        {
                            ["effect"] = "Allow",
                            ["action"] = new[]
                            {
                                "ec2:RebootInstances",
                                "ec2:StopInstances",
                                "ec2:StartInstances",
                                "ec2:TerminateInstances",
                            },
                            ["resource"] = "arn:aws:ec2:*:*:instance/*",
                        },
                    },
                },
            },
        },
    });

    var experimentTemplate = new AwsNative.Fis.ExperimentTemplate("experimentTemplate", new()
    {
        Description = "stop an instance based on a tag",
        Actions = 
        {
            { "stopInstances", new AwsNative.Fis.Inputs.ExperimentTemplateActionArgs
            {
                ActionId = "aws:ec2:stop-instances",
                Parameters = 
                {
                    { "startInstancesAfterDuration", "PT2M" },
                },
                Targets = 
                {
                    { "instances", "oneRandomInstance" },
                },
            } },
        },
        Targets = 
        {
            { "oneRandomInstance", new AwsNative.Fis.Inputs.ExperimentTemplateTargetArgs
            {
                ResourceTags = 
                {
                    { "env", "prod" },
                },
                ResourceType = "aws:ec2:instance",
                SelectionMode = "COUNT(1)",
            } },
        },
        StopConditions = new[]
        {
            new AwsNative.Fis.Inputs.ExperimentTemplateStopConditionArgs
            {
                Source = "none",
            },
        },
        Tags = 
        {
            { "name", "fisStopInstances" },
        },
        RoleArn = fisRole.Arn,
    });

});
Copy
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/fis"
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iam"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fisRole, err := iam.NewRole(ctx, "fisRole", &iam.RoleArgs{
			AssumeRolePolicyDocument: pulumi.Any(map[string]interface{}{
				"version": "2012-10-17",
				"statement": []map[string]interface{}{
					map[string]interface{}{
						"effect": "Allow",
						"principal": map[string]interface{}{
							"service": "fis.amazonaws.com",
						},
						"action": "sts:AssumeRole",
					},
				},
			}),
			Policies: iam.RolePolicyTypeArray{
				&iam.RolePolicyTypeArgs{
					PolicyName: pulumi.String("FISRoleEC2Actions"),
					PolicyDocument: pulumi.Any(map[string]interface{}{
						"version": "2012-10-17",
						"statement": []map[string]interface{}{
							map[string]interface{}{
								"effect": "Allow",
								"action": []string{
									"ec2:RebootInstances",
									"ec2:StopInstances",
									"ec2:StartInstances",
									"ec2:TerminateInstances",
								},
								"resource": "arn:aws:ec2:*:*:instance/*",
							},
						},
					}),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = fis.NewExperimentTemplate(ctx, "experimentTemplate", &fis.ExperimentTemplateArgs{
			Description: pulumi.String("stop an instance based on a tag"),
			Actions: fis.ExperimentTemplateActionMap{
				"stopInstances": &fis.ExperimentTemplateActionArgs{
					ActionId: pulumi.String("aws:ec2:stop-instances"),
					Parameters: pulumi.StringMap{
						"startInstancesAfterDuration": pulumi.String("PT2M"),
					},
					Targets: pulumi.StringMap{
						"instances": pulumi.String("oneRandomInstance"),
					},
				},
			},
			Targets: fis.ExperimentTemplateTargetMap{
				"oneRandomInstance": &fis.ExperimentTemplateTargetArgs{
					ResourceTags: pulumi.StringMap{
						"env": pulumi.String("prod"),
					},
					ResourceType:  pulumi.String("aws:ec2:instance"),
					SelectionMode: pulumi.String("COUNT(1)"),
				},
			},
			StopConditions: fis.ExperimentTemplateStopConditionArray{
				&fis.ExperimentTemplateStopConditionArgs{
					Source: pulumi.String("none"),
				},
			},
			Tags: pulumi.StringMap{
				"name": pulumi.String("fisStopInstances"),
			},
			RoleArn: fisRole.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const fisRole = new aws_native.iam.Role("fisRole", {
    assumeRolePolicyDocument: {
        version: "2012-10-17",
        statement: [{
            effect: "Allow",
            principal: {
                service: "fis.amazonaws.com",
            },
            action: "sts:AssumeRole",
        }],
    },
    policies: [{
        policyName: "FISRoleEC2Actions",
        policyDocument: {
            version: "2012-10-17",
            statement: [{
                effect: "Allow",
                action: [
                    "ec2:RebootInstances",
                    "ec2:StopInstances",
                    "ec2:StartInstances",
                    "ec2:TerminateInstances",
                ],
                resource: "arn:aws:ec2:*:*:instance/*",
            }],
        },
    }],
});
const experimentTemplate = new aws_native.fis.ExperimentTemplate("experimentTemplate", {
    description: "stop an instance based on a tag",
    actions: {
        stopInstances: {
            actionId: "aws:ec2:stop-instances",
            parameters: {
                startInstancesAfterDuration: "PT2M",
            },
            targets: {
                instances: "oneRandomInstance",
            },
        },
    },
    targets: {
        oneRandomInstance: {
            resourceTags: {
                env: "prod",
            },
            resourceType: "aws:ec2:instance",
            selectionMode: "COUNT(1)",
        },
    },
    stopConditions: [{
        source: "none",
    }],
    tags: {
        name: "fisStopInstances",
    },
    roleArn: fisRole.arn,
});
Copy
import pulumi
import pulumi_aws_native as aws_native

fis_role = aws_native.iam.Role("fisRole",
    assume_role_policy_document={
        "version": "2012-10-17",
        "statement": [{
            "effect": "Allow",
            "principal": {
                "service": "fis.amazonaws.com",
            },
            "action": "sts:AssumeRole",
        }],
    },
    policies=[{
        "policy_name": "FISRoleEC2Actions",
        "policy_document": {
            "version": "2012-10-17",
            "statement": [{
                "effect": "Allow",
                "action": [
                    "ec2:RebootInstances",
                    "ec2:StopInstances",
                    "ec2:StartInstances",
                    "ec2:TerminateInstances",
                ],
                "resource": "arn:aws:ec2:*:*:instance/*",
            }],
        },
    }])
experiment_template = aws_native.fis.ExperimentTemplate("experimentTemplate",
    description="stop an instance based on a tag",
    actions={
        "stopInstances": {
            "action_id": "aws:ec2:stop-instances",
            "parameters": {
                "startInstancesAfterDuration": "PT2M",
            },
            "targets": {
                "instances": "oneRandomInstance",
            },
        },
    },
    targets={
        "oneRandomInstance": {
            "resource_tags": {
                "env": "prod",
            },
            "resource_type": "aws:ec2:instance",
            "selection_mode": "COUNT(1)",
        },
    },
    stop_conditions=[{
        "source": "none",
    }],
    tags={
        "name": "fisStopInstances",
    },
    role_arn=fis_role.arn)
Copy

Coming soon!

Create ExperimentTemplate Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ExperimentTemplate(name: string, args: ExperimentTemplateArgs, opts?: CustomResourceOptions);
@overload
def ExperimentTemplate(resource_name: str,
                       args: ExperimentTemplateArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def ExperimentTemplate(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       description: Optional[str] = None,
                       role_arn: Optional[str] = None,
                       stop_conditions: Optional[Sequence[ExperimentTemplateStopConditionArgs]] = None,
                       tags: Optional[Mapping[str, str]] = None,
                       targets: Optional[Mapping[str, ExperimentTemplateTargetArgs]] = None,
                       actions: Optional[Mapping[str, ExperimentTemplateActionArgs]] = None,
                       experiment_options: Optional[ExperimentTemplateExperimentOptionsArgs] = None,
                       experiment_report_configuration: Optional[ExperimentTemplateExperimentReportConfigurationArgs] = None,
                       log_configuration: Optional[ExperimentTemplateLogConfigurationArgs] = None)
func NewExperimentTemplate(ctx *Context, name string, args ExperimentTemplateArgs, opts ...ResourceOption) (*ExperimentTemplate, error)
public ExperimentTemplate(string name, ExperimentTemplateArgs args, CustomResourceOptions? opts = null)
public ExperimentTemplate(String name, ExperimentTemplateArgs args)
public ExperimentTemplate(String name, ExperimentTemplateArgs args, CustomResourceOptions options)
type: aws-native:fis:ExperimentTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ExperimentTemplateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ExperimentTemplateArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ExperimentTemplateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ExperimentTemplateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ExperimentTemplateArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ExperimentTemplate Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ExperimentTemplate resource accepts the following input properties:

Description This property is required. string
The description for the experiment template.
RoleArn This property is required. string
The Amazon Resource Name (ARN) of an IAM role.
StopConditions This property is required. List<Pulumi.AwsNative.Fis.Inputs.ExperimentTemplateStopCondition>
The stop conditions for the experiment.
Tags This property is required. Dictionary<string, string>
The tags for the experiment template.
Targets This property is required. Dictionary<string, Pulumi.AwsNative.Fis.Inputs.ExperimentTemplateTargetArgs>
The targets for the experiment.
Actions Dictionary<string, Pulumi.AwsNative.Fis.Inputs.ExperimentTemplateActionArgs>
The actions for the experiment.
ExperimentOptions Pulumi.AwsNative.Fis.Inputs.ExperimentTemplateExperimentOptions
The experiment options for an experiment template.
ExperimentReportConfiguration Pulumi.AwsNative.Fis.Inputs.ExperimentTemplateExperimentReportConfiguration
Describes the report configuration for the experiment template.
LogConfiguration Pulumi.AwsNative.Fis.Inputs.ExperimentTemplateLogConfiguration
The configuration for experiment logging.
Description This property is required. string
The description for the experiment template.
RoleArn This property is required. string
The Amazon Resource Name (ARN) of an IAM role.
StopConditions This property is required. []ExperimentTemplateStopConditionArgs
The stop conditions for the experiment.
Tags This property is required. map[string]string
The tags for the experiment template.
Targets This property is required. map[string]ExperimentTemplateTargetArgs
The targets for the experiment.
Actions map[string]ExperimentTemplateActionArgs
The actions for the experiment.
ExperimentOptions ExperimentTemplateExperimentOptionsArgs
The experiment options for an experiment template.
ExperimentReportConfiguration ExperimentTemplateExperimentReportConfigurationArgs
Describes the report configuration for the experiment template.
LogConfiguration ExperimentTemplateLogConfigurationArgs
The configuration for experiment logging.
description This property is required. String
The description for the experiment template.
roleArn This property is required. String
The Amazon Resource Name (ARN) of an IAM role.
stopConditions This property is required. List<ExperimentTemplateStopCondition>
The stop conditions for the experiment.
tags This property is required. Map<String,String>
The tags for the experiment template.
targets This property is required. Map<String,ExperimentTemplateTargetArgs>
The targets for the experiment.
actions Map<String,ExperimentTemplateActionArgs>
The actions for the experiment.
experimentOptions ExperimentTemplateExperimentOptions
The experiment options for an experiment template.
experimentReportConfiguration ExperimentTemplateExperimentReportConfiguration
Describes the report configuration for the experiment template.
logConfiguration ExperimentTemplateLogConfiguration
The configuration for experiment logging.
description This property is required. string
The description for the experiment template.
roleArn This property is required. string
The Amazon Resource Name (ARN) of an IAM role.
stopConditions This property is required. ExperimentTemplateStopCondition[]
The stop conditions for the experiment.
tags This property is required. {[key: string]: string}
The tags for the experiment template.
targets This property is required. {[key: string]: ExperimentTemplateTargetArgs}
The targets for the experiment.
actions {[key: string]: ExperimentTemplateActionArgs}
The actions for the experiment.
experimentOptions ExperimentTemplateExperimentOptions
The experiment options for an experiment template.
experimentReportConfiguration ExperimentTemplateExperimentReportConfiguration
Describes the report configuration for the experiment template.
logConfiguration ExperimentTemplateLogConfiguration
The configuration for experiment logging.
description This property is required. str
The description for the experiment template.
role_arn This property is required. str
The Amazon Resource Name (ARN) of an IAM role.
stop_conditions This property is required. Sequence[ExperimentTemplateStopConditionArgs]
The stop conditions for the experiment.
tags This property is required. Mapping[str, str]
The tags for the experiment template.
targets This property is required. Mapping[str, ExperimentTemplateTargetArgs]
The targets for the experiment.
actions Mapping[str, ExperimentTemplateActionArgs]
The actions for the experiment.
experiment_options ExperimentTemplateExperimentOptionsArgs
The experiment options for an experiment template.
experiment_report_configuration ExperimentTemplateExperimentReportConfigurationArgs
Describes the report configuration for the experiment template.
log_configuration ExperimentTemplateLogConfigurationArgs
The configuration for experiment logging.
description This property is required. String
The description for the experiment template.
roleArn This property is required. String
The Amazon Resource Name (ARN) of an IAM role.
stopConditions This property is required. List<Property Map>
The stop conditions for the experiment.
tags This property is required. Map<String>
The tags for the experiment template.
targets This property is required. Map<Property Map>
The targets for the experiment.
actions Map<Property Map>
The actions for the experiment.
experimentOptions Property Map
The experiment options for an experiment template.
experimentReportConfiguration Property Map
Describes the report configuration for the experiment template.
logConfiguration Property Map
The configuration for experiment logging.

Outputs

All input properties are implicitly available as output properties. Additionally, the ExperimentTemplate resource produces the following output properties:

AwsId string
The ID of the experiment template.
Id string
The provider-assigned unique ID for this managed resource.
AwsId string
The ID of the experiment template.
Id string
The provider-assigned unique ID for this managed resource.
awsId String
The ID of the experiment template.
id String
The provider-assigned unique ID for this managed resource.
awsId string
The ID of the experiment template.
id string
The provider-assigned unique ID for this managed resource.
aws_id str
The ID of the experiment template.
id str
The provider-assigned unique ID for this managed resource.
awsId String
The ID of the experiment template.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

ExperimentTemplateAction
, ExperimentTemplateActionArgs

ActionId This property is required. string
The ID of the action.
Description string
A description for the action.
Parameters Dictionary<string, string>
The parameters for the action, if applicable.
StartAfter List<string>
The name of the action that must be completed before the current action starts.
Targets Dictionary<string, string>
One or more targets for the action.
ActionId This property is required. string
The ID of the action.
Description string
A description for the action.
Parameters map[string]string
The parameters for the action, if applicable.
StartAfter []string
The name of the action that must be completed before the current action starts.
Targets map[string]string
One or more targets for the action.
actionId This property is required. String
The ID of the action.
description String
A description for the action.
parameters Map<String,String>
The parameters for the action, if applicable.
startAfter List<String>
The name of the action that must be completed before the current action starts.
targets Map<String,String>
One or more targets for the action.
actionId This property is required. string
The ID of the action.
description string
A description for the action.
parameters {[key: string]: string}
The parameters for the action, if applicable.
startAfter string[]
The name of the action that must be completed before the current action starts.
targets {[key: string]: string}
One or more targets for the action.
action_id This property is required. str
The ID of the action.
description str
A description for the action.
parameters Mapping[str, str]
The parameters for the action, if applicable.
start_after Sequence[str]
The name of the action that must be completed before the current action starts.
targets Mapping[str, str]
One or more targets for the action.
actionId This property is required. String
The ID of the action.
description String
A description for the action.
parameters Map<String>
The parameters for the action, if applicable.
startAfter List<String>
The name of the action that must be completed before the current action starts.
targets Map<String>
One or more targets for the action.

ExperimentTemplateCloudWatchDashboard
, ExperimentTemplateCloudWatchDashboardArgs

DashboardIdentifier This property is required. string
The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.
DashboardIdentifier This property is required. string
The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.
dashboardIdentifier This property is required. String
The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.
dashboardIdentifier This property is required. string
The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.
dashboard_identifier This property is required. str
The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.
dashboardIdentifier This property is required. String
The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.

ExperimentTemplateExperimentOptions
, ExperimentTemplateExperimentOptionsArgs

AccountTargeting Changes to this property will trigger replacement. Pulumi.AwsNative.Fis.ExperimentTemplateExperimentOptionsAccountTargeting
The account targeting setting for the experiment template.
EmptyTargetResolutionMode Pulumi.AwsNative.Fis.ExperimentTemplateExperimentOptionsEmptyTargetResolutionMode
The target resolution failure mode for the experiment template.
AccountTargeting Changes to this property will trigger replacement. ExperimentTemplateExperimentOptionsAccountTargeting
The account targeting setting for the experiment template.
EmptyTargetResolutionMode ExperimentTemplateExperimentOptionsEmptyTargetResolutionMode
The target resolution failure mode for the experiment template.
accountTargeting Changes to this property will trigger replacement. ExperimentTemplateExperimentOptionsAccountTargeting
The account targeting setting for the experiment template.
emptyTargetResolutionMode ExperimentTemplateExperimentOptionsEmptyTargetResolutionMode
The target resolution failure mode for the experiment template.
accountTargeting Changes to this property will trigger replacement. ExperimentTemplateExperimentOptionsAccountTargeting
The account targeting setting for the experiment template.
emptyTargetResolutionMode ExperimentTemplateExperimentOptionsEmptyTargetResolutionMode
The target resolution failure mode for the experiment template.
account_targeting Changes to this property will trigger replacement. ExperimentTemplateExperimentOptionsAccountTargeting
The account targeting setting for the experiment template.
empty_target_resolution_mode ExperimentTemplateExperimentOptionsEmptyTargetResolutionMode
The target resolution failure mode for the experiment template.
accountTargeting Changes to this property will trigger replacement. "multi-account" | "single-account"
The account targeting setting for the experiment template.
emptyTargetResolutionMode "fail" | "skip"
The target resolution failure mode for the experiment template.

ExperimentTemplateExperimentOptionsAccountTargeting
, ExperimentTemplateExperimentOptionsAccountTargetingArgs

MultiAccount
multi-account
SingleAccount
single-account
ExperimentTemplateExperimentOptionsAccountTargetingMultiAccount
multi-account
ExperimentTemplateExperimentOptionsAccountTargetingSingleAccount
single-account
MultiAccount
multi-account
SingleAccount
single-account
MultiAccount
multi-account
SingleAccount
single-account
MULTI_ACCOUNT
multi-account
SINGLE_ACCOUNT
single-account
"multi-account"
multi-account
"single-account"
single-account

ExperimentTemplateExperimentOptionsEmptyTargetResolutionMode
, ExperimentTemplateExperimentOptionsEmptyTargetResolutionModeArgs

Fail
fail
Skip
skip
ExperimentTemplateExperimentOptionsEmptyTargetResolutionModeFail
fail
ExperimentTemplateExperimentOptionsEmptyTargetResolutionModeSkip
skip
Fail
fail
Skip
skip
Fail
fail
Skip
skip
FAIL
fail
SKIP
skip
"fail"
fail
"skip"
skip

ExperimentTemplateExperimentReportConfiguration
, ExperimentTemplateExperimentReportConfigurationArgs

Outputs This property is required. Pulumi.AwsNative.Fis.Inputs.ExperimentTemplateExperimentReportConfigurationOutputsProperties
The output destinations of the experiment report.
DataSources Pulumi.AwsNative.Fis.Inputs.ExperimentTemplateExperimentReportConfigurationDataSourcesProperties
The data sources for the experiment report.
PostExperimentDuration string
The duration after the experiment end time for the data sources to include in the report.
PreExperimentDuration string
The duration before the experiment start time for the data sources to include in the report.
Outputs This property is required. ExperimentTemplateExperimentReportConfigurationOutputsProperties
The output destinations of the experiment report.
DataSources ExperimentTemplateExperimentReportConfigurationDataSourcesProperties
The data sources for the experiment report.
PostExperimentDuration string
The duration after the experiment end time for the data sources to include in the report.
PreExperimentDuration string
The duration before the experiment start time for the data sources to include in the report.
outputs This property is required. ExperimentTemplateExperimentReportConfigurationOutputsProperties
The output destinations of the experiment report.
dataSources ExperimentTemplateExperimentReportConfigurationDataSourcesProperties
The data sources for the experiment report.
postExperimentDuration String
The duration after the experiment end time for the data sources to include in the report.
preExperimentDuration String
The duration before the experiment start time for the data sources to include in the report.
outputs This property is required. ExperimentTemplateExperimentReportConfigurationOutputsProperties
The output destinations of the experiment report.
dataSources ExperimentTemplateExperimentReportConfigurationDataSourcesProperties
The data sources for the experiment report.
postExperimentDuration string
The duration after the experiment end time for the data sources to include in the report.
preExperimentDuration string
The duration before the experiment start time for the data sources to include in the report.
outputs This property is required. ExperimentTemplateExperimentReportConfigurationOutputsProperties
The output destinations of the experiment report.
data_sources ExperimentTemplateExperimentReportConfigurationDataSourcesProperties
The data sources for the experiment report.
post_experiment_duration str
The duration after the experiment end time for the data sources to include in the report.
pre_experiment_duration str
The duration before the experiment start time for the data sources to include in the report.
outputs This property is required. Property Map
The output destinations of the experiment report.
dataSources Property Map
The data sources for the experiment report.
postExperimentDuration String
The duration after the experiment end time for the data sources to include in the report.
preExperimentDuration String
The duration before the experiment start time for the data sources to include in the report.

ExperimentTemplateExperimentReportConfigurationDataSourcesProperties
, ExperimentTemplateExperimentReportConfigurationDataSourcesPropertiesArgs

ExperimentTemplateExperimentReportConfigurationOutputsProperties
, ExperimentTemplateExperimentReportConfigurationOutputsPropertiesArgs

ExperimentTemplateExperimentReportConfigurationOutputsPropertiesExperimentReportS3ConfigurationProperties
, ExperimentTemplateExperimentReportConfigurationOutputsPropertiesExperimentReportS3ConfigurationPropertiesArgs

BucketName This property is required. string
Prefix string
BucketName This property is required. string
Prefix string
bucketName This property is required. String
prefix String
bucketName This property is required. string
prefix string
bucket_name This property is required. str
prefix str
bucketName This property is required. String
prefix String

ExperimentTemplateLogConfiguration
, ExperimentTemplateLogConfigurationArgs

LogSchemaVersion This property is required. int
The schema version.
CloudWatchLogsConfiguration Pulumi.AwsNative.Fis.Inputs.ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationProperties
The configuration for experiment logging to CloudWatch Logs .
S3Configuration Pulumi.AwsNative.Fis.Inputs.ExperimentTemplateLogConfigurationS3ConfigurationProperties
The configuration for experiment logging to Amazon S3 .
LogSchemaVersion This property is required. int
The schema version.
CloudWatchLogsConfiguration ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationProperties
The configuration for experiment logging to CloudWatch Logs .
S3Configuration ExperimentTemplateLogConfigurationS3ConfigurationProperties
The configuration for experiment logging to Amazon S3 .
logSchemaVersion This property is required. Integer
The schema version.
cloudWatchLogsConfiguration ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationProperties
The configuration for experiment logging to CloudWatch Logs .
s3Configuration ExperimentTemplateLogConfigurationS3ConfigurationProperties
The configuration for experiment logging to Amazon S3 .
logSchemaVersion This property is required. number
The schema version.
cloudWatchLogsConfiguration ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationProperties
The configuration for experiment logging to CloudWatch Logs .
s3Configuration ExperimentTemplateLogConfigurationS3ConfigurationProperties
The configuration for experiment logging to Amazon S3 .
log_schema_version This property is required. int
The schema version.
cloud_watch_logs_configuration ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationProperties
The configuration for experiment logging to CloudWatch Logs .
s3_configuration ExperimentTemplateLogConfigurationS3ConfigurationProperties
The configuration for experiment logging to Amazon S3 .
logSchemaVersion This property is required. Number
The schema version.
cloudWatchLogsConfiguration Property Map
The configuration for experiment logging to CloudWatch Logs .
s3Configuration Property Map
The configuration for experiment logging to Amazon S3 .

ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationProperties
, ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationPropertiesArgs

LogGroupArn This property is required. string
LogGroupArn This property is required. string
logGroupArn This property is required. String
logGroupArn This property is required. string
log_group_arn This property is required. str
logGroupArn This property is required. String

ExperimentTemplateLogConfigurationS3ConfigurationProperties
, ExperimentTemplateLogConfigurationS3ConfigurationPropertiesArgs

BucketName This property is required. string
Prefix string
BucketName This property is required. string
Prefix string
bucketName This property is required. String
prefix String
bucketName This property is required. string
prefix string
bucket_name This property is required. str
prefix str
bucketName This property is required. String
prefix String

ExperimentTemplateStopCondition
, ExperimentTemplateStopConditionArgs

Source This property is required. string
Value string
Source This property is required. string
Value string
source This property is required. String
value String
source This property is required. string
value string
source This property is required. str
value str
source This property is required. String
value String

ExperimentTemplateTarget
, ExperimentTemplateTargetArgs

ResourceType This property is required. string
The resource type.
SelectionMode This property is required. string
Scopes the identified resources to a specific count or percentage.
Filters List<Pulumi.AwsNative.Fis.Inputs.ExperimentTemplateTargetFilter>
The filters to apply to identify target resources using specific attributes.
Parameters Dictionary<string, string>
The parameters for the resource type.
ResourceArns List<string>
The Amazon Resource Names (ARNs) of the targets.
ResourceTags Dictionary<string, string>
The tags for the target resources.
ResourceType This property is required. string
The resource type.
SelectionMode This property is required. string
Scopes the identified resources to a specific count or percentage.
Filters []ExperimentTemplateTargetFilter
The filters to apply to identify target resources using specific attributes.
Parameters map[string]string
The parameters for the resource type.
ResourceArns []string
The Amazon Resource Names (ARNs) of the targets.
ResourceTags map[string]string
The tags for the target resources.
resourceType This property is required. String
The resource type.
selectionMode This property is required. String
Scopes the identified resources to a specific count or percentage.
filters List<ExperimentTemplateTargetFilter>
The filters to apply to identify target resources using specific attributes.
parameters Map<String,String>
The parameters for the resource type.
resourceArns List<String>
The Amazon Resource Names (ARNs) of the targets.
resourceTags Map<String,String>
The tags for the target resources.
resourceType This property is required. string
The resource type.
selectionMode This property is required. string
Scopes the identified resources to a specific count or percentage.
filters ExperimentTemplateTargetFilter[]
The filters to apply to identify target resources using specific attributes.
parameters {[key: string]: string}
The parameters for the resource type.
resourceArns string[]
The Amazon Resource Names (ARNs) of the targets.
resourceTags {[key: string]: string}
The tags for the target resources.
resource_type This property is required. str
The resource type.
selection_mode This property is required. str
Scopes the identified resources to a specific count or percentage.
filters Sequence[ExperimentTemplateTargetFilter]
The filters to apply to identify target resources using specific attributes.
parameters Mapping[str, str]
The parameters for the resource type.
resource_arns Sequence[str]
The Amazon Resource Names (ARNs) of the targets.
resource_tags Mapping[str, str]
The tags for the target resources.
resourceType This property is required. String
The resource type.
selectionMode This property is required. String
Scopes the identified resources to a specific count or percentage.
filters List<Property Map>
The filters to apply to identify target resources using specific attributes.
parameters Map<String>
The parameters for the resource type.
resourceArns List<String>
The Amazon Resource Names (ARNs) of the targets.
resourceTags Map<String>
The tags for the target resources.

ExperimentTemplateTargetFilter
, ExperimentTemplateTargetFilterArgs

Path This property is required. string
Values This property is required. List<string>
Path This property is required. string
Values This property is required. []string
path This property is required. String
values This property is required. List<String>
path This property is required. string
values This property is required. string[]
path This property is required. str
values This property is required. Sequence[str]
path This property is required. String
values This property is required. List<String>

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi