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)


19253
19254
19255
19256
19257
19258
19259
19260
19261
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 19253

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)


19253
19254
19255
19256
19257
19258
19259
19260
19261
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 19253

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)


19253
19254
19255
19256
19257
19258
19259
19260
19261
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 19253

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)


19253
19254
19255
19256
19257
19258
19259
19260
19261
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 19253

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)


19253
19254
19255
19256
19257
19258
19259
19260
19261
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 19253

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