Add-VSS3BucketObjectLockRule
Add-VSS3BucketObjectLockRule
SYNOPSIS
Adds an AWS::S3::Bucket.ObjectLockRule resource property to the template. The Object Lock rule in place for the specified object.
SYNTAX
Add-VSS3BucketObjectLockRule [[-DefaultRetention] <Object>] [<CommonParameters>]
DESCRIPTION
Adds an AWS::S3::Bucket.ObjectLockRule resource property to the template. The Object Lock rule in place for the specified object.
PARAMETERS
-DefaultRetention
The default retention period that you want to apply to new objects placed in the specified bucket.
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-objectlockrule.html#cfn-s3-bucket-objectlockrule-defaultretention Type: DefaultRetention UpdateType: Mutable
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
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.