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.AwsS3BucketWebsiteConfigurationRedirectTo

Description

 
Synopsis

Documentation

data AwsS3BucketWebsiteConfigurationRedirectTo Source #

The redirect behavior for requests to the website.

See: newAwsS3BucketWebsiteConfigurationRedirectTo smart constructor.

Constructors

AwsS3BucketWebsiteConfigurationRedirectTo' 

Fields

  • hostname :: Maybe Text

    The name of the host to redirect requests to.

  • protocol :: Maybe Text

    The protocol to use when redirecting requests. By default, uses the same protocol as the original request.

Instances

Instances details
Eq AwsS3BucketWebsiteConfigurationRedirectTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRedirectTo

Read AwsS3BucketWebsiteConfigurationRedirectTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRedirectTo

Show AwsS3BucketWebsiteConfigurationRedirectTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRedirectTo

Generic AwsS3BucketWebsiteConfigurationRedirectTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRedirectTo

NFData AwsS3BucketWebsiteConfigurationRedirectTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRedirectTo

Hashable AwsS3BucketWebsiteConfigurationRedirectTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRedirectTo

ToJSON AwsS3BucketWebsiteConfigurationRedirectTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRedirectTo

FromJSON AwsS3BucketWebsiteConfigurationRedirectTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRedirectTo

type Rep AwsS3BucketWebsiteConfigurationRedirectTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketWebsiteConfigurationRedirectTo

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

newAwsS3BucketWebsiteConfigurationRedirectTo :: AwsS3BucketWebsiteConfigurationRedirectTo Source #

Create a value of AwsS3BucketWebsiteConfigurationRedirectTo 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:AwsS3BucketWebsiteConfigurationRedirectTo', awsS3BucketWebsiteConfigurationRedirectTo_hostname - The name of the host to redirect requests to.

$sel:protocol:AwsS3BucketWebsiteConfigurationRedirectTo', awsS3BucketWebsiteConfigurationRedirectTo_protocol - The protocol to use when redirecting requests. By default, uses the same protocol as the original request.

awsS3BucketWebsiteConfigurationRedirectTo_protocol :: Lens' AwsS3BucketWebsiteConfigurationRedirectTo (Maybe Text) Source #

The protocol to use when redirecting requests. By default, uses the same protocol as the original request.