Interface CfnLifecyclePolicy.ResourceSelectionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicy.ResourceSelectionProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicy
@Stability(Stable)
public static interface CfnLifecyclePolicy.ResourceSelectionProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.imagebuilder.*;
ResourceSelectionProperty resourceSelectionProperty = ResourceSelectionProperty.builder()
.recipes(List.of(RecipeSelectionProperty.builder()
.name("name")
.semanticVersion("semanticVersion")
.build()))
.tagMap(Map.of(
"tagMapKey", "tagMap"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecyclePolicy.ResourceSelectionPropertystatic final classAn implementation forCfnLifecyclePolicy.ResourceSelectionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.default ObjectA list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRecipes
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLifecyclePolicy.RecipeSelectionProperty>- See Also:
-
getTagMap
A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
builder
-