aws-cdk-lib.aws_fis.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty
interface ExperimentTemplateStopConditionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.FIS.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsfis#CfnExperimentTemplate_ExperimentTemplateStopConditionProperty |
![]() | software.amazon.awscdk.services.fis.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty |
![]() | aws_cdk.aws_fis.CfnExperimentTemplate.ExperimentTemplateStopConditionProperty |
![]() | 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
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.