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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLifecyclePolicy.ResourceSelectionProperty
static final class
An implementation forCfnLifecyclePolicy.ResourceSelectionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.default Object
A 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.- 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.- See Also:
-
builder
-