published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Provides a OSS Bucket Inventory resource.
The inventory rule of an OSS bucket. Inventory periodically exports object metadata from a bucket.
For information about OSS Bucket Inventory and how to use it, see What is Bucket Inventory.
NOTE: Available since v1.284.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const createBucket = new alicloud.oss.Bucket("CreateBucket", {storageClass: "Standard"});
const _default = new alicloud.oss.BucketInventory("default", {
destination: {},
optionalFields: {
fields: [
"Size",
"LastModifiedDate",
"ETag",
],
},
bucket: createBucket.id,
filter: {
prefix: "Pics/",
lowerSizeBound: 256,
upperSizeBound: 999999,
storageClass: "Standard",
},
includedObjectVersions: "Current",
schedule: {
frequency: "Daily",
},
inventoryId: "report01",
isEnabled: false,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
create_bucket = alicloud.oss.Bucket("CreateBucket", storage_class="Standard")
default = alicloud.oss.BucketInventory("default",
destination={},
optional_fields={
"fields": [
"Size",
"LastModifiedDate",
"ETag",
],
},
bucket=create_bucket.id,
filter={
"prefix": "Pics/",
"lower_size_bound": 256,
"upper_size_bound": 999999,
"storage_class": "Standard",
},
included_object_versions="Current",
schedule={
"frequency": "Daily",
},
inventory_id="report01",
is_enabled=False)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
createBucket, err := oss.NewBucket(ctx, "CreateBucket", &oss.BucketArgs{
StorageClass: pulumi.String("Standard"),
})
if err != nil {
return err
}
_, err = oss.NewBucketInventory(ctx, "default", &oss.BucketInventoryArgs{
Destination: &oss.BucketInventoryDestinationArgs{},
OptionalFields: &oss.BucketInventoryOptionalFieldsArgs{
Fields: pulumi.StringArray{
pulumi.String("Size"),
pulumi.String("LastModifiedDate"),
pulumi.String("ETag"),
},
},
Bucket: createBucket.ID(),
Filter: &oss.BucketInventoryFilterArgs{
Prefix: pulumi.String("Pics/"),
LowerSizeBound: pulumi.Int(256),
UpperSizeBound: pulumi.Int(999999),
StorageClass: pulumi.String("Standard"),
},
IncludedObjectVersions: pulumi.String("Current"),
Schedule: &oss.BucketInventoryScheduleArgs{
Frequency: pulumi.String("Daily"),
},
InventoryId: pulumi.String("report01"),
IsEnabled: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var createBucket = new AliCloud.Oss.Bucket("CreateBucket", new()
{
StorageClass = "Standard",
});
var @default = new AliCloud.Oss.BucketInventory("default", new()
{
Destination = null,
OptionalFields = new AliCloud.Oss.Inputs.BucketInventoryOptionalFieldsArgs
{
Fields = new[]
{
"Size",
"LastModifiedDate",
"ETag",
},
},
Bucket = createBucket.Id,
Filter = new AliCloud.Oss.Inputs.BucketInventoryFilterArgs
{
Prefix = "Pics/",
LowerSizeBound = 256,
UpperSizeBound = 999999,
StorageClass = "Standard",
},
IncludedObjectVersions = "Current",
Schedule = new AliCloud.Oss.Inputs.BucketInventoryScheduleArgs
{
Frequency = "Daily",
},
InventoryId = "report01",
IsEnabled = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.oss.Bucket;
import com.pulumi.alicloud.oss.BucketArgs;
import com.pulumi.alicloud.oss.BucketInventory;
import com.pulumi.alicloud.oss.BucketInventoryArgs;
import com.pulumi.alicloud.oss.inputs.BucketInventoryDestinationArgs;
import com.pulumi.alicloud.oss.inputs.BucketInventoryOptionalFieldsArgs;
import com.pulumi.alicloud.oss.inputs.BucketInventoryFilterArgs;
import com.pulumi.alicloud.oss.inputs.BucketInventoryScheduleArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var createBucket = new Bucket("createBucket", BucketArgs.builder()
.storageClass("Standard")
.build());
var default_ = new BucketInventory("default", BucketInventoryArgs.builder()
.destination(BucketInventoryDestinationArgs.builder()
.build())
.optionalFields(BucketInventoryOptionalFieldsArgs.builder()
.fields(
"Size",
"LastModifiedDate",
"ETag")
.build())
.bucket(createBucket.id())
.filter(BucketInventoryFilterArgs.builder()
.prefix("Pics/")
.lowerSizeBound(256)
.upperSizeBound(999999)
.storageClass("Standard")
.build())
.includedObjectVersions("Current")
.schedule(BucketInventoryScheduleArgs.builder()
.frequency("Daily")
.build())
.inventoryId("report01")
.isEnabled(false)
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
createBucket:
type: alicloud:oss:Bucket
name: CreateBucket
properties:
storageClass: Standard
default:
type: alicloud:oss:BucketInventory
properties:
destination: {}
optionalFields:
fields:
- Size
- LastModifiedDate
- ETag
bucket: ${createBucket.id}
filter:
prefix: Pics/
lowerSizeBound: '256'
upperSizeBound: '999999'
storageClass: Standard
includedObjectVersions: Current
schedule:
frequency: Daily
inventoryId: report01
isEnabled: false
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
resource "alicloud_oss_bucket" "CreateBucket" {
storage_class = "Standard"
}
resource "alicloud_oss_bucketinventory" "default" {
destination = {}
optional_fields = {
fields = ["Size", "LastModifiedDate", "ETag"]
}
bucket = alicloud_oss_bucket.CreateBucket.id
filter = {
prefix = "Pics/"
lower_size_bound = "256"
upper_size_bound = "999999"
storage_class = "Standard"
}
included_object_versions = "Current"
schedule = {
frequency = "Daily"
}
inventory_id = "report01"
is_enabled = false
}
variable "name" {
type = string
default = "terraform-example"
}
📚 Need more examples? VIEW MORE EXAMPLES
Create BucketInventory Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BucketInventory(name: string, args: BucketInventoryArgs, opts?: CustomResourceOptions);@overload
def BucketInventory(resource_name: str,
args: BucketInventoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BucketInventory(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
inventory_id: Optional[str] = None,
destination: Optional[BucketInventoryDestinationArgs] = None,
filter: Optional[BucketInventoryFilterArgs] = None,
included_object_versions: Optional[str] = None,
incremental_inventory: Optional[BucketInventoryIncrementalInventoryArgs] = None,
is_enabled: Optional[bool] = None,
optional_fields: Optional[BucketInventoryOptionalFieldsArgs] = None,
schedule: Optional[BucketInventoryScheduleArgs] = None)func NewBucketInventory(ctx *Context, name string, args BucketInventoryArgs, opts ...ResourceOption) (*BucketInventory, error)public BucketInventory(string name, BucketInventoryArgs args, CustomResourceOptions? opts = null)
public BucketInventory(String name, BucketInventoryArgs args)
public BucketInventory(String name, BucketInventoryArgs args, CustomResourceOptions options)
type: alicloud:oss:BucketInventory
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "alicloud_oss_bucket_inventory" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args BucketInventoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BucketInventoryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BucketInventoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BucketInventoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BucketInventoryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var bucketInventoryResource = new AliCloud.Oss.BucketInventory("bucketInventoryResource", new()
{
Bucket = "string",
InventoryId = "string",
Destination = new AliCloud.Oss.Inputs.BucketInventoryDestinationArgs
{
OssBucketDestination = new AliCloud.Oss.Inputs.BucketInventoryDestinationOssBucketDestinationArgs
{
AccountId = "string",
Bucket = "string",
Encryption = new AliCloud.Oss.Inputs.BucketInventoryDestinationOssBucketDestinationEncryptionArgs
{
Ssekms = new AliCloud.Oss.Inputs.BucketInventoryDestinationOssBucketDestinationEncryptionSsekmsArgs
{
KeyId = "string",
},
Sseoss = "string",
},
Format = "string",
Prefix = "string",
RoleArn = "string",
},
},
Filter = new AliCloud.Oss.Inputs.BucketInventoryFilterArgs
{
LastModifyBeginTimeStamp = 0,
LastModifyEndTimeStamp = 0,
LowerSizeBound = 0,
Prefix = "string",
StorageClass = "string",
UpperSizeBound = 0,
},
IncludedObjectVersions = "string",
IncrementalInventory = new AliCloud.Oss.Inputs.BucketInventoryIncrementalInventoryArgs
{
IsEnabled = false,
OptionalFields = new AliCloud.Oss.Inputs.BucketInventoryIncrementalInventoryOptionalFieldsArgs
{
Fields = new[]
{
"string",
},
},
Schedule = new AliCloud.Oss.Inputs.BucketInventoryIncrementalInventoryScheduleArgs
{
Frequency = 0,
},
},
IsEnabled = false,
OptionalFields = new AliCloud.Oss.Inputs.BucketInventoryOptionalFieldsArgs
{
Fields = new[]
{
"string",
},
},
Schedule = new AliCloud.Oss.Inputs.BucketInventoryScheduleArgs
{
Frequency = "string",
},
});
example, err := oss.NewBucketInventory(ctx, "bucketInventoryResource", &oss.BucketInventoryArgs{
Bucket: pulumi.String("string"),
InventoryId: pulumi.String("string"),
Destination: &oss.BucketInventoryDestinationArgs{
OssBucketDestination: &oss.BucketInventoryDestinationOssBucketDestinationArgs{
AccountId: pulumi.String("string"),
Bucket: pulumi.String("string"),
Encryption: &oss.BucketInventoryDestinationOssBucketDestinationEncryptionArgs{
Ssekms: &oss.BucketInventoryDestinationOssBucketDestinationEncryptionSsekmsArgs{
KeyId: pulumi.String("string"),
},
Sseoss: pulumi.String("string"),
},
Format: pulumi.String("string"),
Prefix: pulumi.String("string"),
RoleArn: pulumi.String("string"),
},
},
Filter: &oss.BucketInventoryFilterArgs{
LastModifyBeginTimeStamp: pulumi.Int(0),
LastModifyEndTimeStamp: pulumi.Int(0),
LowerSizeBound: pulumi.Int(0),
Prefix: pulumi.String("string"),
StorageClass: pulumi.String("string"),
UpperSizeBound: pulumi.Int(0),
},
IncludedObjectVersions: pulumi.String("string"),
IncrementalInventory: &oss.BucketInventoryIncrementalInventoryArgs{
IsEnabled: pulumi.Bool(false),
OptionalFields: &oss.BucketInventoryIncrementalInventoryOptionalFieldsArgs{
Fields: pulumi.StringArray{
pulumi.String("string"),
},
},
Schedule: &oss.BucketInventoryIncrementalInventoryScheduleArgs{
Frequency: pulumi.Int(0),
},
},
IsEnabled: pulumi.Bool(false),
OptionalFields: &oss.BucketInventoryOptionalFieldsArgs{
Fields: pulumi.StringArray{
pulumi.String("string"),
},
},
Schedule: &oss.BucketInventoryScheduleArgs{
Frequency: pulumi.String("string"),
},
})
resource "alicloud_oss_bucket_inventory" "bucketInventoryResource" {
lifecycle {
create_before_destroy = true
}
bucket = "string"
inventory_id = "string"
destination = {
oss_bucket_destination = {
account_id = "string"
bucket = "string"
encryption = {
ssekms = {
key_id = "string"
}
sseoss = "string"
}
format = "string"
prefix = "string"
role_arn = "string"
}
}
filter = {
last_modify_begin_time_stamp = 0
last_modify_end_time_stamp = 0
lower_size_bound = 0
prefix = "string"
storage_class = "string"
upper_size_bound = 0
}
included_object_versions = "string"
incremental_inventory = {
is_enabled = false
optional_fields = {
fields = ["string"]
}
schedule = {
frequency = 0
}
}
is_enabled = false
optional_fields = {
fields = ["string"]
}
schedule = {
frequency = "string"
}
}
var bucketInventoryResource = new BucketInventory("bucketInventoryResource", BucketInventoryArgs.builder()
.bucket("string")
.inventoryId("string")
.destination(BucketInventoryDestinationArgs.builder()
.ossBucketDestination(BucketInventoryDestinationOssBucketDestinationArgs.builder()
.accountId("string")
.bucket("string")
.encryption(BucketInventoryDestinationOssBucketDestinationEncryptionArgs.builder()
.ssekms(BucketInventoryDestinationOssBucketDestinationEncryptionSsekmsArgs.builder()
.keyId("string")
.build())
.sseoss("string")
.build())
.format("string")
.prefix("string")
.roleArn("string")
.build())
.build())
.filter(BucketInventoryFilterArgs.builder()
.lastModifyBeginTimeStamp(0)
.lastModifyEndTimeStamp(0)
.lowerSizeBound(0)
.prefix("string")
.storageClass("string")
.upperSizeBound(0)
.build())
.includedObjectVersions("string")
.incrementalInventory(BucketInventoryIncrementalInventoryArgs.builder()
.isEnabled(false)
.optionalFields(BucketInventoryIncrementalInventoryOptionalFieldsArgs.builder()
.fields("string")
.build())
.schedule(BucketInventoryIncrementalInventoryScheduleArgs.builder()
.frequency(0)
.build())
.build())
.isEnabled(false)
.optionalFields(BucketInventoryOptionalFieldsArgs.builder()
.fields("string")
.build())
.schedule(BucketInventoryScheduleArgs.builder()
.frequency("string")
.build())
.build());
bucket_inventory_resource = alicloud.oss.BucketInventory("bucketInventoryResource",
bucket="string",
inventory_id="string",
destination={
"oss_bucket_destination": {
"account_id": "string",
"bucket": "string",
"encryption": {
"ssekms": {
"key_id": "string",
},
"sseoss": "string",
},
"format": "string",
"prefix": "string",
"role_arn": "string",
},
},
filter={
"last_modify_begin_time_stamp": 0,
"last_modify_end_time_stamp": 0,
"lower_size_bound": 0,
"prefix": "string",
"storage_class": "string",
"upper_size_bound": 0,
},
included_object_versions="string",
incremental_inventory={
"is_enabled": False,
"optional_fields": {
"fields": ["string"],
},
"schedule": {
"frequency": 0,
},
},
is_enabled=False,
optional_fields={
"fields": ["string"],
},
schedule={
"frequency": "string",
})
const bucketInventoryResource = new alicloud.oss.BucketInventory("bucketInventoryResource", {
bucket: "string",
inventoryId: "string",
destination: {
ossBucketDestination: {
accountId: "string",
bucket: "string",
encryption: {
ssekms: {
keyId: "string",
},
sseoss: "string",
},
format: "string",
prefix: "string",
roleArn: "string",
},
},
filter: {
lastModifyBeginTimeStamp: 0,
lastModifyEndTimeStamp: 0,
lowerSizeBound: 0,
prefix: "string",
storageClass: "string",
upperSizeBound: 0,
},
includedObjectVersions: "string",
incrementalInventory: {
isEnabled: false,
optionalFields: {
fields: ["string"],
},
schedule: {
frequency: 0,
},
},
isEnabled: false,
optionalFields: {
fields: ["string"],
},
schedule: {
frequency: "string",
},
});
type: alicloud:oss:BucketInventory
properties:
bucket: string
destination:
ossBucketDestination:
accountId: string
bucket: string
encryption:
ssekms:
keyId: string
sseoss: string
format: string
prefix: string
roleArn: string
filter:
lastModifyBeginTimeStamp: 0
lastModifyEndTimeStamp: 0
lowerSizeBound: 0
prefix: string
storageClass: string
upperSizeBound: 0
includedObjectVersions: string
incrementalInventory:
isEnabled: false
optionalFields:
fields:
- string
schedule:
frequency: 0
inventoryId: string
isEnabled: false
optionalFields:
fields:
- string
schedule:
frequency: string
BucketInventory Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BucketInventory resource accepts the following input properties:
- Bucket string
- The name of the bucket.
- Inventory
Id string - The ID of the inventory rule. The ID must be unique in the bucket.
- Destination
Pulumi.
Ali Cloud. Oss. Inputs. Bucket Inventory Destination - Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - Filter
Pulumi.
Ali Cloud. Oss. Inputs. Bucket Inventory Filter - Container for inventory filtering rules. See
filterbelow. - Included
Object stringVersions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- Incremental
Inventory Pulumi.Ali Cloud. Oss. Inputs. Bucket Inventory Incremental Inventory - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - Is
Enabled bool - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- Optional
Fields Pulumi.Ali Cloud. Oss. Inputs. Bucket Inventory Optional Fields - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - Schedule
Pulumi.
Ali Cloud. Oss. Inputs. Bucket Inventory Schedule - Container for storing inventory export cycle information. See
schedulebelow.
- Bucket string
- The name of the bucket.
- Inventory
Id string - The ID of the inventory rule. The ID must be unique in the bucket.
- Destination
Bucket
Inventory Destination Args - Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - Filter
Bucket
Inventory Filter Args - Container for inventory filtering rules. See
filterbelow. - Included
Object stringVersions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- Incremental
Inventory BucketInventory Incremental Inventory Args - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - Is
Enabled bool - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- Optional
Fields BucketInventory Optional Fields Args - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - Schedule
Bucket
Inventory Schedule Args - Container for storing inventory export cycle information. See
schedulebelow.
- bucket string
- The name of the bucket.
- inventory_
id string - The ID of the inventory rule. The ID must be unique in the bucket.
- destination object
- Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - filter object
- Container for inventory filtering rules. See
filterbelow. - included_
object_ stringversions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- incremental_
inventory object - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - is_
enabled bool - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- optional_
fields object - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - schedule object
- Container for storing inventory export cycle information. See
schedulebelow.
- bucket String
- The name of the bucket.
- inventory
Id String - The ID of the inventory rule. The ID must be unique in the bucket.
- destination
Bucket
Inventory Destination - Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - filter
Bucket
Inventory Filter - Container for inventory filtering rules. See
filterbelow. - included
Object StringVersions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- incremental
Inventory BucketInventory Incremental Inventory - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - is
Enabled Boolean - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- optional
Fields BucketInventory Optional Fields - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - schedule
Bucket
Inventory Schedule - Container for storing inventory export cycle information. See
schedulebelow.
- bucket string
- The name of the bucket.
- inventory
Id string - The ID of the inventory rule. The ID must be unique in the bucket.
- destination
Bucket
Inventory Destination - Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - filter
Bucket
Inventory Filter - Container for inventory filtering rules. See
filterbelow. - included
Object stringVersions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- incremental
Inventory BucketInventory Incremental Inventory - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - is
Enabled boolean - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- optional
Fields BucketInventory Optional Fields - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - schedule
Bucket
Inventory Schedule - Container for storing inventory export cycle information. See
schedulebelow.
- bucket str
- The name of the bucket.
- inventory_
id str - The ID of the inventory rule. The ID must be unique in the bucket.
- destination
Bucket
Inventory Destination Args - Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - filter
Bucket
Inventory Filter Args - Container for inventory filtering rules. See
filterbelow. - included_
object_ strversions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- incremental_
inventory BucketInventory Incremental Inventory Args - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - is_
enabled bool - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- optional_
fields BucketInventory Optional Fields Args - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - schedule
Bucket
Inventory Schedule Args - Container for storing inventory export cycle information. See
schedulebelow.
- bucket String
- The name of the bucket.
- inventory
Id String - The ID of the inventory rule. The ID must be unique in the bucket.
- destination Property Map
- Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - filter Property Map
- Container for inventory filtering rules. See
filterbelow. - included
Object StringVersions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- incremental
Inventory Property Map - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - is
Enabled Boolean - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- optional
Fields Property Map - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - schedule Property Map
- Container for storing inventory export cycle information. See
schedulebelow.
Outputs
All input properties are implicitly available as output properties. Additionally, the BucketInventory resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing BucketInventory Resource
Get an existing BucketInventory resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BucketInventoryState, opts?: CustomResourceOptions): BucketInventory@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
destination: Optional[BucketInventoryDestinationArgs] = None,
filter: Optional[BucketInventoryFilterArgs] = None,
included_object_versions: Optional[str] = None,
incremental_inventory: Optional[BucketInventoryIncrementalInventoryArgs] = None,
inventory_id: Optional[str] = None,
is_enabled: Optional[bool] = None,
optional_fields: Optional[BucketInventoryOptionalFieldsArgs] = None,
schedule: Optional[BucketInventoryScheduleArgs] = None) -> BucketInventoryfunc GetBucketInventory(ctx *Context, name string, id IDInput, state *BucketInventoryState, opts ...ResourceOption) (*BucketInventory, error)public static BucketInventory Get(string name, Input<string> id, BucketInventoryState? state, CustomResourceOptions? opts = null)public static BucketInventory get(String name, Output<String> id, BucketInventoryState state, CustomResourceOptions options)resources: _: type: alicloud:oss:BucketInventory get: id: ${id}import {
to = alicloud_oss_bucket_inventory.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bucket string
- The name of the bucket.
- Destination
Pulumi.
Ali Cloud. Oss. Inputs. Bucket Inventory Destination - Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - Filter
Pulumi.
Ali Cloud. Oss. Inputs. Bucket Inventory Filter - Container for inventory filtering rules. See
filterbelow. - Included
Object stringVersions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- Incremental
Inventory Pulumi.Ali Cloud. Oss. Inputs. Bucket Inventory Incremental Inventory - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - Inventory
Id string - The ID of the inventory rule. The ID must be unique in the bucket.
- Is
Enabled bool - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- Optional
Fields Pulumi.Ali Cloud. Oss. Inputs. Bucket Inventory Optional Fields - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - Schedule
Pulumi.
Ali Cloud. Oss. Inputs. Bucket Inventory Schedule - Container for storing inventory export cycle information. See
schedulebelow.
- Bucket string
- The name of the bucket.
- Destination
Bucket
Inventory Destination Args - Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - Filter
Bucket
Inventory Filter Args - Container for inventory filtering rules. See
filterbelow. - Included
Object stringVersions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- Incremental
Inventory BucketInventory Incremental Inventory Args - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - Inventory
Id string - The ID of the inventory rule. The ID must be unique in the bucket.
- Is
Enabled bool - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- Optional
Fields BucketInventory Optional Fields Args - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - Schedule
Bucket
Inventory Schedule Args - Container for storing inventory export cycle information. See
schedulebelow.
- bucket string
- The name of the bucket.
- destination object
- Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - filter object
- Container for inventory filtering rules. See
filterbelow. - included_
object_ stringversions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- incremental_
inventory object - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - inventory_
id string - The ID of the inventory rule. The ID must be unique in the bucket.
- is_
enabled bool - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- optional_
fields object - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - schedule object
- Container for storing inventory export cycle information. See
schedulebelow.
- bucket String
- The name of the bucket.
- destination
Bucket
Inventory Destination - Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - filter
Bucket
Inventory Filter - Container for inventory filtering rules. See
filterbelow. - included
Object StringVersions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- incremental
Inventory BucketInventory Incremental Inventory - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - inventory
Id String - The ID of the inventory rule. The ID must be unique in the bucket.
- is
Enabled Boolean - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- optional
Fields BucketInventory Optional Fields - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - schedule
Bucket
Inventory Schedule - Container for storing inventory export cycle information. See
schedulebelow.
- bucket string
- The name of the bucket.
- destination
Bucket
Inventory Destination - Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - filter
Bucket
Inventory Filter - Container for inventory filtering rules. See
filterbelow. - included
Object stringVersions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- incremental
Inventory BucketInventory Incremental Inventory - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - inventory
Id string - The ID of the inventory rule. The ID must be unique in the bucket.
- is
Enabled boolean - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- optional
Fields BucketInventory Optional Fields - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - schedule
Bucket
Inventory Schedule - Container for storing inventory export cycle information. See
schedulebelow.
- bucket str
- The name of the bucket.
- destination
Bucket
Inventory Destination Args - Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - filter
Bucket
Inventory Filter Args - Container for inventory filtering rules. See
filterbelow. - included_
object_ strversions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- incremental_
inventory BucketInventory Incremental Inventory Args - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - inventory_
id str - The ID of the inventory rule. The ID must be unique in the bucket.
- is_
enabled bool - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- optional_
fields BucketInventory Optional Fields Args - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - schedule
Bucket
Inventory Schedule Args - Container for storing inventory export cycle information. See
schedulebelow.
- bucket String
- The name of the bucket.
- destination Property Map
- Holds the container that holds the location of the inventory results. Note: The parameter is immutable after resource creation and the exported storage location cannot be modified without recreating the rule. See
destinationbelow. - filter Property Map
- Container for inventory filtering rules. See
filterbelow. - included
Object StringVersions - Whether the Object version information is included in the list. Valid values: All: export All version information of the Object. Current: exports the Current version of the Object.
- incremental
Inventory Property Map - Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See
incrementalInventorybelow. - inventory
Id String - The ID of the inventory rule. The ID must be unique in the bucket.
- is
Enabled Boolean - Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
- optional
Fields Property Map - Sets the configuration items included in the manifest results. See
optionalFieldsbelow. - schedule Property Map
- Container for storing inventory export cycle information. See
schedulebelow.
Supporting Types
BucketInventoryDestination, BucketInventoryDestinationArgs
- Oss
Bucket Pulumi.Destination Ali Cloud. Oss. Inputs. Bucket Inventory Destination Oss Bucket Destination - The Bucket information stored after the list result is exported. See
ossBucketDestinationbelow.
- Oss
Bucket BucketDestination Inventory Destination Oss Bucket Destination - The Bucket information stored after the list result is exported. See
ossBucketDestinationbelow.
- oss_
bucket_ objectdestination - The Bucket information stored after the list result is exported. See
ossBucketDestinationbelow.
- oss
Bucket BucketDestination Inventory Destination Oss Bucket Destination - The Bucket information stored after the list result is exported. See
ossBucketDestinationbelow.
- oss
Bucket BucketDestination Inventory Destination Oss Bucket Destination - The Bucket information stored after the list result is exported. See
ossBucketDestinationbelow.
- oss_
bucket_ Bucketdestination Inventory Destination Oss Bucket Destination - The Bucket information stored after the list result is exported. See
ossBucketDestinationbelow.
- oss
Bucket Property MapDestination - The Bucket information stored after the list result is exported. See
ossBucketDestinationbelow.
BucketInventoryDestinationOssBucketDestination, BucketInventoryDestinationOssBucketDestinationArgs
- Account
Id string - The account ID granted by the Bucket owner.
- Bucket string
- The name of the bucket.
- Encryption
Pulumi.
Ali Cloud. Oss. Inputs. Bucket Inventory Destination Oss Bucket Destination Encryption - The encryption method of the manifest file. Valid value: SSE-OSS: Use the OSS fully managed key for encryption and decryption. SSE-KMS: Use the default KMS-managed CMK(Customer Master Key) or a specified CMK for encryption and decryption. See
encryptionbelow. - Format string
- The file format of the manifest file.
- Prefix string
- Role
Arn string - The name of the role that has the permission to read all files in the source Bucket and write files to the target Bucket. The format is acs:ram::uid:role/rolename.
- Account
Id string - The account ID granted by the Bucket owner.
- Bucket string
- The name of the bucket.
- Encryption
Bucket
Inventory Destination Oss Bucket Destination Encryption - The encryption method of the manifest file. Valid value: SSE-OSS: Use the OSS fully managed key for encryption and decryption. SSE-KMS: Use the default KMS-managed CMK(Customer Master Key) or a specified CMK for encryption and decryption. See
encryptionbelow. - Format string
- The file format of the manifest file.
- Prefix string
- Role
Arn string - The name of the role that has the permission to read all files in the source Bucket and write files to the target Bucket. The format is acs:ram::uid:role/rolename.
- account_
id string - The account ID granted by the Bucket owner.
- bucket string
- The name of the bucket.
- encryption object
- The encryption method of the manifest file. Valid value: SSE-OSS: Use the OSS fully managed key for encryption and decryption. SSE-KMS: Use the default KMS-managed CMK(Customer Master Key) or a specified CMK for encryption and decryption. See
encryptionbelow. - format string
- The file format of the manifest file.
- prefix string
- role_
arn string - The name of the role that has the permission to read all files in the source Bucket and write files to the target Bucket. The format is acs:ram::uid:role/rolename.
- account
Id String - The account ID granted by the Bucket owner.
- bucket String
- The name of the bucket.
- encryption
Bucket
Inventory Destination Oss Bucket Destination Encryption - The encryption method of the manifest file. Valid value: SSE-OSS: Use the OSS fully managed key for encryption and decryption. SSE-KMS: Use the default KMS-managed CMK(Customer Master Key) or a specified CMK for encryption and decryption. See
encryptionbelow. - format String
- The file format of the manifest file.
- prefix String
- role
Arn String - The name of the role that has the permission to read all files in the source Bucket and write files to the target Bucket. The format is acs:ram::uid:role/rolename.
- account
Id string - The account ID granted by the Bucket owner.
- bucket string
- The name of the bucket.
- encryption
Bucket
Inventory Destination Oss Bucket Destination Encryption - The encryption method of the manifest file. Valid value: SSE-OSS: Use the OSS fully managed key for encryption and decryption. SSE-KMS: Use the default KMS-managed CMK(Customer Master Key) or a specified CMK for encryption and decryption. See
encryptionbelow. - format string
- The file format of the manifest file.
- prefix string
- role
Arn string - The name of the role that has the permission to read all files in the source Bucket and write files to the target Bucket. The format is acs:ram::uid:role/rolename.
- account_
id str - The account ID granted by the Bucket owner.
- bucket str
- The name of the bucket.
- encryption
Bucket
Inventory Destination Oss Bucket Destination Encryption - The encryption method of the manifest file. Valid value: SSE-OSS: Use the OSS fully managed key for encryption and decryption. SSE-KMS: Use the default KMS-managed CMK(Customer Master Key) or a specified CMK for encryption and decryption. See
encryptionbelow. - format str
- The file format of the manifest file.
- prefix str
- role_
arn str - The name of the role that has the permission to read all files in the source Bucket and write files to the target Bucket. The format is acs:ram::uid:role/rolename.
- account
Id String - The account ID granted by the Bucket owner.
- bucket String
- The name of the bucket.
- encryption Property Map
- The encryption method of the manifest file. Valid value: SSE-OSS: Use the OSS fully managed key for encryption and decryption. SSE-KMS: Use the default KMS-managed CMK(Customer Master Key) or a specified CMK for encryption and decryption. See
encryptionbelow. - format String
- The file format of the manifest file.
- prefix String
- role
Arn String - The name of the role that has the permission to read all files in the source Bucket and write files to the target Bucket. The format is acs:ram::uid:role/rolename.
BucketInventoryDestinationOssBucketDestinationEncryption, BucketInventoryDestinationOssBucketDestinationEncryptionArgs
- Ssekms
Pulumi.
Ali Cloud. Oss. Inputs. Bucket Inventory Destination Oss Bucket Destination Encryption Ssekms - The container that holds the SSE-KMS encryption key. See
ssekmsbelow. - Sseoss string
- The container that holds the SSE-OSS encryption method. Set it to an empty string when OSS-managed keys are used.
- Ssekms
Bucket
Inventory Destination Oss Bucket Destination Encryption Ssekms - The container that holds the SSE-KMS encryption key. See
ssekmsbelow. - Sseoss string
- The container that holds the SSE-OSS encryption method. Set it to an empty string when OSS-managed keys are used.
- ssekms
Bucket
Inventory Destination Oss Bucket Destination Encryption Ssekms - The container that holds the SSE-KMS encryption key. See
ssekmsbelow. - sseoss String
- The container that holds the SSE-OSS encryption method. Set it to an empty string when OSS-managed keys are used.
- ssekms
Bucket
Inventory Destination Oss Bucket Destination Encryption Ssekms - The container that holds the SSE-KMS encryption key. See
ssekmsbelow. - sseoss string
- The container that holds the SSE-OSS encryption method. Set it to an empty string when OSS-managed keys are used.
- ssekms
Bucket
Inventory Destination Oss Bucket Destination Encryption Ssekms - The container that holds the SSE-KMS encryption key. See
ssekmsbelow. - sseoss str
- The container that holds the SSE-OSS encryption method. Set it to an empty string when OSS-managed keys are used.
- ssekms Property Map
- The container that holds the SSE-KMS encryption key. See
ssekmsbelow. - sseoss String
- The container that holds the SSE-OSS encryption method. Set it to an empty string when OSS-managed keys are used.
BucketInventoryDestinationOssBucketDestinationEncryptionSsekms, BucketInventoryDestinationOssBucketDestinationEncryptionSsekmsArgs
- Key
Id string - KMS key ID.
- Key
Id string - KMS key ID.
- key_
id string - KMS key ID.
- key
Id String - KMS key ID.
- key
Id string - KMS key ID.
- key_
id str - KMS key ID.
- key
Id String - KMS key ID.
BucketInventoryFilter, BucketInventoryFilterArgs
- Last
Modify intBegin Time Stamp - The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- Last
Modify intEnd Time Stamp - The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- Lower
Size intBound - The minimum size of the filter file, in B. Value range: greater than or equal to 0 B, less than or equal to 48.8 TB.
- Prefix string
- The match prefix of the filter rule.
- Storage
Class string - The storage type of the filter file. Multiple storage types can be specified. Optional values: Standard: Standard storage IA: low-frequency access Archive: Archive storage ColdArchive: cold Archive storage All (default): All storage types
- Upper
Size intBound - The maximum size of the filter file, in B. Value range: greater than 0 B, less than or equal to 48.8 TB.
- Last
Modify intBegin Time Stamp - The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- Last
Modify intEnd Time Stamp - The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- Lower
Size intBound - The minimum size of the filter file, in B. Value range: greater than or equal to 0 B, less than or equal to 48.8 TB.
- Prefix string
- The match prefix of the filter rule.
- Storage
Class string - The storage type of the filter file. Multiple storage types can be specified. Optional values: Standard: Standard storage IA: low-frequency access Archive: Archive storage ColdArchive: cold Archive storage All (default): All storage types
- Upper
Size intBound - The maximum size of the filter file, in B. Value range: greater than 0 B, less than or equal to 48.8 TB.
- last_
modify_ numberbegin_ time_ stamp - The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- last_
modify_ numberend_ time_ stamp - The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- lower_
size_ numberbound - The minimum size of the filter file, in B. Value range: greater than or equal to 0 B, less than or equal to 48.8 TB.
- prefix string
- The match prefix of the filter rule.
- storage_
class string - The storage type of the filter file. Multiple storage types can be specified. Optional values: Standard: Standard storage IA: low-frequency access Archive: Archive storage ColdArchive: cold Archive storage All (default): All storage types
- upper_
size_ numberbound - The maximum size of the filter file, in B. Value range: greater than 0 B, less than or equal to 48.8 TB.
- last
Modify IntegerBegin Time Stamp - The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- last
Modify IntegerEnd Time Stamp - The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- lower
Size IntegerBound - The minimum size of the filter file, in B. Value range: greater than or equal to 0 B, less than or equal to 48.8 TB.
- prefix String
- The match prefix of the filter rule.
- storage
Class String - The storage type of the filter file. Multiple storage types can be specified. Optional values: Standard: Standard storage IA: low-frequency access Archive: Archive storage ColdArchive: cold Archive storage All (default): All storage types
- upper
Size IntegerBound - The maximum size of the filter file, in B. Value range: greater than 0 B, less than or equal to 48.8 TB.
- last
Modify numberBegin Time Stamp - The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- last
Modify numberEnd Time Stamp - The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- lower
Size numberBound - The minimum size of the filter file, in B. Value range: greater than or equal to 0 B, less than or equal to 48.8 TB.
- prefix string
- The match prefix of the filter rule.
- storage
Class string - The storage type of the filter file. Multiple storage types can be specified. Optional values: Standard: Standard storage IA: low-frequency access Archive: Archive storage ColdArchive: cold Archive storage All (default): All storage types
- upper
Size numberBound - The maximum size of the filter file, in B. Value range: greater than 0 B, less than or equal to 48.8 TB.
- last_
modify_ intbegin_ time_ stamp - The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- last_
modify_ intend_ time_ stamp - The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- lower_
size_ intbound - The minimum size of the filter file, in B. Value range: greater than or equal to 0 B, less than or equal to 48.8 TB.
- prefix str
- The match prefix of the filter rule.
- storage_
class str - The storage type of the filter file. Multiple storage types can be specified. Optional values: Standard: Standard storage IA: low-frequency access Archive: Archive storage ColdArchive: cold Archive storage All (default): All storage types
- upper_
size_ intbound - The maximum size of the filter file, in B. Value range: greater than 0 B, less than or equal to 48.8 TB.
- last
Modify NumberBegin Time Stamp - The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- last
Modify NumberEnd Time Stamp - The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
- lower
Size NumberBound - The minimum size of the filter file, in B. Value range: greater than or equal to 0 B, less than or equal to 48.8 TB.
- prefix String
- The match prefix of the filter rule.
- storage
Class String - The storage type of the filter file. Multiple storage types can be specified. Optional values: Standard: Standard storage IA: low-frequency access Archive: Archive storage ColdArchive: cold Archive storage All (default): All storage types
- upper
Size NumberBound - The maximum size of the filter file, in B. Value range: greater than 0 B, less than or equal to 48.8 TB.
BucketInventoryIncrementalInventory, BucketInventoryIncrementalInventoryArgs
- Is
Enabled bool - Incremental inventory enabled
- Optional
Fields Pulumi.Ali Cloud. Oss. Inputs. Bucket Inventory Incremental Inventory Optional Fields - Configuration container for incremental manifest file properties See
optionalFieldsbelow. - Schedule
Pulumi.
Ali Cloud. Oss. Inputs. Bucket Inventory Incremental Inventory Schedule - Incremental inventory export cycle container See
schedulebelow.
- Is
Enabled bool - Incremental inventory enabled
- Optional
Fields BucketInventory Incremental Inventory Optional Fields - Configuration container for incremental manifest file properties See
optionalFieldsbelow. - Schedule
Bucket
Inventory Incremental Inventory Schedule - Incremental inventory export cycle container See
schedulebelow.
- is_
enabled bool - Incremental inventory enabled
- optional_
fields object - Configuration container for incremental manifest file properties See
optionalFieldsbelow. - schedule object
- Incremental inventory export cycle container See
schedulebelow.
- is
Enabled Boolean - Incremental inventory enabled
- optional
Fields BucketInventory Incremental Inventory Optional Fields - Configuration container for incremental manifest file properties See
optionalFieldsbelow. - schedule
Bucket
Inventory Incremental Inventory Schedule - Incremental inventory export cycle container See
schedulebelow.
- is
Enabled boolean - Incremental inventory enabled
- optional
Fields BucketInventory Incremental Inventory Optional Fields - Configuration container for incremental manifest file properties See
optionalFieldsbelow. - schedule
Bucket
Inventory Incremental Inventory Schedule - Incremental inventory export cycle container See
schedulebelow.
- is_
enabled bool - Incremental inventory enabled
- optional_
fields BucketInventory Incremental Inventory Optional Fields - Configuration container for incremental manifest file properties See
optionalFieldsbelow. - schedule
Bucket
Inventory Incremental Inventory Schedule - Incremental inventory export cycle container See
schedulebelow.
- is
Enabled Boolean - Incremental inventory enabled
- optional
Fields Property Map - Configuration container for incremental manifest file properties See
optionalFieldsbelow. - schedule Property Map
- Incremental inventory export cycle container See
schedulebelow.
BucketInventoryIncrementalInventoryOptionalFields, BucketInventoryIncrementalInventoryOptionalFieldsArgs
- Fields List<string>
- The configuration items contained in the manifest results.
- Fields []string
- The configuration items contained in the manifest results.
- fields list(string)
- The configuration items contained in the manifest results.
- fields List<String>
- The configuration items contained in the manifest results.
- fields string[]
- The configuration items contained in the manifest results.
- fields Sequence[str]
- The configuration items contained in the manifest results.
- fields List<String>
- The configuration items contained in the manifest results.
BucketInventoryIncrementalInventorySchedule, BucketInventoryIncrementalInventoryScheduleArgs
- Frequency int
- Period for manifest file export.
- Frequency int
- Period for manifest file export.
- frequency number
- Period for manifest file export.
- frequency Integer
- Period for manifest file export.
- frequency number
- Period for manifest file export.
- frequency int
- Period for manifest file export.
- frequency Number
- Period for manifest file export.
BucketInventoryOptionalFields, BucketInventoryOptionalFieldsArgs
- Fields List<string>
- The configuration items contained in the manifest results.
- Fields []string
- The configuration items contained in the manifest results.
- fields list(string)
- The configuration items contained in the manifest results.
- fields List<String>
- The configuration items contained in the manifest results.
- fields string[]
- The configuration items contained in the manifest results.
- fields Sequence[str]
- The configuration items contained in the manifest results.
- fields List<String>
- The configuration items contained in the manifest results.
BucketInventorySchedule, BucketInventoryScheduleArgs
- Frequency string
- Period for manifest file export.
- Frequency string
- Period for manifest file export.
- frequency string
- Period for manifest file export.
- frequency String
- Period for manifest file export.
- frequency string
- Period for manifest file export.
- frequency str
- Period for manifest file export.
- frequency String
- Period for manifest file export.
Import
OSS Bucket Inventory can be imported using the id, e.g.
$ pulumi import alicloud:oss/bucketInventory:BucketInventory example <bucket>:<inventory_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Thursday, Jul 16, 2026 by Pulumi