Add-VSDLMLifecyclePolicyRetainRule

Add-VSDLMLifecyclePolicyRetainRule

SYNOPSIS

Adds an AWS::DLM::LifecyclePolicy.RetainRule resource property to the template. Specifies the retention rule for a lifecycle policy. You can retain snapshots based on either a count or a time interval.

SYNTAX

Add-VSDLMLifecyclePolicyRetainRule [[-IntervalUnit] <Object>] [[-Count] <Object>] [[-Interval] <Object>]
 [<CommonParameters>]

DESCRIPTION

Adds an AWS::DLM::LifecyclePolicy.RetainRule resource property to the template. Specifies the retention rule for a lifecycle policy. You can retain snapshots based on either a count or a time interval.

PARAMETERS

-IntervalUnit

The unit of time for time-based retention.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retainrule.html#cfn-dlm-lifecyclepolicy-retainrule-intervalunit PrimitiveType: String UpdateType: Mutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Count

The number of snapshots to retain for each volume, up to a maximum of 1000.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retainrule.html#cfn-dlm-lifecyclepolicy-retainrule-count PrimitiveType: Integer UpdateType: Mutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Interval

The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retainrule.html#cfn-dlm-lifecyclepolicy-retainrule-interval PrimitiveType: Integer UpdateType: Mutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Vaporshell.Resource.DLM.LifecyclePolicy.RetainRule

NOTES

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retainrule.html