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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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
  prefix: "Prefix",
  encryption: {
    sses3: {
    },
    ssekms: {
      key_id: "SSEKMSKeyId", # required
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The ID of the account that owns the destination bucket.

Returns:

  • (String)


3826
3827
3828
3829
3830
3831
3832
3833
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 3826

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)


3826
3827
3828
3829
3830
3831
3832
3833
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 3826

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.



3826
3827
3828
3829
3830
3831
3832
3833
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 3826

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)


3826
3827
3828
3829
3830
3831
3832
3833
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 3826

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)


3826
3827
3828
3829
3830
3831
3832
3833
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 3826

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