interface ExperimentTemplateStopConditionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.FIS.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty |
Java | software.amazon.awscdk.services.fis.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty |
Python | aws_cdk.aws_fis.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty |
TypeScript | @aws-cdk/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 * as fis from '@aws-cdk/aws-fis';
const experimentTemplateStopConditionProperty: fis.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty = {
source: 'source',
// the properties below are optional
value: 'value',
};
Properties
Name | Type | Description |
---|---|---|
source | string | The source for the stop condition. |
value? | string | The 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.