Class: Aws::S3::Types::InventoryConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::InventoryConfiguration
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
When making an API call, you may pass InventoryConfiguration data as a hash:
{
destination: { # required
s3_bucket_destination: { # required
account_id: "AccountId",
bucket: "BucketName", # required
format: "CSV", # required, accepts CSV, ORC, Parquet
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, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus
schedule: { # required
frequency: "Daily", # required, accepts Daily, Weekly
},
}
Instance Attribute Summary collapse
-
#destination ⇒ Types::InventoryDestination
Contains information about where to publish the inventory results.
-
#filter ⇒ Types::InventoryFilter
Specifies an inventory filter.
-
#id ⇒ String
The ID used to identify the inventory configuration.
-
#included_object_versions ⇒ String
Specifies which object version(s) to included in the inventory results.
-
#is_enabled ⇒ Boolean
Specifies whether the inventory is enabled or disabled.
-
#optional_fields ⇒ Array<String>
Contains the optional fields that are included in the inventory results.
-
#schedule ⇒ Types::InventorySchedule
Specifies the schedule for generating inventory results.
Instance Attribute Details
#destination ⇒ Types::InventoryDestination
Contains information about where to publish the inventory results.
4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 |
# File 'lib/aws-sdk-s3/types.rb', line 4142 class InventoryConfiguration < Struct.new( :destination, :is_enabled, :filter, :id, :included_object_versions, :optional_fields, :schedule) include Aws::Structure end |
#filter ⇒ Types::InventoryFilter
Specifies an inventory filter. The inventory only includes objects that meet the filter’s criteria.
4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 |
# File 'lib/aws-sdk-s3/types.rb', line 4142 class InventoryConfiguration < Struct.new( :destination, :is_enabled, :filter, :id, :included_object_versions, :optional_fields, :schedule) include Aws::Structure end |
#id ⇒ String
The ID used to identify the inventory configuration.
4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 |
# File 'lib/aws-sdk-s3/types.rb', line 4142 class InventoryConfiguration < Struct.new( :destination, :is_enabled, :filter, :id, :included_object_versions, :optional_fields, :schedule) include Aws::Structure end |
#included_object_versions ⇒ String
Specifies which object version(s) to included in the inventory results.
4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 |
# File 'lib/aws-sdk-s3/types.rb', line 4142 class InventoryConfiguration < Struct.new( :destination, :is_enabled, :filter, :id, :included_object_versions, :optional_fields, :schedule) include Aws::Structure end |
#is_enabled ⇒ Boolean
Specifies whether the inventory is enabled or disabled.
4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 |
# File 'lib/aws-sdk-s3/types.rb', line 4142 class InventoryConfiguration < Struct.new( :destination, :is_enabled, :filter, :id, :included_object_versions, :optional_fields, :schedule) include Aws::Structure end |
#optional_fields ⇒ Array<String>
Contains the optional fields that are included in the inventory results.
4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 |
# File 'lib/aws-sdk-s3/types.rb', line 4142 class InventoryConfiguration < Struct.new( :destination, :is_enabled, :filter, :id, :included_object_versions, :optional_fields, :schedule) include Aws::Structure end |
#schedule ⇒ Types::InventorySchedule
Specifies the schedule for generating inventory results.
4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 |
# File 'lib/aws-sdk-s3/types.rb', line 4142 class InventoryConfiguration < Struct.new( :destination, :is_enabled, :filter, :id, :included_object_versions, :optional_fields, :schedule) include Aws::Structure end |