aws-cdk-lib.aws_fis.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty

interface ExperimentTemplateStopConditionProperty

LanguageType name
.NETAmazon.CDK.AWS.FIS.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsfis#CfnExperimentTemplate_ExperimentTemplateStopConditionProperty
Javasoftware.amazon.awscdk.services.fis.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty
Pythonaws_cdk.aws_fis.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty
TypeScript aws-cdk-lib » aws_fis » CfnExperimentTemplate » ExperimentTemplateStopConditionProperty

Specifies a stop condition for an experiment template.

For more information, see Stop conditions in the AWS Fault Injection Simulator User Guide .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fis as fis } from 'aws-cdk-lib';
const experimentTemplateStopConditionProperty: fis.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty = {
  source: 'source',

  // the properties below are optional
  value: 'value',
};

Properties

NameTypeDescription
sourcestringThe source for the stop condition.
value?stringThe Amazon Resource Name (ARN) of the CloudWatch alarm.

source

Type: string

The source for the stop condition.

Specify aws:cloudwatch:alarm if the stop condition is defined by a CloudWatch alarm. Specify none if there is no stop condition.


value?

Type: string (optional)

The Amazon Resource Name (ARN) of the CloudWatch alarm.

This is required if the source is a CloudWatch alarm.