Class: Aws::SecurityHub::Types::AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#hostname ⇒ String

The host name to use in the redirect request.

Returns:

  • (String)


18822
18823
18824
18825
18826
18827
18828
18829
18830
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18822

class AwsS3BucketWebsiteConfigurationRoutingRuleRedirect < Struct.new(
  :hostname,
  :http_redirect_code,
  :protocol,
  :replace_key_prefix_with,
  :replace_key_with)
  SENSITIVE = []
  include Aws::Structure
end

#http_redirect_code ⇒ String

The HTTP redirect code to use in the response.

Returns:

  • (String)


18822
18823
18824
18825
18826
18827
18828
18829
18830
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18822

class AwsS3BucketWebsiteConfigurationRoutingRuleRedirect < Struct.new(
  :hostname,
  :http_redirect_code,
  :protocol,
  :replace_key_prefix_with,
  :replace_key_with)
  SENSITIVE = []
  include Aws::Structure
end

#protocol ⇒ String

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

Returns:

  • (String)


18822
18823
18824
18825
18826
18827
18828
18829
18830
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18822

class AwsS3BucketWebsiteConfigurationRoutingRuleRedirect < Struct.new(
  :hostname,
  :http_redirect_code,
  :protocol,
  :replace_key_prefix_with,
  :replace_key_with)
  SENSITIVE = []
  include Aws::Structure
end

#replace_key_prefix_with ⇒ String

The object key prefix to use in the redirect request.

Cannot be provided if ReplaceKeyWith is present.

Returns:

  • (String)


18822
18823
18824
18825
18826
18827
18828
18829
18830
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18822

class AwsS3BucketWebsiteConfigurationRoutingRuleRedirect < Struct.new(
  :hostname,
  :http_redirect_code,
  :protocol,
  :replace_key_prefix_with,
  :replace_key_with)
  SENSITIVE = []
  include Aws::Structure
end

#replace_key_with ⇒ String

The specific object key to use in the redirect request.

Cannot be provided if ReplaceKeyPrefixWith is present.

Returns:

  • (String)


18822
18823
18824
18825
18826
18827
18828
18829
18830
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 18822

class AwsS3BucketWebsiteConfigurationRoutingRuleRedirect < Struct.new(
  :hostname,
  :http_redirect_code,
  :protocol,
  :replace_key_prefix_with,
  :replace_key_with)
  SENSITIVE = []
  include Aws::Structure
end