interface InventoryConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Mixins.CfnBucketPropsMixin.InventoryConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/mixins#CfnBucketPropsMixin_InventoryConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnBucketPropsMixin.InventoryConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_s3.mixins.CfnBucketPropsMixin.InventoryConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_s3 » mixins » CfnBucketPropsMixin » InventoryConfigurationProperty |
Specifies the S3 Inventory configuration for an Amazon S3 bucket.
For more information, see GET Bucket inventory in the Amazon S3 API Reference .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as s3_mixins } from '@aws-cdk/mixins-preview/aws-s3';
const inventoryConfigurationProperty: s3_mixins.CfnBucketPropsMixin.InventoryConfigurationProperty = {
destination: {
bucketAccountId: 'bucketAccountId',
bucketArn: 'bucketArn',
format: 'format',
prefix: 'prefix',
},
enabled: false,
id: 'id',
includedObjectVersions: 'includedObjectVersions',
optionalFields: ['optionalFields'],
prefix: 'prefix',
scheduleFrequency: 'scheduleFrequency',
};
Properties
| Name | Type | Description |
|---|---|---|
| destination? | IResolvable | Destination | Contains information about where to publish the inventory results. |
| enabled? | boolean | IResolvable | Specifies whether the inventory is enabled or disabled. |
| id? | string | The ID used to identify the inventory configuration. |
| included | string | Object versions to include in the inventory list. |
| optional | string[] | Contains the optional fields that are included in the inventory results. |
| prefix? | string | Specifies the inventory filter prefix. |
| schedule | string | Specifies the schedule for generating inventory results. |
destination?
Type:
IResolvable | Destination
(optional)
Contains information about where to publish the inventory results.
enabled?
Type:
boolean | IResolvable
(optional)
Specifies whether the inventory is enabled or disabled.
If set to True , an inventory list is generated. If set to False , no inventory list is generated.
id?
Type:
string
(optional)
The ID used to identify the inventory configuration.
includedObjectVersions?
Type:
string
(optional)
Object versions to include in the inventory list.
If set to All , the list includes all the object versions, which adds the version-related fields VersionId , IsLatest , and DeleteMarker to the list. If set to Current , the list does not contain these version-related fields.
optionalFields?
Type:
string[]
(optional)
Contains the optional fields that are included in the inventory results.
prefix?
Type:
string
(optional)
Specifies the inventory filter prefix.
scheduleFrequency?
Type:
string
(optional)
Specifies the schedule for generating inventory results.

.NET
Go
Java
Python
TypeScript