class CfnImagePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins.CfnImagePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsimagebuilder/mixins#CfnImagePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.imagebuilder.mixins.CfnImagePropsMixin |
Python | aws_cdk.mixins_preview.aws_imagebuilder.mixins.CfnImagePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_imagebuilder » mixins » CfnImagePropsMixin |
Implements
IMixin
Extends
Mixin
Creates a new image.
This request will create a new image along with all of the configured output resources defined in the distribution configuration. You must specify exactly one recipe for your image, using either a ContainerRecipeArn or an ImageRecipeArn.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as imagebuilder_mixins } from '@aws-cdk/mixins-preview/aws-imagebuilder';
const cfnImagePropsMixin = new imagebuilder_mixins.CfnImagePropsMixin({
containerRecipeArn: 'containerRecipeArn',
deletionSettings: {
executionRole: 'executionRole',
},
distributionConfigurationArn: 'distributionConfigurationArn',
enhancedImageMetadataEnabled: false,
executionRole: 'executionRole',
imagePipelineExecutionSettings: {
deploymentId: 'deploymentId',
onUpdate: false,
},
imageRecipeArn: 'imageRecipeArn',
imageScanningConfiguration: {
ecrConfiguration: {
containerTags: ['containerTags'],
repositoryName: 'repositoryName',
},
imageScanningEnabled: false,
},
imageTestsConfiguration: {
imageTestsEnabled: false,
timeoutMinutes: 123,
},
infrastructureConfigurationArn: 'infrastructureConfigurationArn',
loggingConfiguration: {
logGroupName: 'logGroupName',
},
tags: {
tagsKey: 'tags',
},
workflows: [{
onFailure: 'onFailure',
parallelGroup: 'parallelGroup',
parameters: [{
name: 'name',
value: ['value'],
}],
workflowArn: 'workflowArn',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnImagePropsMixin(props: CfnImageMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Image Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::ImageBuilder::Image.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): void
Parameters
- construct
IConstruct
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript