interface ResourceSelectionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ImageBuilder.CfnLifecyclePolicy.ResourceSelectionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnLifecyclePolicy_ResourceSelectionProperty |
![]() | software.amazon.awscdk.services.imagebuilder.CfnLifecyclePolicy.ResourceSelectionProperty |
![]() | aws_cdk.aws_imagebuilder.CfnLifecyclePolicy.ResourceSelectionProperty |
![]() | aws-cdk-lib » aws_imagebuilder » CfnLifecyclePolicy » ResourceSelectionProperty |
Resource selection criteria for the lifecycle policy.
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 resourceSelectionProperty: imagebuilder.CfnLifecyclePolicy.ResourceSelectionProperty = {
recipes: [{
name: 'name',
semanticVersion: 'semanticVersion',
}],
tagMap: {
tagMapKey: 'tagMap',
},
};
Properties
Name | Type | Description |
---|---|---|
recipes? | IResolvable | IResolvable | Recipe [] | A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to. |
tag | { [string]: string } | IResolvable | A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to. |
recipes?
Type:
IResolvable
|
IResolvable
|
Recipe
[]
(optional)
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
tagMap?
Type:
{ [string]: string } |
IResolvable
(optional)
A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.