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 IRedirectAllRequestsToProperty
Syntax (vb)
Public Interface 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
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
System.String
Remarks
Protocol
Protocol to use when redirecting requests.
virtual string Protocol { get; }
Property Value
System.String
Remarks
The default is the protocol that is used in the original request.