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

#hostnameString

The host name to use in the redirect request.

Returns:

  • (String)


14064
14065
14066
14067
14068
14069
14070
14071
14072
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14064

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

#http_redirect_codeString

The HTTP redirect code to use in the response.

Returns:

  • (String)


14064
14065
14066
14067
14068
14069
14070
14071
14072
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14064

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

#protocolString

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

Returns:

  • (String)


14064
14065
14066
14067
14068
14069
14070
14071
14072
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14064

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

#replace_key_prefix_withString

The object key prefix to use in the redirect request.

Cannot be provided if ReplaceKeyWith is present.

Returns:

  • (String)


14064
14065
14066
14067
14068
14069
14070
14071
14072
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14064

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

#replace_key_withString

The specific object key to use in the redirect request.

Cannot be provided if ReplaceKeyPrefixWith is present.

Returns:

  • (String)


14064
14065
14066
14067
14068
14069
14070
14071
14072
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14064

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