interface RedirectAllRequestsToProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Mixins.CfnBucketPropsMixin.RedirectAllRequestsToProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/mixins#CfnBucketPropsMixin_RedirectAllRequestsToProperty |
Java | software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnBucketPropsMixin.RedirectAllRequestsToProperty |
Python | aws_cdk.mixins_preview.aws_s3.mixins.CfnBucketPropsMixin.RedirectAllRequestsToProperty |
TypeScript | @aws-cdk/mixins-preview » aws_s3 » mixins » CfnBucketPropsMixin » RedirectAllRequestsToProperty |
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as s3_mixins } from '@aws-cdk/mixins-preview/aws-s3';
const redirectAllRequestsToProperty: s3_mixins.CfnBucketPropsMixin.RedirectAllRequestsToProperty = {
hostName: 'hostName',
protocol: 'protocol',
};
Properties
| Name | Type | Description |
|---|---|---|
| host | string | Name of the host where requests are redirected. |
| protocol? | string | Protocol to use when redirecting requests. |
hostName?
Type:
string
(optional)
Name of the host where requests are redirected.
protocol?
Type:
string
(optional)
Protocol to use when redirecting requests.
The default is the protocol that is used in the original request.

.NET
Go
Java
Python
TypeScript