You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::S3::Types::PutBucketInventoryConfigurationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::PutBucketInventoryConfigurationRequest
- Defined in:
- (unknown)
Overview
When passing PutBucketInventoryConfigurationRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
bucket: "BucketName", # required
id: "InventoryId", # required
inventory_configuration: { # required
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, IntelligentTieringAccessTier
schedule: { # required
frequency: "Daily", # required, accepts Daily, Weekly
},
},
expected_bucket_owner: "AccountId",
use_accelerate_endpoint: false,
}
Instance Attribute Summary collapse
-
#bucket ⇒ String
The name of the bucket where the inventory configuration will be stored.
-
#expected_bucket_owner ⇒ String
The account id of the expected bucket owner.
-
#id ⇒ String
The ID used to identify the inventory configuration.
-
#inventory_configuration ⇒ Types::InventoryConfiguration
Specifies the inventory configuration.
-
#use_accelerate_endpoint ⇒ Boolean
When true, the "https://BUCKETNAME.s3-accelerate.amazonaws.com" endpoint will be used.
Instance Attribute Details
#bucket ⇒ String
The name of the bucket where the inventory configuration will be stored.
#expected_bucket_owner ⇒ String
The account id of the expected bucket owner. If the bucket is owned by a
different account, the request will fail with an HTTP 403 (Access
Denied)
error.
#id ⇒ String
The ID used to identify the inventory configuration.
#inventory_configuration ⇒ Types::InventoryConfiguration
Specifies the inventory configuration.
#use_accelerate_endpoint ⇒ Boolean
When true, the "https://BUCKETNAME.s3-accelerate.amazonaws.com" endpoint will be used.