aws.fis.ExperimentTemplate
Explore with Pulumi AI
Provides an FIS Experiment Template, which can be used to run an experiment. An experiment template contains one or more actions to run on specified targets during an experiment. It also contains the stop conditions that prevent the experiment from going out of bounds. See Amazon Fault Injection Simulator for more information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.fis.ExperimentTemplate("example", {
    description: "example",
    roleArn: exampleAwsIamRole.arn,
    stopConditions: [{
        source: "none",
    }],
    actions: [{
        name: "example-action",
        actionId: "aws:ec2:terminate-instances",
        target: {
            key: "Instances",
            value: "example-target",
        },
    }],
    targets: [{
        name: "example-target",
        resourceType: "aws:ec2:instance",
        selectionMode: "COUNT(1)",
        resourceTags: [{
            key: "env",
            value: "example",
        }],
    }],
});
import pulumi
import pulumi_aws as aws
example = aws.fis.ExperimentTemplate("example",
    description="example",
    role_arn=example_aws_iam_role["arn"],
    stop_conditions=[{
        "source": "none",
    }],
    actions=[{
        "name": "example-action",
        "action_id": "aws:ec2:terminate-instances",
        "target": {
            "key": "Instances",
            "value": "example-target",
        },
    }],
    targets=[{
        "name": "example-target",
        "resource_type": "aws:ec2:instance",
        "selection_mode": "COUNT(1)",
        "resource_tags": [{
            "key": "env",
            "value": "example",
        }],
    }])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fis"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fis.NewExperimentTemplate(ctx, "example", &fis.ExperimentTemplateArgs{
			Description: pulumi.String("example"),
			RoleArn:     pulumi.Any(exampleAwsIamRole.Arn),
			StopConditions: fis.ExperimentTemplateStopConditionArray{
				&fis.ExperimentTemplateStopConditionArgs{
					Source: pulumi.String("none"),
				},
			},
			Actions: fis.ExperimentTemplateActionArray{
				&fis.ExperimentTemplateActionArgs{
					Name:     pulumi.String("example-action"),
					ActionId: pulumi.String("aws:ec2:terminate-instances"),
					Target: &fis.ExperimentTemplateActionTargetArgs{
						Key:   pulumi.String("Instances"),
						Value: pulumi.String("example-target"),
					},
				},
			},
			Targets: fis.ExperimentTemplateTargetArray{
				&fis.ExperimentTemplateTargetArgs{
					Name:          pulumi.String("example-target"),
					ResourceType:  pulumi.String("aws:ec2:instance"),
					SelectionMode: pulumi.String("COUNT(1)"),
					ResourceTags: fis.ExperimentTemplateTargetResourceTagArray{
						&fis.ExperimentTemplateTargetResourceTagArgs{
							Key:   pulumi.String("env"),
							Value: pulumi.String("example"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.Fis.ExperimentTemplate("example", new()
    {
        Description = "example",
        RoleArn = exampleAwsIamRole.Arn,
        StopConditions = new[]
        {
            new Aws.Fis.Inputs.ExperimentTemplateStopConditionArgs
            {
                Source = "none",
            },
        },
        Actions = new[]
        {
            new Aws.Fis.Inputs.ExperimentTemplateActionArgs
            {
                Name = "example-action",
                ActionId = "aws:ec2:terminate-instances",
                Target = new Aws.Fis.Inputs.ExperimentTemplateActionTargetArgs
                {
                    Key = "Instances",
                    Value = "example-target",
                },
            },
        },
        Targets = new[]
        {
            new Aws.Fis.Inputs.ExperimentTemplateTargetArgs
            {
                Name = "example-target",
                ResourceType = "aws:ec2:instance",
                SelectionMode = "COUNT(1)",
                ResourceTags = new[]
                {
                    new Aws.Fis.Inputs.ExperimentTemplateTargetResourceTagArgs
                    {
                        Key = "env",
                        Value = "example",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fis.ExperimentTemplate;
import com.pulumi.aws.fis.ExperimentTemplateArgs;
import com.pulumi.aws.fis.inputs.ExperimentTemplateStopConditionArgs;
import com.pulumi.aws.fis.inputs.ExperimentTemplateActionArgs;
import com.pulumi.aws.fis.inputs.ExperimentTemplateActionTargetArgs;
import com.pulumi.aws.fis.inputs.ExperimentTemplateTargetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new ExperimentTemplate("example", ExperimentTemplateArgs.builder()
            .description("example")
            .roleArn(exampleAwsIamRole.arn())
            .stopConditions(ExperimentTemplateStopConditionArgs.builder()
                .source("none")
                .build())
            .actions(ExperimentTemplateActionArgs.builder()
                .name("example-action")
                .actionId("aws:ec2:terminate-instances")
                .target(ExperimentTemplateActionTargetArgs.builder()
                    .key("Instances")
                    .value("example-target")
                    .build())
                .build())
            .targets(ExperimentTemplateTargetArgs.builder()
                .name("example-target")
                .resourceType("aws:ec2:instance")
                .selectionMode("COUNT(1)")
                .resourceTags(ExperimentTemplateTargetResourceTagArgs.builder()
                    .key("env")
                    .value("example")
                    .build())
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:fis:ExperimentTemplate
    properties:
      description: example
      roleArn: ${exampleAwsIamRole.arn}
      stopConditions:
        - source: none
      actions:
        - name: example-action
          actionId: aws:ec2:terminate-instances
          target:
            key: Instances
            value: example-target
      targets:
        - name: example-target
          resourceType: aws:ec2:instance
          selectionMode: COUNT(1)
          resourceTags:
            - key: env
              value: example
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,
                       actions: Optional[Sequence[ExperimentTemplateActionArgs]] = None,
                       description: Optional[str] = None,
                       role_arn: Optional[str] = None,
                       stop_conditions: Optional[Sequence[ExperimentTemplateStopConditionArgs]] = None,
                       experiment_options: Optional[ExperimentTemplateExperimentOptionsArgs] = None,
                       log_configuration: Optional[ExperimentTemplateLogConfigurationArgs] = None,
                       tags: Optional[Mapping[str, str]] = None,
                       targets: Optional[Sequence[ExperimentTemplateTargetArgs]] = 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:fis:ExperimentTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ExperimentTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args ExperimentTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExperimentTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExperimentTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var experimentTemplateResource = new Aws.Fis.ExperimentTemplate("experimentTemplateResource", new()
{
    Actions = new[]
    {
        new Aws.Fis.Inputs.ExperimentTemplateActionArgs
        {
            ActionId = "string",
            Name = "string",
            Description = "string",
            Parameters = new[]
            {
                new Aws.Fis.Inputs.ExperimentTemplateActionParameterArgs
                {
                    Key = "string",
                    Value = "string",
                },
            },
            StartAfters = new[]
            {
                "string",
            },
            Target = new Aws.Fis.Inputs.ExperimentTemplateActionTargetArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    },
    Description = "string",
    RoleArn = "string",
    StopConditions = new[]
    {
        new Aws.Fis.Inputs.ExperimentTemplateStopConditionArgs
        {
            Source = "string",
            Value = "string",
        },
    },
    ExperimentOptions = new Aws.Fis.Inputs.ExperimentTemplateExperimentOptionsArgs
    {
        AccountTargeting = "string",
        EmptyTargetResolutionMode = "string",
    },
    LogConfiguration = new Aws.Fis.Inputs.ExperimentTemplateLogConfigurationArgs
    {
        LogSchemaVersion = 0,
        CloudwatchLogsConfiguration = new Aws.Fis.Inputs.ExperimentTemplateLogConfigurationCloudwatchLogsConfigurationArgs
        {
            LogGroupArn = "string",
        },
        S3Configuration = new Aws.Fis.Inputs.ExperimentTemplateLogConfigurationS3ConfigurationArgs
        {
            BucketName = "string",
            Prefix = "string",
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
    Targets = new[]
    {
        new Aws.Fis.Inputs.ExperimentTemplateTargetArgs
        {
            Name = "string",
            ResourceType = "string",
            SelectionMode = "string",
            Filters = new[]
            {
                new Aws.Fis.Inputs.ExperimentTemplateTargetFilterArgs
                {
                    Path = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
            Parameters = 
            {
                { "string", "string" },
            },
            ResourceArns = new[]
            {
                "string",
            },
            ResourceTags = new[]
            {
                new Aws.Fis.Inputs.ExperimentTemplateTargetResourceTagArgs
                {
                    Key = "string",
                    Value = "string",
                },
            },
        },
    },
});
example, err := fis.NewExperimentTemplate(ctx, "experimentTemplateResource", &fis.ExperimentTemplateArgs{
	Actions: fis.ExperimentTemplateActionArray{
		&fis.ExperimentTemplateActionArgs{
			ActionId:    pulumi.String("string"),
			Name:        pulumi.String("string"),
			Description: pulumi.String("string"),
			Parameters: fis.ExperimentTemplateActionParameterArray{
				&fis.ExperimentTemplateActionParameterArgs{
					Key:   pulumi.String("string"),
					Value: pulumi.String("string"),
				},
			},
			StartAfters: pulumi.StringArray{
				pulumi.String("string"),
			},
			Target: &fis.ExperimentTemplateActionTargetArgs{
				Key:   pulumi.String("string"),
				Value: pulumi.String("string"),
			},
		},
	},
	Description: pulumi.String("string"),
	RoleArn:     pulumi.String("string"),
	StopConditions: fis.ExperimentTemplateStopConditionArray{
		&fis.ExperimentTemplateStopConditionArgs{
			Source: pulumi.String("string"),
			Value:  pulumi.String("string"),
		},
	},
	ExperimentOptions: &fis.ExperimentTemplateExperimentOptionsArgs{
		AccountTargeting:          pulumi.String("string"),
		EmptyTargetResolutionMode: pulumi.String("string"),
	},
	LogConfiguration: &fis.ExperimentTemplateLogConfigurationArgs{
		LogSchemaVersion: pulumi.Int(0),
		CloudwatchLogsConfiguration: &fis.ExperimentTemplateLogConfigurationCloudwatchLogsConfigurationArgs{
			LogGroupArn: pulumi.String("string"),
		},
		S3Configuration: &fis.ExperimentTemplateLogConfigurationS3ConfigurationArgs{
			BucketName: pulumi.String("string"),
			Prefix:     pulumi.String("string"),
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Targets: fis.ExperimentTemplateTargetArray{
		&fis.ExperimentTemplateTargetArgs{
			Name:          pulumi.String("string"),
			ResourceType:  pulumi.String("string"),
			SelectionMode: pulumi.String("string"),
			Filters: fis.ExperimentTemplateTargetFilterArray{
				&fis.ExperimentTemplateTargetFilterArgs{
					Path: pulumi.String("string"),
					Values: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
			Parameters: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			ResourceArns: pulumi.StringArray{
				pulumi.String("string"),
			},
			ResourceTags: fis.ExperimentTemplateTargetResourceTagArray{
				&fis.ExperimentTemplateTargetResourceTagArgs{
					Key:   pulumi.String("string"),
					Value: pulumi.String("string"),
				},
			},
		},
	},
})
var experimentTemplateResource = new ExperimentTemplate("experimentTemplateResource", ExperimentTemplateArgs.builder()
    .actions(ExperimentTemplateActionArgs.builder()
        .actionId("string")
        .name("string")
        .description("string")
        .parameters(ExperimentTemplateActionParameterArgs.builder()
            .key("string")
            .value("string")
            .build())
        .startAfters("string")
        .target(ExperimentTemplateActionTargetArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build())
    .description("string")
    .roleArn("string")
    .stopConditions(ExperimentTemplateStopConditionArgs.builder()
        .source("string")
        .value("string")
        .build())
    .experimentOptions(ExperimentTemplateExperimentOptionsArgs.builder()
        .accountTargeting("string")
        .emptyTargetResolutionMode("string")
        .build())
    .logConfiguration(ExperimentTemplateLogConfigurationArgs.builder()
        .logSchemaVersion(0)
        .cloudwatchLogsConfiguration(ExperimentTemplateLogConfigurationCloudwatchLogsConfigurationArgs.builder()
            .logGroupArn("string")
            .build())
        .s3Configuration(ExperimentTemplateLogConfigurationS3ConfigurationArgs.builder()
            .bucketName("string")
            .prefix("string")
            .build())
        .build())
    .tags(Map.of("string", "string"))
    .targets(ExperimentTemplateTargetArgs.builder()
        .name("string")
        .resourceType("string")
        .selectionMode("string")
        .filters(ExperimentTemplateTargetFilterArgs.builder()
            .path("string")
            .values("string")
            .build())
        .parameters(Map.of("string", "string"))
        .resourceArns("string")
        .resourceTags(ExperimentTemplateTargetResourceTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build())
    .build());
experiment_template_resource = aws.fis.ExperimentTemplate("experimentTemplateResource",
    actions=[{
        "action_id": "string",
        "name": "string",
        "description": "string",
        "parameters": [{
            "key": "string",
            "value": "string",
        }],
        "start_afters": ["string"],
        "target": {
            "key": "string",
            "value": "string",
        },
    }],
    description="string",
    role_arn="string",
    stop_conditions=[{
        "source": "string",
        "value": "string",
    }],
    experiment_options={
        "account_targeting": "string",
        "empty_target_resolution_mode": "string",
    },
    log_configuration={
        "log_schema_version": 0,
        "cloudwatch_logs_configuration": {
            "log_group_arn": "string",
        },
        "s3_configuration": {
            "bucket_name": "string",
            "prefix": "string",
        },
    },
    tags={
        "string": "string",
    },
    targets=[{
        "name": "string",
        "resource_type": "string",
        "selection_mode": "string",
        "filters": [{
            "path": "string",
            "values": ["string"],
        }],
        "parameters": {
            "string": "string",
        },
        "resource_arns": ["string"],
        "resource_tags": [{
            "key": "string",
            "value": "string",
        }],
    }])
const experimentTemplateResource = new aws.fis.ExperimentTemplate("experimentTemplateResource", {
    actions: [{
        actionId: "string",
        name: "string",
        description: "string",
        parameters: [{
            key: "string",
            value: "string",
        }],
        startAfters: ["string"],
        target: {
            key: "string",
            value: "string",
        },
    }],
    description: "string",
    roleArn: "string",
    stopConditions: [{
        source: "string",
        value: "string",
    }],
    experimentOptions: {
        accountTargeting: "string",
        emptyTargetResolutionMode: "string",
    },
    logConfiguration: {
        logSchemaVersion: 0,
        cloudwatchLogsConfiguration: {
            logGroupArn: "string",
        },
        s3Configuration: {
            bucketName: "string",
            prefix: "string",
        },
    },
    tags: {
        string: "string",
    },
    targets: [{
        name: "string",
        resourceType: "string",
        selectionMode: "string",
        filters: [{
            path: "string",
            values: ["string"],
        }],
        parameters: {
            string: "string",
        },
        resourceArns: ["string"],
        resourceTags: [{
            key: "string",
            value: "string",
        }],
    }],
});
type: aws:fis:ExperimentTemplate
properties:
    actions:
        - actionId: string
          description: string
          name: string
          parameters:
            - key: string
              value: string
          startAfters:
            - string
          target:
            key: string
            value: string
    description: string
    experimentOptions:
        accountTargeting: string
        emptyTargetResolutionMode: string
    logConfiguration:
        cloudwatchLogsConfiguration:
            logGroupArn: string
        logSchemaVersion: 0
        s3Configuration:
            bucketName: string
            prefix: string
    roleArn: string
    stopConditions:
        - source: string
          value: string
    tags:
        string: string
    targets:
        - filters:
            - path: string
              values:
                - string
          name: string
          parameters:
            string: string
          resourceArns:
            - string
          resourceTags:
            - key: string
              value: string
          resourceType: string
          selectionMode: string
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:
- Actions
List<ExperimentTemplate Action> 
- Action to be performed during an experiment. See below.
- Description string
- Description for the experiment template.
- RoleArn string
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- StopConditions List<ExperimentTemplate Stop Condition> 
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- ExperimentOptions ExperimentTemplate Experiment Options 
- The experiment options for the experiment template. See experiment_options below for more details!
- LogConfiguration ExperimentTemplate Log Configuration 
- The configuration for experiment logging. See below.
- Dictionary<string, string>
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Targets
List<ExperimentTemplate Target> 
- Target of an action. See below.
- Actions
[]ExperimentTemplate Action Args 
- Action to be performed during an experiment. See below.
- Description string
- Description for the experiment template.
- RoleArn string
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- StopConditions []ExperimentTemplate Stop Condition Args 
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- ExperimentOptions ExperimentTemplate Experiment Options Args 
- The experiment options for the experiment template. See experiment_options below for more details!
- LogConfiguration ExperimentTemplate Log Configuration Args 
- The configuration for experiment logging. See below.
- map[string]string
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Targets
[]ExperimentTemplate Target Args 
- Target of an action. See below.
- actions
List<ExperimentTemplate Action> 
- Action to be performed during an experiment. See below.
- description String
- Description for the experiment template.
- roleArn String
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- stopConditions List<ExperimentTemplate Stop Condition> 
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- experimentOptions ExperimentTemplate Experiment Options 
- The experiment options for the experiment template. See experiment_options below for more details!
- logConfiguration ExperimentTemplate Log Configuration 
- The configuration for experiment logging. See below.
- Map<String,String>
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- targets
List<ExperimentTemplate Target> 
- Target of an action. See below.
- actions
ExperimentTemplate Action[] 
- Action to be performed during an experiment. See below.
- description string
- Description for the experiment template.
- roleArn string
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- stopConditions ExperimentTemplate Stop Condition[] 
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- experimentOptions ExperimentTemplate Experiment Options 
- The experiment options for the experiment template. See experiment_options below for more details!
- logConfiguration ExperimentTemplate Log Configuration 
- The configuration for experiment logging. See below.
- {[key: string]: string}
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- targets
ExperimentTemplate Target[] 
- Target of an action. See below.
- actions
Sequence[ExperimentTemplate Action Args] 
- Action to be performed during an experiment. See below.
- description str
- Description for the experiment template.
- role_arn str
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- stop_conditions Sequence[ExperimentTemplate Stop Condition Args] 
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- experiment_options ExperimentTemplate Experiment Options Args 
- The experiment options for the experiment template. See experiment_options below for more details!
- log_configuration ExperimentTemplate Log Configuration Args 
- The configuration for experiment logging. See below.
- Mapping[str, str]
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- targets
Sequence[ExperimentTemplate Target Args] 
- Target of an action. See below.
- actions List<Property Map>
- Action to be performed during an experiment. See below.
- description String
- Description for the experiment template.
- roleArn String
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- stopConditions List<Property Map>
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- experimentOptions Property Map
- The experiment options for the experiment template. See experiment_options below for more details!
- logConfiguration Property Map
- The configuration for experiment logging. See below.
- Map<String>
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- targets List<Property Map>
- Target of an action. See below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExperimentTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
Look up Existing ExperimentTemplate Resource
Get an existing ExperimentTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExperimentTemplateState, opts?: CustomResourceOptions): ExperimentTemplate@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        actions: Optional[Sequence[ExperimentTemplateActionArgs]] = None,
        description: Optional[str] = None,
        experiment_options: Optional[ExperimentTemplateExperimentOptionsArgs] = None,
        log_configuration: Optional[ExperimentTemplateLogConfigurationArgs] = None,
        role_arn: Optional[str] = None,
        stop_conditions: Optional[Sequence[ExperimentTemplateStopConditionArgs]] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        targets: Optional[Sequence[ExperimentTemplateTargetArgs]] = None) -> ExperimentTemplatefunc GetExperimentTemplate(ctx *Context, name string, id IDInput, state *ExperimentTemplateState, opts ...ResourceOption) (*ExperimentTemplate, error)public static ExperimentTemplate Get(string name, Input<string> id, ExperimentTemplateState? state, CustomResourceOptions? opts = null)public static ExperimentTemplate get(String name, Output<String> id, ExperimentTemplateState state, CustomResourceOptions options)resources:  _:    type: aws:fis:ExperimentTemplate    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Actions
List<ExperimentTemplate Action> 
- Action to be performed during an experiment. See below.
- Description string
- Description for the experiment template.
- ExperimentOptions ExperimentTemplate Experiment Options 
- The experiment options for the experiment template. See experiment_options below for more details!
- LogConfiguration ExperimentTemplate Log Configuration 
- The configuration for experiment logging. See below.
- RoleArn string
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- StopConditions List<ExperimentTemplate Stop Condition> 
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- Dictionary<string, string>
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- Targets
List<ExperimentTemplate Target> 
- Target of an action. See below.
- Actions
[]ExperimentTemplate Action Args 
- Action to be performed during an experiment. See below.
- Description string
- Description for the experiment template.
- ExperimentOptions ExperimentTemplate Experiment Options Args 
- The experiment options for the experiment template. See experiment_options below for more details!
- LogConfiguration ExperimentTemplate Log Configuration Args 
- The configuration for experiment logging. See below.
- RoleArn string
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- StopConditions []ExperimentTemplate Stop Condition Args 
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- map[string]string
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- Targets
[]ExperimentTemplate Target Args 
- Target of an action. See below.
- actions
List<ExperimentTemplate Action> 
- Action to be performed during an experiment. See below.
- description String
- Description for the experiment template.
- experimentOptions ExperimentTemplate Experiment Options 
- The experiment options for the experiment template. See experiment_options below for more details!
- logConfiguration ExperimentTemplate Log Configuration 
- The configuration for experiment logging. See below.
- roleArn String
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- stopConditions List<ExperimentTemplate Stop Condition> 
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- Map<String,String>
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- targets
List<ExperimentTemplate Target> 
- Target of an action. See below.
- actions
ExperimentTemplate Action[] 
- Action to be performed during an experiment. See below.
- description string
- Description for the experiment template.
- experimentOptions ExperimentTemplate Experiment Options 
- The experiment options for the experiment template. See experiment_options below for more details!
- logConfiguration ExperimentTemplate Log Configuration 
- The configuration for experiment logging. See below.
- roleArn string
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- stopConditions ExperimentTemplate Stop Condition[] 
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- {[key: string]: string}
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- targets
ExperimentTemplate Target[] 
- Target of an action. See below.
- actions
Sequence[ExperimentTemplate Action Args] 
- Action to be performed during an experiment. See below.
- description str
- Description for the experiment template.
- experiment_options ExperimentTemplate Experiment Options Args 
- The experiment options for the experiment template. See experiment_options below for more details!
- log_configuration ExperimentTemplate Log Configuration Args 
- The configuration for experiment logging. See below.
- role_arn str
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- stop_conditions Sequence[ExperimentTemplate Stop Condition Args] 
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- Mapping[str, str]
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- targets
Sequence[ExperimentTemplate Target Args] 
- Target of an action. See below.
- actions List<Property Map>
- Action to be performed during an experiment. See below.
- description String
- Description for the experiment template.
- experimentOptions Property Map
- The experiment options for the experiment template. See experiment_options below for more details!
- logConfiguration Property Map
- The configuration for experiment logging. See below.
- roleArn String
- ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
- stopConditions List<Property Map>
- When an ongoing experiment should be stopped. See below. - The following arguments are optional: 
- Map<String>
- Key-value mapping of tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- targets List<Property Map>
- Target of an action. See below.
Supporting Types
ExperimentTemplateAction, ExperimentTemplateActionArgs      
- ActionId string
- ID of the action. To find out what actions are supported see AWS FIS actions reference.
- Name string
- Friendly name of the action.
- Description string
- Description of the action.
- Parameters
List<ExperimentTemplate Action Parameter> 
- Parameter(s) for the action, if applicable. See below.
- StartAfters List<string>
- Set of action names that must complete before this action can be executed.
- Target
ExperimentTemplate Action Target 
- Action's target, if applicable. See below.
- ActionId string
- ID of the action. To find out what actions are supported see AWS FIS actions reference.
- Name string
- Friendly name of the action.
- Description string
- Description of the action.
- Parameters
[]ExperimentTemplate Action Parameter 
- Parameter(s) for the action, if applicable. See below.
- StartAfters []string
- Set of action names that must complete before this action can be executed.
- Target
ExperimentTemplate Action Target 
- Action's target, if applicable. See below.
- actionId String
- ID of the action. To find out what actions are supported see AWS FIS actions reference.
- name String
- Friendly name of the action.
- description String
- Description of the action.
- parameters
List<ExperimentTemplate Action Parameter> 
- Parameter(s) for the action, if applicable. See below.
- startAfters List<String>
- Set of action names that must complete before this action can be executed.
- target
ExperimentTemplate Action Target 
- Action's target, if applicable. See below.
- actionId string
- ID of the action. To find out what actions are supported see AWS FIS actions reference.
- name string
- Friendly name of the action.
- description string
- Description of the action.
- parameters
ExperimentTemplate Action Parameter[] 
- Parameter(s) for the action, if applicable. See below.
- startAfters string[]
- Set of action names that must complete before this action can be executed.
- target
ExperimentTemplate Action Target 
- Action's target, if applicable. See below.
- action_id str
- ID of the action. To find out what actions are supported see AWS FIS actions reference.
- name str
- Friendly name of the action.
- description str
- Description of the action.
- parameters
Sequence[ExperimentTemplate Action Parameter] 
- Parameter(s) for the action, if applicable. See below.
- start_afters Sequence[str]
- Set of action names that must complete before this action can be executed.
- target
ExperimentTemplate Action Target 
- Action's target, if applicable. See below.
- actionId String
- ID of the action. To find out what actions are supported see AWS FIS actions reference.
- name String
- Friendly name of the action.
- description String
- Description of the action.
- parameters List<Property Map>
- Parameter(s) for the action, if applicable. See below.
- startAfters List<String>
- Set of action names that must complete before this action can be executed.
- target Property Map
- Action's target, if applicable. See below.
ExperimentTemplateActionParameter, ExperimentTemplateActionParameterArgs        
- Key string
- Parameter name.
- Value string
- Parameter value. - For a list of parameters supported by each action, see AWS FIS actions reference. 
- Key string
- Parameter name.
- Value string
- Parameter value. - For a list of parameters supported by each action, see AWS FIS actions reference. 
- key String
- Parameter name.
- value String
- Parameter value. - For a list of parameters supported by each action, see AWS FIS actions reference. 
- key string
- Parameter name.
- value string
- Parameter value. - For a list of parameters supported by each action, see AWS FIS actions reference. 
- key str
- Parameter name.
- value str
- Parameter value. - For a list of parameters supported by each action, see AWS FIS actions reference. 
- key String
- Parameter name.
- value String
- Parameter value. - For a list of parameters supported by each action, see AWS FIS actions reference. 
ExperimentTemplateActionTarget, ExperimentTemplateActionTargetArgs        
- Key string
- Target type. Valid values are AutoScalingGroups(EC2 Auto Scaling groups),Buckets(S3 Buckets),Cluster(EKS Cluster),Clusters(ECS Clusters),DBInstances(RDS DB Instances),Instances(EC2 Instances),Nodegroups(EKS Node groups),Pods(EKS Pods),ReplicationGroups(ElastiCache Redis Replication Groups),Roles(IAM Roles),SpotInstances(EC2 Spot Instances),Subnets(VPC Subnets),Tables(DynamoDB encrypted global tables),Tasks(ECS Tasks),TransitGateways(Transit gateways),Volumes(EBS Volumes). See the documentation for more details.
- Value string
- Target name, referencing a corresponding target.
- Key string
- Target type. Valid values are AutoScalingGroups(EC2 Auto Scaling groups),Buckets(S3 Buckets),Cluster(EKS Cluster),Clusters(ECS Clusters),DBInstances(RDS DB Instances),Instances(EC2 Instances),Nodegroups(EKS Node groups),Pods(EKS Pods),ReplicationGroups(ElastiCache Redis Replication Groups),Roles(IAM Roles),SpotInstances(EC2 Spot Instances),Subnets(VPC Subnets),Tables(DynamoDB encrypted global tables),Tasks(ECS Tasks),TransitGateways(Transit gateways),Volumes(EBS Volumes). See the documentation for more details.
- Value string
- Target name, referencing a corresponding target.
- key String
- Target type. Valid values are AutoScalingGroups(EC2 Auto Scaling groups),Buckets(S3 Buckets),Cluster(EKS Cluster),Clusters(ECS Clusters),DBInstances(RDS DB Instances),Instances(EC2 Instances),Nodegroups(EKS Node groups),Pods(EKS Pods),ReplicationGroups(ElastiCache Redis Replication Groups),Roles(IAM Roles),SpotInstances(EC2 Spot Instances),Subnets(VPC Subnets),Tables(DynamoDB encrypted global tables),Tasks(ECS Tasks),TransitGateways(Transit gateways),Volumes(EBS Volumes). See the documentation for more details.
- value String
- Target name, referencing a corresponding target.
- key string
- Target type. Valid values are AutoScalingGroups(EC2 Auto Scaling groups),Buckets(S3 Buckets),Cluster(EKS Cluster),Clusters(ECS Clusters),DBInstances(RDS DB Instances),Instances(EC2 Instances),Nodegroups(EKS Node groups),Pods(EKS Pods),ReplicationGroups(ElastiCache Redis Replication Groups),Roles(IAM Roles),SpotInstances(EC2 Spot Instances),Subnets(VPC Subnets),Tables(DynamoDB encrypted global tables),Tasks(ECS Tasks),TransitGateways(Transit gateways),Volumes(EBS Volumes). See the documentation for more details.
- value string
- Target name, referencing a corresponding target.
- key str
- Target type. Valid values are AutoScalingGroups(EC2 Auto Scaling groups),Buckets(S3 Buckets),Cluster(EKS Cluster),Clusters(ECS Clusters),DBInstances(RDS DB Instances),Instances(EC2 Instances),Nodegroups(EKS Node groups),Pods(EKS Pods),ReplicationGroups(ElastiCache Redis Replication Groups),Roles(IAM Roles),SpotInstances(EC2 Spot Instances),Subnets(VPC Subnets),Tables(DynamoDB encrypted global tables),Tasks(ECS Tasks),TransitGateways(Transit gateways),Volumes(EBS Volumes). See the documentation for more details.
- value str
- Target name, referencing a corresponding target.
- key String
- Target type. Valid values are AutoScalingGroups(EC2 Auto Scaling groups),Buckets(S3 Buckets),Cluster(EKS Cluster),Clusters(ECS Clusters),DBInstances(RDS DB Instances),Instances(EC2 Instances),Nodegroups(EKS Node groups),Pods(EKS Pods),ReplicationGroups(ElastiCache Redis Replication Groups),Roles(IAM Roles),SpotInstances(EC2 Spot Instances),Subnets(VPC Subnets),Tables(DynamoDB encrypted global tables),Tasks(ECS Tasks),TransitGateways(Transit gateways),Volumes(EBS Volumes). See the documentation for more details.
- value String
- Target name, referencing a corresponding target.
ExperimentTemplateExperimentOptions, ExperimentTemplateExperimentOptionsArgs        
- AccountTargeting string
- Specifies the account targeting setting for experiment options. Supports single-accountandmulti-account.
- EmptyTarget stringResolution Mode 
- Specifies the empty target resolution mode for experiment options. Supports failandskip.
- AccountTargeting string
- Specifies the account targeting setting for experiment options. Supports single-accountandmulti-account.
- EmptyTarget stringResolution Mode 
- Specifies the empty target resolution mode for experiment options. Supports failandskip.
- accountTargeting String
- Specifies the account targeting setting for experiment options. Supports single-accountandmulti-account.
- emptyTarget StringResolution Mode 
- Specifies the empty target resolution mode for experiment options. Supports failandskip.
- accountTargeting string
- Specifies the account targeting setting for experiment options. Supports single-accountandmulti-account.
- emptyTarget stringResolution Mode 
- Specifies the empty target resolution mode for experiment options. Supports failandskip.
- account_targeting str
- Specifies the account targeting setting for experiment options. Supports single-accountandmulti-account.
- empty_target_ strresolution_ mode 
- Specifies the empty target resolution mode for experiment options. Supports failandskip.
- accountTargeting String
- Specifies the account targeting setting for experiment options. Supports single-accountandmulti-account.
- emptyTarget StringResolution Mode 
- Specifies the empty target resolution mode for experiment options. Supports failandskip.
ExperimentTemplateLogConfiguration, ExperimentTemplateLogConfigurationArgs        
- LogSchema intVersion 
- The schema version. See documentation for the list of schema versions.
- CloudwatchLogs ExperimentConfiguration Template Log Configuration Cloudwatch Logs Configuration 
- The configuration for experiment logging to Amazon CloudWatch Logs. See below.
- S3Configuration
ExperimentTemplate Log Configuration S3Configuration 
- The configuration for experiment logging to Amazon S3. See below.
- LogSchema intVersion 
- The schema version. See documentation for the list of schema versions.
- CloudwatchLogs ExperimentConfiguration Template Log Configuration Cloudwatch Logs Configuration 
- The configuration for experiment logging to Amazon CloudWatch Logs. See below.
- S3Configuration
ExperimentTemplate Log Configuration S3Configuration 
- The configuration for experiment logging to Amazon S3. See below.
- logSchema IntegerVersion 
- The schema version. See documentation for the list of schema versions.
- cloudwatchLogs ExperimentConfiguration Template Log Configuration Cloudwatch Logs Configuration 
- The configuration for experiment logging to Amazon CloudWatch Logs. See below.
- s3Configuration
ExperimentTemplate Log Configuration S3Configuration 
- The configuration for experiment logging to Amazon S3. See below.
- logSchema numberVersion 
- The schema version. See documentation for the list of schema versions.
- cloudwatchLogs ExperimentConfiguration Template Log Configuration Cloudwatch Logs Configuration 
- The configuration for experiment logging to Amazon CloudWatch Logs. See below.
- s3Configuration
ExperimentTemplate Log Configuration S3Configuration 
- The configuration for experiment logging to Amazon S3. See below.
- log_schema_ intversion 
- The schema version. See documentation for the list of schema versions.
- cloudwatch_logs_ Experimentconfiguration Template Log Configuration Cloudwatch Logs Configuration 
- The configuration for experiment logging to Amazon CloudWatch Logs. See below.
- s3_configuration ExperimentTemplate Log Configuration S3Configuration 
- The configuration for experiment logging to Amazon S3. See below.
- logSchema NumberVersion 
- The schema version. See documentation for the list of schema versions.
- cloudwatchLogs Property MapConfiguration 
- The configuration for experiment logging to Amazon CloudWatch Logs. See below.
- s3Configuration Property Map
- The configuration for experiment logging to Amazon S3. See below.
ExperimentTemplateLogConfigurationCloudwatchLogsConfiguration, ExperimentTemplateLogConfigurationCloudwatchLogsConfigurationArgs              
- LogGroup stringArn 
- The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.
- LogGroup stringArn 
- The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.
- logGroup StringArn 
- The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.
- logGroup stringArn 
- The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.
- log_group_ strarn 
- The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.
- logGroup StringArn 
- The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.
ExperimentTemplateLogConfigurationS3Configuration, ExperimentTemplateLogConfigurationS3ConfigurationArgs          
- BucketName string
- The name of the destination bucket.
- Prefix string
- The bucket prefix.
- BucketName string
- The name of the destination bucket.
- Prefix string
- The bucket prefix.
- bucketName String
- The name of the destination bucket.
- prefix String
- The bucket prefix.
- bucketName string
- The name of the destination bucket.
- prefix string
- The bucket prefix.
- bucket_name str
- The name of the destination bucket.
- prefix str
- The bucket prefix.
- bucketName String
- The name of the destination bucket.
- prefix String
- The bucket prefix.
ExperimentTemplateStopCondition, ExperimentTemplateStopConditionArgs        
ExperimentTemplateTarget, ExperimentTemplateTargetArgs      
- Name string
- Friendly name given to the target.
- ResourceType string
- AWS resource type. The resource type must be supported for the specified action. To find out what resource types are supported, see Targets for AWS FIS.
- SelectionMode string
- Scopes the identified resources. Valid values are ALL(all identified resources),COUNT(n)(randomly selectnof the identified resources),PERCENT(n)(randomly selectnpercent of the identified resources).
- Filters
List<ExperimentTemplate Target Filter> 
- Filter(s) for the target. Filters can be used to select resources based on specific attributes returned by the respective describe action of the resource type. For more information, see Targets for AWS FIS. See below.
- Parameters Dictionary<string, string>
- The resource type parameters. - NOTE: The - targetconfiguration block requires either- resource_arnsor- resource_tag.
- ResourceArns List<string>
- Set of ARNs of the resources to target with an action. Conflicts with resource_tag.
- 
List<ExperimentTemplate Target Resource Tag> 
- Tag(s) the resources need to have to be considered a valid target for an action. Conflicts with resource_arns. See below.
- Name string
- Friendly name given to the target.
- ResourceType string
- AWS resource type. The resource type must be supported for the specified action. To find out what resource types are supported, see Targets for AWS FIS.
- SelectionMode string
- Scopes the identified resources. Valid values are ALL(all identified resources),COUNT(n)(randomly selectnof the identified resources),PERCENT(n)(randomly selectnpercent of the identified resources).
- Filters
[]ExperimentTemplate Target Filter 
- Filter(s) for the target. Filters can be used to select resources based on specific attributes returned by the respective describe action of the resource type. For more information, see Targets for AWS FIS. See below.
- Parameters map[string]string
- The resource type parameters. - NOTE: The - targetconfiguration block requires either- resource_arnsor- resource_tag.
- ResourceArns []string
- Set of ARNs of the resources to target with an action. Conflicts with resource_tag.
- 
[]ExperimentTemplate Target Resource Tag 
- Tag(s) the resources need to have to be considered a valid target for an action. Conflicts with resource_arns. See below.
- name String
- Friendly name given to the target.
- resourceType String
- AWS resource type. The resource type must be supported for the specified action. To find out what resource types are supported, see Targets for AWS FIS.
- selectionMode String
- Scopes the identified resources. Valid values are ALL(all identified resources),COUNT(n)(randomly selectnof the identified resources),PERCENT(n)(randomly selectnpercent of the identified resources).
- filters
List<ExperimentTemplate Target Filter> 
- Filter(s) for the target. Filters can be used to select resources based on specific attributes returned by the respective describe action of the resource type. For more information, see Targets for AWS FIS. See below.
- parameters Map<String,String>
- The resource type parameters. - NOTE: The - targetconfiguration block requires either- resource_arnsor- resource_tag.
- resourceArns List<String>
- Set of ARNs of the resources to target with an action. Conflicts with resource_tag.
- 
List<ExperimentTemplate Target Resource Tag> 
- Tag(s) the resources need to have to be considered a valid target for an action. Conflicts with resource_arns. See below.
- name string
- Friendly name given to the target.
- resourceType string
- AWS resource type. The resource type must be supported for the specified action. To find out what resource types are supported, see Targets for AWS FIS.
- selectionMode string
- Scopes the identified resources. Valid values are ALL(all identified resources),COUNT(n)(randomly selectnof the identified resources),PERCENT(n)(randomly selectnpercent of the identified resources).
- filters
ExperimentTemplate Target Filter[] 
- Filter(s) for the target. Filters can be used to select resources based on specific attributes returned by the respective describe action of the resource type. For more information, see Targets for AWS FIS. See below.
- parameters {[key: string]: string}
- The resource type parameters. - NOTE: The - targetconfiguration block requires either- resource_arnsor- resource_tag.
- resourceArns string[]
- Set of ARNs of the resources to target with an action. Conflicts with resource_tag.
- 
ExperimentTemplate Target Resource Tag[] 
- Tag(s) the resources need to have to be considered a valid target for an action. Conflicts with resource_arns. See below.
- name str
- Friendly name given to the target.
- resource_type str
- AWS resource type. The resource type must be supported for the specified action. To find out what resource types are supported, see Targets for AWS FIS.
- selection_mode str
- Scopes the identified resources. Valid values are ALL(all identified resources),COUNT(n)(randomly selectnof the identified resources),PERCENT(n)(randomly selectnpercent of the identified resources).
- filters
Sequence[ExperimentTemplate Target Filter] 
- Filter(s) for the target. Filters can be used to select resources based on specific attributes returned by the respective describe action of the resource type. For more information, see Targets for AWS FIS. See below.
- parameters Mapping[str, str]
- The resource type parameters. - NOTE: The - targetconfiguration block requires either- resource_arnsor- resource_tag.
- resource_arns Sequence[str]
- Set of ARNs of the resources to target with an action. Conflicts with resource_tag.
- 
Sequence[ExperimentTemplate Target Resource Tag] 
- Tag(s) the resources need to have to be considered a valid target for an action. Conflicts with resource_arns. See below.
- name String
- Friendly name given to the target.
- resourceType String
- AWS resource type. The resource type must be supported for the specified action. To find out what resource types are supported, see Targets for AWS FIS.
- selectionMode String
- Scopes the identified resources. Valid values are ALL(all identified resources),COUNT(n)(randomly selectnof the identified resources),PERCENT(n)(randomly selectnpercent of the identified resources).
- filters List<Property Map>
- Filter(s) for the target. Filters can be used to select resources based on specific attributes returned by the respective describe action of the resource type. For more information, see Targets for AWS FIS. See below.
- parameters Map<String>
- The resource type parameters. - NOTE: The - targetconfiguration block requires either- resource_arnsor- resource_tag.
- resourceArns List<String>
- Set of ARNs of the resources to target with an action. Conflicts with resource_tag.
- List<Property Map>
- Tag(s) the resources need to have to be considered a valid target for an action. Conflicts with resource_arns. See below.
ExperimentTemplateTargetFilter, ExperimentTemplateTargetFilterArgs        
- Path string
- Attribute path for the filter.
- Values List<string>
- Set of attribute values for the filter. - NOTE: Values specified in a - filterare joined with an- ORclause, while values across multiple- filterblocks are joined with an- ANDclause. For more information, see Targets for AWS FIS.
- Path string
- Attribute path for the filter.
- Values []string
- Set of attribute values for the filter. - NOTE: Values specified in a - filterare joined with an- ORclause, while values across multiple- filterblocks are joined with an- ANDclause. For more information, see Targets for AWS FIS.
- path String
- Attribute path for the filter.
- values List<String>
- Set of attribute values for the filter. - NOTE: Values specified in a - filterare joined with an- ORclause, while values across multiple- filterblocks are joined with an- ANDclause. For more information, see Targets for AWS FIS.
- path string
- Attribute path for the filter.
- values string[]
- Set of attribute values for the filter. - NOTE: Values specified in a - filterare joined with an- ORclause, while values across multiple- filterblocks are joined with an- ANDclause. For more information, see Targets for AWS FIS.
- path str
- Attribute path for the filter.
- values Sequence[str]
- Set of attribute values for the filter. - NOTE: Values specified in a - filterare joined with an- ORclause, while values across multiple- filterblocks are joined with an- ANDclause. For more information, see Targets for AWS FIS.
- path String
- Attribute path for the filter.
- values List<String>
- Set of attribute values for the filter. - NOTE: Values specified in a - filterare joined with an- ORclause, while values across multiple- filterblocks are joined with an- ANDclause. For more information, see Targets for AWS FIS.
ExperimentTemplateTargetResourceTag, ExperimentTemplateTargetResourceTagArgs          
Import
Using pulumi import, import FIS Experiment Templates using the id. For example:
$ pulumi import aws:fis/experimentTemplate:ExperimentTemplate template EXT123AbCdEfGhIjK
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.