@Stability(value=Stable)
public static interface CfnLifecyclePolicy.ParametersProperty
extends software.amazon.jsii.JsiiSerializable
The set of valid parameters depends on the combination of policy type and resource type.
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.dlm.*;
ParametersProperty parametersProperty = ParametersProperty.builder()
.excludeBootVolume(false)
.excludeDataVolumeTags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.noReboot(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLifecyclePolicy.ParametersProperty.Builder
A builder for
CfnLifecyclePolicy.ParametersProperty |
static class |
CfnLifecyclePolicy.ParametersProperty.Jsii$Proxy
An implementation for
CfnLifecyclePolicy.ParametersProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLifecyclePolicy.ParametersProperty.Builder |
builder() |
default Object |
getExcludeBootVolume()
[EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots created using [CreateSnapshots](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSnapshots.html) .
|
default Object |
getExcludeDataVolumeTags()
`CfnLifecyclePolicy.ParametersProperty.ExcludeDataVolumeTags`.
|
default Object |
getNoReboot()
Applies to AMI lifecycle policies only.
|
@Stability(value=Stable) @Nullable default Object getExcludeBootVolume()
@Stability(value=Stable) @Nullable default Object getExcludeDataVolumeTags()
@Stability(value=Stable) @Nullable default Object getNoReboot()
Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).
@Stability(value=Stable) static CfnLifecyclePolicy.ParametersProperty.Builder builder()
Copyright © 2022. All rights reserved.