Class: Aws::SecurityHub::Types::AwsS3BucketWebsiteConfigurationRedirectTo

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsS3BucketWebsiteConfigurationRedirectTo data as a hash:

{
  hostname: "NonEmptyString",
  protocol: "NonEmptyString",
}

The redirect behavior for requests to the website.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#hostnameString

The name of the host to redirect requests to.

Returns:

  • (String)


16521
16522
16523
16524
16525
16526
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16521

class AwsS3BucketWebsiteConfigurationRedirectTo < Struct.new(
  :hostname,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

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

Returns:

  • (String)


16521
16522
16523
16524
16525
16526
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16521

class AwsS3BucketWebsiteConfigurationRedirectTo < Struct.new(
  :hostname,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end