AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Macie2::Types::Scoping

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Scoping as input to an Aws::Client method, you can use a vanilla Hash:

{
  excludes: {
    and: [
      {
        simple_scope_term: {
          comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
          key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
          values: ["__string"],
        },
        tag_scope_term: {
          comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
          key: "__string",
          tag_values: [
            {
              key: "__string",
              value: "__string",
            },
          ],
          target: "S3_OBJECT", # accepts S3_OBJECT
        },
      },
    ],
  },
  includes: {
    and: [
      {
        simple_scope_term: {
          comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
          key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
          values: ["__string"],
        },
        tag_scope_term: {
          comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
          key: "__string",
          tag_values: [
            {
              key: "__string",
              value: "__string",
            },
          ],
          target: "S3_OBJECT", # accepts S3_OBJECT
        },
      },
    ],
  },
}

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#excludesTypes::JobScopingBlock

Reserved for future use.

Returns:

#includesTypes::JobScopingBlock

Reserved for future use.

Returns: