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

Class: Aws::S3::Types::InventoryS3BucketDestination

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

Overview

Note:

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

{
  account_id: "AccountId",
  bucket: "BucketName", # required
  format: "CSV", # required, accepts CSV, ORC, Parquet
  prefix: "Prefix",
  encryption: {
    sses3: {
    },
    ssekms: {
      key_id: "SSEKMSKeyId", # required
    },
  },
}

Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.

Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.

Returns:

  • (String)

    The account ID that owns the destination S3 bucket.

#bucketString

The Amazon Resource Name (ARN) of the bucket where inventory results will be published.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the bucket where inventory results will be published.

#encryptionTypes::InventoryEncryption

Contains the type of server-side encryption used to encrypt the inventory results.

Returns:

#formatString

Specifies the output format of the inventory results.

Possible values:

  • CSV
  • ORC
  • Parquet

Returns:

  • (String)

    Specifies the output format of the inventory results.

#prefixString

The prefix that is prepended to all inventory results.

Returns:

  • (String)

    The prefix that is prepended to all inventory results.