@Stability(value=Stable) public static final class CfnLifecyclePolicy.ParametersProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLifecyclePolicy.ParametersProperty>
CfnLifecyclePolicy.ParametersProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLifecyclePolicy.ParametersProperty |
build()
Builds the configured instance.
|
CfnLifecyclePolicy.ParametersProperty.Builder |
excludeBootVolume(Boolean excludeBootVolume)
Sets the value of
CfnLifecyclePolicy.ParametersProperty.getExcludeBootVolume() |
CfnLifecyclePolicy.ParametersProperty.Builder |
excludeBootVolume(IResolvable excludeBootVolume)
Sets the value of
CfnLifecyclePolicy.ParametersProperty.getExcludeBootVolume() |
CfnLifecyclePolicy.ParametersProperty.Builder |
noReboot(Boolean noReboot)
Sets the value of
CfnLifecyclePolicy.ParametersProperty.getNoReboot() |
CfnLifecyclePolicy.ParametersProperty.Builder |
noReboot(IResolvable noReboot)
Sets the value of
CfnLifecyclePolicy.ParametersProperty.getNoReboot() |
@Stability(value=Stable) public CfnLifecyclePolicy.ParametersProperty.Builder excludeBootVolume(Boolean excludeBootVolume)
CfnLifecyclePolicy.ParametersProperty.getExcludeBootVolume()excludeBootVolume - [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) . The default is false.this@Stability(value=Stable) public CfnLifecyclePolicy.ParametersProperty.Builder excludeBootVolume(IResolvable excludeBootVolume)
CfnLifecyclePolicy.ParametersProperty.getExcludeBootVolume()excludeBootVolume - [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) . The default is false.this@Stability(value=Stable) public CfnLifecyclePolicy.ParametersProperty.Builder noReboot(Boolean noReboot)
CfnLifecyclePolicy.ParametersProperty.getNoReboot()noReboot - Applies to AMI lifecycle policies only.
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).this@Stability(value=Stable) public CfnLifecyclePolicy.ParametersProperty.Builder noReboot(IResolvable noReboot)
CfnLifecyclePolicy.ParametersProperty.getNoReboot()noReboot - Applies to AMI lifecycle policies only.
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).this@Stability(value=Stable) public CfnLifecyclePolicy.ParametersProperty build()
build in interface software.amazon.jsii.Builder<CfnLifecyclePolicy.ParametersProperty>CfnLifecyclePolicy.ParametersPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.