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
The resource selection 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")
// the properties below are optional
.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
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRecipes
The recipes to select.- See Also:
-
getTagMap
The Image Builder resources to select by tag.- See Also:
-
builder
-