libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

Description

 
Synopsis

Documentation

data AwsS3BucketWebsiteConfigurationRoutingRuleRedirect Source #

The rules to redirect the request if the condition in Condition is met.

See: newAwsS3BucketWebsiteConfigurationRoutingRuleRedirect smart constructor.

Constructors

AwsS3BucketWebsiteConfigurationRoutingRuleRedirect' 

Fields

Instances

Instances details
Eq AwsS3BucketWebsiteConfigurationRoutingRuleRedirect Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

Read AwsS3BucketWebsiteConfigurationRoutingRuleRedirect Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

Show AwsS3BucketWebsiteConfigurationRoutingRuleRedirect Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

Generic AwsS3BucketWebsiteConfigurationRoutingRuleRedirect Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

NFData AwsS3BucketWebsiteConfigurationRoutingRuleRedirect Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

Hashable AwsS3BucketWebsiteConfigurationRoutingRuleRedirect Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

ToJSON AwsS3BucketWebsiteConfigurationRoutingRuleRedirect Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

FromJSON AwsS3BucketWebsiteConfigurationRoutingRuleRedirect Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

type Rep AwsS3BucketWebsiteConfigurationRoutingRuleRedirect Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

type Rep AwsS3BucketWebsiteConfigurationRoutingRuleRedirect = D1 ('MetaData "AwsS3BucketWebsiteConfigurationRoutingRuleRedirect" "Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsS3BucketWebsiteConfigurationRoutingRuleRedirect'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "hostname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "httpRedirectCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "replaceKeyWith") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "replaceKeyPrefixWith") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newAwsS3BucketWebsiteConfigurationRoutingRuleRedirect :: AwsS3BucketWebsiteConfigurationRoutingRuleRedirect Source #

Create a value of AwsS3BucketWebsiteConfigurationRoutingRuleRedirect with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:hostname:AwsS3BucketWebsiteConfigurationRoutingRuleRedirect', awsS3BucketWebsiteConfigurationRoutingRuleRedirect_hostname - The host name to use in the redirect request.

$sel:protocol:AwsS3BucketWebsiteConfigurationRoutingRuleRedirect', awsS3BucketWebsiteConfigurationRoutingRuleRedirect_protocol - The protocol to use to redirect the request. By default, uses the protocol from the original request.

$sel:httpRedirectCode:AwsS3BucketWebsiteConfigurationRoutingRuleRedirect', awsS3BucketWebsiteConfigurationRoutingRuleRedirect_httpRedirectCode - The HTTP redirect code to use in the response.

$sel:replaceKeyWith:AwsS3BucketWebsiteConfigurationRoutingRuleRedirect', awsS3BucketWebsiteConfigurationRoutingRuleRedirect_replaceKeyWith - The specific object key to use in the redirect request.

Cannot be provided if ReplaceKeyPrefixWith is present.

$sel:replaceKeyPrefixWith:AwsS3BucketWebsiteConfigurationRoutingRuleRedirect', awsS3BucketWebsiteConfigurationRoutingRuleRedirect_replaceKeyPrefixWith - The object key prefix to use in the redirect request.

Cannot be provided if ReplaceKeyWith is present.

awsS3BucketWebsiteConfigurationRoutingRuleRedirect_protocol :: Lens' AwsS3BucketWebsiteConfigurationRoutingRuleRedirect (Maybe Text) Source #

The protocol to use to redirect the request. By default, uses the protocol from the original request.

awsS3BucketWebsiteConfigurationRoutingRuleRedirect_replaceKeyWith :: Lens' AwsS3BucketWebsiteConfigurationRoutingRuleRedirect (Maybe Text) Source #

The specific object key to use in the redirect request.

Cannot be provided if ReplaceKeyPrefixWith is present.

awsS3BucketWebsiteConfigurationRoutingRuleRedirect_replaceKeyPrefixWith :: Lens' AwsS3BucketWebsiteConfigurationRoutingRuleRedirect (Maybe Text) Source #

The object key prefix to use in the redirect request.

Cannot be provided if ReplaceKeyWith is present.