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

Class: Aws::S3::Types::InventoryConfiguration

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

Overview

Note:

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

{
  destination: { # required
    s3_bucket_destination: { # required
      account_id: "AccountId",
      bucket: "BucketName", # required
      format: "CSV", # required, accepts CSV, ORC
      prefix: "Prefix",
      encryption: {
        sses3: {
        },
        ssekms: {
          key_id: "SSEKMSKeyId", # required
        },
      },
    },
  },
  is_enabled: false, # required
  filter: {
    prefix: "Prefix", # required
  },
  id: "InventoryId", # required
  included_object_versions: "All", # required, accepts All, Current
  optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus
  schedule: { # required
    frequency: "Daily", # required, accepts Daily, Weekly
  },
}

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#destinationTypes::InventoryDestination

Contains information about where to publish the inventory results.

Returns:

#filterTypes::InventoryFilter

Specifies an inventory filter. The inventory only includes objects that meet the filter\'s criteria.

Returns:

#idString

The ID used to identify the inventory configuration.

Returns:

  • (String)

    The ID used to identify the inventory configuration.

#included_object_versionsString

Specifies which object version(s) to included in the inventory results.

Possible values:

  • All
  • Current

Returns:

  • (String)

    Specifies which object version(s) to included in the inventory results.

#is_enabledBoolean

Specifies whether the inventory is enabled or disabled.

Returns:

  • (Boolean)

    Specifies whether the inventory is enabled or disabled.

#optional_fieldsArray<String>

Contains the optional fields that are included in the inventory results.

Returns:

  • (Array<String>)

    Contains the optional fields that are included in the inventory results.

#scheduleTypes::InventorySchedule

Specifies the schedule for generating inventory results.

Returns: