interface AutoDisablePolicyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.CfnImagePipeline.AutoDisablePolicyProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnImagePipeline_AutoDisablePolicyProperty |
Java | software.amazon.awscdk.services.imagebuilder.CfnImagePipeline.AutoDisablePolicyProperty |
Python | aws_cdk.aws_imagebuilder.CfnImagePipeline.AutoDisablePolicyProperty |
TypeScript | aws-cdk-lib » aws_imagebuilder » CfnImagePipeline » AutoDisablePolicyProperty |
Defines the rules by which an image pipeline is automatically disabled when it fails.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const autoDisablePolicyProperty: imagebuilder.CfnImagePipeline.AutoDisablePolicyProperty = {
failureCount: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| failure | number | The number of consecutive scheduled image pipeline executions that must fail before Image Builder automatically disables the pipeline. |
failureCount
Type:
number
The number of consecutive scheduled image pipeline executions that must fail before Image Builder automatically disables the pipeline.

.NET
Go
Java
Python
TypeScript