Class: Aws::Macie2::Types::SearchResourcesBucketCriteria

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

Overview

Note:

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

{
  excludes: {
    and: [
      {
        simple_criterion: {
          comparator: "EQ", # accepts EQ, NE
          key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
          values: ["__string"],
        },
        tag_criterion: {
          comparator: "EQ", # accepts EQ, NE
          tag_values: [
            {
              key: "__string",
              value: "__string",
            },
          ],
        },
      },
    ],
  },
  includes: {
    and: [
      {
        simple_criterion: {
          comparator: "EQ", # accepts EQ, NE
          key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
          values: ["__string"],
        },
        tag_criterion: {
          comparator: "EQ", # accepts EQ, NE
          tag_values: [
            {
              key: "__string",
              value: "__string",
            },
          ],
        },
      },
    ],
  },
}

Specifies property- and tag-based conditions that define filter criteria for including or excluding S3 buckets from the query results. Exclude conditions take precedence over include conditions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#excludesTypes::SearchResourcesCriteriaBlock

Specifies property- and tag-based conditions that define filter criteria for including or excluding Amazon Web Services resources from the query results.



5325
5326
5327
5328
5329
5330
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 5325

class SearchResourcesBucketCriteria < Struct.new(
  :excludes,
  :includes)
  SENSITIVE = []
  include Aws::Structure
end

#includesTypes::SearchResourcesCriteriaBlock

Specifies property- and tag-based conditions that define filter criteria for including or excluding Amazon Web Services resources from the query results.



5325
5326
5327
5328
5329
5330
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 5325

class SearchResourcesBucketCriteria < Struct.new(
  :excludes,
  :includes)
  SENSITIVE = []
  include Aws::Structure
end