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

Class: Aws::Macie::Types::AssociateS3ResourcesRequest

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 AssociateS3ResourcesRequest data as a hash:

{
  member_account_id: "AWSAccountId",
  s3_resources: [ # required
    {
      bucket_name: "BucketName", # required
      prefix: "Prefix",
      classification_type: { # required
        one_time: "FULL", # required, accepts FULL, NONE
        continuous: "FULL", # required, accepts FULL
      },
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#member_account_idString

The ID of the Amazon Macie member account whose resources you want to associate with Macie.

Returns:

  • (String)


76
77
78
79
80
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/types.rb', line 76

class AssociateS3ResourcesRequest < Struct.new(
  :member_account_id,
  :s3_resources)
  include Aws::Structure
end

#s3_resourcesArray<Types::S3ResourceClassification>

The S3 resources that you want to associate with Amazon Macie for monitoring and data classification.



76
77
78
79
80
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/types.rb', line 76

class AssociateS3ResourcesRequest < Struct.new(
  :member_account_id,
  :s3_resources)
  include Aws::Structure
end