Show / Hide Table of Contents

Interface CfnBucket.IRedirectAllRequestsToProperty

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnBucket.IRedirectAllRequestsToProperty
Syntax (vb)
Public Interface CfnBucket.IRedirectAllRequestsToProperty
Remarks

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

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.S3;

             var redirectAllRequestsToProperty = new RedirectAllRequestsToProperty {
                 HostName = "hostName",

                 // the properties below are optional
                 Protocol = "protocol"
             };

Synopsis

Properties

HostName

Name of the host where requests are redirected.

Protocol

Protocol to use when redirecting requests.

Properties

HostName

Name of the host where requests are redirected.

string HostName { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-redirectallrequeststo.html#cfn-s3-bucket-redirectallrequeststo-hostname

Protocol

Protocol to use when redirecting requests.

string? Protocol { get; }
Property Value

string

Remarks

The default is the protocol that is used in the original request.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-redirectallrequeststo.html#cfn-s3-bucket-redirectallrequeststo-protocol

Back to top Generated by DocFX