Class CfnBucket.RedirectAllRequestsToProperty
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
Inheritance
System.Object
CfnBucket.RedirectAllRequestsToProperty
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RedirectAllRequestsToProperty : Object, CfnBucket.IRedirectAllRequestsToProperty
Syntax (vb)
Public Class RedirectAllRequestsToProperty
Inherits Object
Implements CfnBucket.IRedirectAllRequestsToProperty
Remarks
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
Constructors
RedirectAllRequestsToProperty() |
Properties
HostName | Name of the host where requests are redirected. |
Protocol | Protocol to use when redirecting requests. |
Constructors
RedirectAllRequestsToProperty()
public RedirectAllRequestsToProperty()
Properties
HostName
Name of the host where requests are redirected.
public string HostName { get; set; }
Property Value
System.String
Remarks
Protocol
Protocol to use when redirecting requests.
public string Protocol { get; set; }
Property Value
System.String
Remarks
The default is the protocol that is used in the original request.