AWS::FIS::ExperimentTemplateSpecifies an experiment template. An experiment template includes the following components: - *Targets* : A target can be a specific resource in your AWS environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags. - *Actions* : The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment. - *Stop conditions* : If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm. For more information, see [Experiment templates](https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html) in the *AWS Fault Injection Service User Guide* .
import { CfnExperimentTemplate } from 'aws-cdk-lib/aws-fis';Or use the module namespace:
import * as fis from 'aws-cdk-lib/aws-fis';
// fis.CfnExperimentTemplateConfiguration passed to the constructor as CfnExperimentTemplateProps.
descriptionRequiredstringThe description for the experiment template.
roleArnRequiredstring | IRoleRefThe Amazon Resource Name (ARN) of an IAM role.
stopConditionsRequiredIResolvable | IResolvable | ExperimentTemplateStopConditionProperty[]The stop conditions for the experiment.
targetsRequiredIResolvable | { [key: string]: IResolvable | ExperimentTemplateTargetProperty }The targets for the experiment.
actionsOptionalIResolvable | { [key: string]: IResolvable | ExperimentTemplateActionProperty }The actions for the experiment.
experimentOptionsOptionalIResolvable | ExperimentTemplateExperimentOptionsPropertyThe experiment options for an experiment template.
experimentReportConfigurationOptionalIResolvable | ExperimentTemplateExperimentReportConfigurationPropertyDescribes the report configuration for the experiment template.
logConfigurationOptionalIResolvable | ExperimentTemplateLogConfigurationPropertyThe configuration for experiment logging.
tagsOptional{ [key: string]: string }The tags for the experiment template.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-fisAWS::FIS::ExperimentTemplate