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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Note:

When making an API call, you may pass InventoryS3BucketDestination data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The ID of the account that owns the destination bucket.

Returns:

  • (String)


5821
5822
5823
5824
5825
5826
5827
5828
# File 'lib/aws-sdk-s3/types.rb', line 5821

class InventoryS3BucketDestination < Struct.new(
  :account_id,
  :bucket,
  :format,
  :prefix,
  :encryption)
  include Aws::Structure
end

#bucketString

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

Returns:

  • (String)


5821
5822
5823
5824
5825
5826
5827
5828
# File 'lib/aws-sdk-s3/types.rb', line 5821

class InventoryS3BucketDestination < Struct.new(
  :account_id,
  :bucket,
  :format,
  :prefix,
  :encryption)
  include Aws::Structure
end

#encryptionTypes::InventoryEncryption

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



5821
5822
5823
5824
5825
5826
5827
5828
# File 'lib/aws-sdk-s3/types.rb', line 5821

class InventoryS3BucketDestination < Struct.new(
  :account_id,
  :bucket,
  :format,
  :prefix,
  :encryption)
  include Aws::Structure
end

#formatString

Specifies the output format of the inventory results.

Returns:

  • (String)


5821
5822
5823
5824
5825
5826
5827
5828
# File 'lib/aws-sdk-s3/types.rb', line 5821

class InventoryS3BucketDestination < Struct.new(
  :account_id,
  :bucket,
  :format,
  :prefix,
  :encryption)
  include Aws::Structure
end

#prefixString

The prefix that is prepended to all inventory results.

Returns:

  • (String)


5821
5822
5823
5824
5825
5826
5827
5828
# File 'lib/aws-sdk-s3/types.rb', line 5821

class InventoryS3BucketDestination < Struct.new(
  :account_id,
  :bucket,
  :format,
  :prefix,
  :encryption)
  include Aws::Structure
end