Interface CfnDirectoryBucket.InventoryConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDirectoryBucket.InventoryConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDirectoryBucket
@Stability(Stable)
public static interface CfnDirectoryBucket.InventoryConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies an inventory configuration for an Amazon S3 Express bucket.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3express.*;
InventoryConfigurationProperty inventoryConfigurationProperty = InventoryConfigurationProperty.builder()
.destination(DestinationProperty.builder()
.bucketArn("bucketArn")
.format("format")
// the properties below are optional
.bucketAccountId("bucketAccountId")
.prefix("prefix")
.build())
.enabled(false)
.id("id")
.includedObjectVersions("includedObjectVersions")
.scheduleFrequency("scheduleFrequency")
// the properties below are optional
.optionalFields(List.of("optionalFields"))
.prefix("prefix")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDirectoryBucket.InventoryConfigurationPropertystatic final classAn implementation forCfnDirectoryBucket.InventoryConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Specifies information about where to publish inventory reports for an Amazon S3 Express bucket.Specifies whether the inventory is enabled or disabled.getId()The ID used to identify the inventory configuration.Object versions to include in the inventory list.Contains the optional fields that are included in the inventory results.default StringThe prefix that is prepended to all inventory results.Specifies the schedule for generating inventory results.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestination
Specifies information about where to publish inventory reports for an Amazon S3 Express bucket.Returns union: either
IResolvableorCfnDirectoryBucket.DestinationProperty- See Also:
-
getEnabled
Specifies whether the inventory is enabled or disabled.Returns union: either
BooleanorIResolvable- See Also:
-
getId
The ID used to identify the inventory configuration.- See Also:
-
getIncludedObjectVersions
Object versions to include in the inventory list.- See Also:
-
getScheduleFrequency
Specifies the schedule for generating inventory results.- See Also:
-
getOptionalFields
Contains the optional fields that are included in the inventory results.- See Also:
-
getPrefix
The prefix that is prepended to all inventory results.- See Also:
-
builder
-