Show / Hide Table of Contents

Class CfnBucketPropsMixin.RedirectAllRequestsToProperty

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

Inheritance
object
CfnBucketPropsMixin.RedirectAllRequestsToProperty
Implements
CfnBucketPropsMixin.IRedirectAllRequestsToProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.S3.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnBucketPropsMixin.RedirectAllRequestsToProperty : CfnBucketPropsMixin.IRedirectAllRequestsToProperty
Syntax (vb)
Public Class CfnBucketPropsMixin.RedirectAllRequestsToProperty Implements CfnBucketPropsMixin.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.Mixins.Preview.AWS.S3.Mixins;

             var redirectAllRequestsToProperty = new RedirectAllRequestsToProperty {
                 HostName = "hostName",
                 Protocol = "protocol"
             };

Synopsis

Constructors

RedirectAllRequestsToProperty()

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

Properties

HostName

Name of the host where requests are redirected.

Protocol

Protocol to use when redirecting requests.

Constructors

RedirectAllRequestsToProperty()

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

public RedirectAllRequestsToProperty()
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.Mixins.Preview.AWS.S3.Mixins;

             var redirectAllRequestsToProperty = new RedirectAllRequestsToProperty {
                 HostName = "hostName",
                 Protocol = "protocol"
             };

Properties

HostName

Name of the host where requests are redirected.

public string? HostName { get; set; }
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.

public string? Protocol { get; set; }
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

Implements

CfnBucketPropsMixin.IRedirectAllRequestsToProperty
Back to top Generated by DocFX