Class CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty
Resource selection criteria for the lifecycle policy.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.ImageBuilder
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty : CfnLifecyclePolicyPropsMixin.IResourceSelectionProperty
Syntax (vb)
Public Class CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty Implements CfnLifecyclePolicyPropsMixin.IResourceSelectionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.ImageBuilder;
var resourceSelectionProperty = new ResourceSelectionProperty {
Recipes = new [] { new RecipeSelectionProperty {
Name = "name",
SemanticVersion = "semanticVersion"
} },
TagMap = new Dictionary<string, string> {
{ "tagMapKey", "tagMap" }
}
};
Synopsis
Constructors
| ResourceSelectionProperty() | Resource selection criteria for the lifecycle policy. |
Properties
| Recipes | A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to. |
| TagMap | A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to. |
Constructors
ResourceSelectionProperty()
Resource selection criteria for the lifecycle policy.
public ResourceSelectionProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.ImageBuilder;
var resourceSelectionProperty = new ResourceSelectionProperty {
Recipes = new [] { new RecipeSelectionProperty {
Name = "name",
SemanticVersion = "semanticVersion"
} },
TagMap = new Dictionary<string, string> {
{ "tagMapKey", "tagMap" }
}
};
Properties
Recipes
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
public object? Recipes { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnLifecyclePolicyPropsMixin.IRecipeSelectionProperty)[]
TagMap
A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.
public object? TagMap { get; set; }
Property Value
Remarks
Type union: either Dictionary<string, string> or IResolvable