Interface CfnLifecyclePolicy.FilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicy.FilterProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicy
@Stability(Stable)
public static interface CfnLifecyclePolicy.FilterProperty
extends software.amazon.jsii.JsiiSerializable
A filter name and value pair that is used to return a more specific list of results from a list operation.
Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
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.*;
FilterProperty filterProperty = FilterProperty.builder()
.type("type")
.value(123)
// the properties below are optional
.retainAtLeast(123)
.unit("unit")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecyclePolicy.FilterPropertystatic final classAn implementation forCfnLifecyclePolicy.FilterProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The filter type.- See Also:
-
getValue
The filter value.- See Also:
-
getRetainAtLeast
The minimum number of Image Builder resources to retain.- See Also:
-
getUnit
A time unit.- See Also:
-
builder
-