Add-VSS3BucketRedirectAllRequestsTo

Add-VSS3BucketRedirectAllRequestsTo

SYNOPSIS

Adds an AWS::S3::Bucket.RedirectAllRequestsTo resource property to the template. Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

SYNTAX

Add-VSS3BucketRedirectAllRequestsTo [-HostName] <Object> [[-Protocol] <Object>] [<CommonParameters>]

DESCRIPTION

Adds an AWS::S3::Bucket.RedirectAllRequestsTo resource property to the template. Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

PARAMETERS

-HostName

Name of the host where requests are redirected.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-redirectallrequeststo.html#cfn-s3-websiteconfiguration-redirectallrequeststo-hostname PrimitiveType: String UpdateType: Mutable

Type: Object
Parameter Sets: (All)
Aliases:

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

-Protocol

Protocol to use when redirecting requests. The default is the protocol that is used in the original request.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-redirectallrequeststo.html#cfn-s3-websiteconfiguration-redirectallrequeststo-protocol PrimitiveType: String UpdateType: Mutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
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.S3.Bucket.RedirectAllRequestsTo

NOTES

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-redirectallrequeststo.html