You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Macie::Types::S3Resource

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

Overview

Note:

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

{
  bucket_name: "BucketName", # required
  prefix: "Prefix",
}

Contains information about the S3 resource. This data type is used as a request parameter in the DisassociateS3Resources action and can be used as a response parameter in the AssociateS3Resources and UpdateS3Resources actions.

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_nameString

The name of the S3 bucket.

Returns:

  • (String)


448
449
450
451
452
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/types.rb', line 448

class S3Resource < Struct.new(
  :bucket_name,
  :prefix)
  include Aws::Structure
end

#prefixString

The prefix of the S3 bucket.

Returns:

  • (String)


448
449
450
451
452
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/types.rb', line 448

class S3Resource < Struct.new(
  :bucket_name,
  :prefix)
  include Aws::Structure
end