Class: Aws::DLM::Types::Parameters
- Inherits:
-
Struct
- Object
- Struct
- Aws::DLM::Types::Parameters
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dlm/types.rb
Overview
**[Custom snapshot and AMI policies only]** Specifies optional parameters for snapshot and AMI policies. The set of valid parameters depends on the combination of policy type and target resource type.
If you choose to exclude boot volumes and you specify tags that consequently exclude all of the additional data volumes attached to an instance, then Amazon Data Lifecycle Manager will not create any snapshots for the affected instance, and it will emit a ‘SnapshotsCreateFailed` Amazon CloudWatch metric. For more information, see [Monitor your policies using Amazon CloudWatch].
[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitor-dlm-cw-metrics.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#exclude_boot_volume ⇒ Boolean
**[Custom snapshot policies that target instances only]** Indicates whether to exclude the root volume from multi-volume snapshot sets.
-
#exclude_data_volume_tags ⇒ Array<Types::Tag>
**[Custom snapshot policies that target instances only]** The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.
-
#no_reboot ⇒ Boolean
**[Custom AMI policies only]** Indicates whether targeted instances are rebooted when the lifecycle policy runs.
Instance Attribute Details
#exclude_boot_volume ⇒ Boolean
**[Custom snapshot policies that target instances only]** Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is ‘false`. If you specify `true`, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/aws-sdk-dlm/types.rb', line 1022 class Parameters < Struct.new( :exclude_boot_volume, :no_reboot, :exclude_data_volume_tags) SENSITIVE = [] include Aws::Structure end |
#exclude_data_volume_tags ⇒ Array<Types::Tag>
**[Custom snapshot policies that target instances only]** The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.
If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/aws-sdk-dlm/types.rb', line 1022 class Parameters < Struct.new( :exclude_boot_volume, :no_reboot, :exclude_data_volume_tags) SENSITIVE = [] include Aws::Structure end |
#no_reboot ⇒ Boolean
**[Custom AMI 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).
1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/aws-sdk-dlm/types.rb', line 1022 class Parameters < Struct.new( :exclude_boot_volume, :no_reboot, :exclude_data_volume_tags) SENSITIVE = [] include Aws::Structure end |