interface AutoDisablePolicyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ImageBuilder.CfnImagePipelinePropsMixin.AutoDisablePolicyProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsimagebuilder#CfnImagePipelinePropsMixin_AutoDisablePolicyProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnImagePipelinePropsMixin.AutoDisablePolicyProperty |
Python | aws_cdk.cfn_property_mixins.aws_imagebuilder.CfnImagePipelinePropsMixin.AutoDisablePolicyProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_imagebuilder » CfnImagePipelinePropsMixin » 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/cfn-property-mixins';
const autoDisablePolicyProperty: imagebuilder.CfnImagePipelinePropsMixin.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
(optional)
The number of consecutive scheduled image pipeline executions that must fail before Image Builder automatically disables the pipeline.

.NET
Go
Java
Python
TypeScript