1. Packages
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. oss
  6. BucketInventory
Viewing docs for Alibaba Cloud v3.105.0
published on Thursday, Jul 16, 2026 by Pulumi
alicloud logo
Viewing docs for Alibaba Cloud v3.105.0
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.
    InventoryId string
    The ID of the inventory rule. The ID must be unique in the bucket.
    Destination Pulumi.AliCloud.Oss.Inputs.BucketInventoryDestination
    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 destination below.
    Filter Pulumi.AliCloud.Oss.Inputs.BucketInventoryFilter
    Container for inventory filtering rules. See filter below.
    IncludedObjectVersions string
    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.
    IncrementalInventory Pulumi.AliCloud.Oss.Inputs.BucketInventoryIncrementalInventory
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    IsEnabled bool
    Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
    OptionalFields Pulumi.AliCloud.Oss.Inputs.BucketInventoryOptionalFields
    Sets the configuration items included in the manifest results. See optionalFields below.
    Schedule Pulumi.AliCloud.Oss.Inputs.BucketInventorySchedule
    Container for storing inventory export cycle information. See schedule below.
    Bucket string
    The name of the bucket.
    InventoryId string
    The ID of the inventory rule. The ID must be unique in the bucket.
    Destination BucketInventoryDestinationArgs
    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 destination below.
    Filter BucketInventoryFilterArgs
    Container for inventory filtering rules. See filter below.
    IncludedObjectVersions string
    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.
    IncrementalInventory BucketInventoryIncrementalInventoryArgs
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    IsEnabled bool
    Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
    OptionalFields BucketInventoryOptionalFieldsArgs
    Sets the configuration items included in the manifest results. See optionalFields below.
    Schedule BucketInventoryScheduleArgs
    Container for storing inventory export cycle information. See schedule below.
    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 destination below.
    filter object
    Container for inventory filtering rules. See filter below.
    included_object_versions string
    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 incrementalInventory below.
    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 optionalFields below.
    schedule object
    Container for storing inventory export cycle information. See schedule below.
    bucket String
    The name of the bucket.
    inventoryId String
    The ID of the inventory rule. The ID must be unique in the bucket.
    destination BucketInventoryDestination
    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 destination below.
    filter BucketInventoryFilter
    Container for inventory filtering rules. See filter below.
    includedObjectVersions String
    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.
    incrementalInventory BucketInventoryIncrementalInventory
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    isEnabled Boolean
    Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
    optionalFields BucketInventoryOptionalFields
    Sets the configuration items included in the manifest results. See optionalFields below.
    schedule BucketInventorySchedule
    Container for storing inventory export cycle information. See schedule below.
    bucket string
    The name of the bucket.
    inventoryId string
    The ID of the inventory rule. The ID must be unique in the bucket.
    destination BucketInventoryDestination
    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 destination below.
    filter BucketInventoryFilter
    Container for inventory filtering rules. See filter below.
    includedObjectVersions string
    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.
    incrementalInventory BucketInventoryIncrementalInventory
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    isEnabled boolean
    Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
    optionalFields BucketInventoryOptionalFields
    Sets the configuration items included in the manifest results. See optionalFields below.
    schedule BucketInventorySchedule
    Container for storing inventory export cycle information. See schedule below.
    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 BucketInventoryDestinationArgs
    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 destination below.
    filter BucketInventoryFilterArgs
    Container for inventory filtering rules. See filter below.
    included_object_versions str
    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 BucketInventoryIncrementalInventoryArgs
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    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 BucketInventoryOptionalFieldsArgs
    Sets the configuration items included in the manifest results. See optionalFields below.
    schedule BucketInventoryScheduleArgs
    Container for storing inventory export cycle information. See schedule below.
    bucket String
    The name of the bucket.
    inventoryId 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 destination below.
    filter Property Map
    Container for inventory filtering rules. See filter below.
    includedObjectVersions String
    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.
    incrementalInventory Property Map
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    isEnabled Boolean
    Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
    optionalFields Property Map
    Sets the configuration items included in the manifest results. See optionalFields below.
    schedule Property Map
    Container for storing inventory export cycle information. See schedule below.

    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) -> BucketInventory
    func 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.
    The following state arguments are supported:
    Bucket string
    The name of the bucket.
    Destination Pulumi.AliCloud.Oss.Inputs.BucketInventoryDestination
    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 destination below.
    Filter Pulumi.AliCloud.Oss.Inputs.BucketInventoryFilter
    Container for inventory filtering rules. See filter below.
    IncludedObjectVersions string
    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.
    IncrementalInventory Pulumi.AliCloud.Oss.Inputs.BucketInventoryIncrementalInventory
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    InventoryId string
    The ID of the inventory rule. The ID must be unique in the bucket.
    IsEnabled bool
    Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
    OptionalFields Pulumi.AliCloud.Oss.Inputs.BucketInventoryOptionalFields
    Sets the configuration items included in the manifest results. See optionalFields below.
    Schedule Pulumi.AliCloud.Oss.Inputs.BucketInventorySchedule
    Container for storing inventory export cycle information. See schedule below.
    Bucket string
    The name of the bucket.
    Destination BucketInventoryDestinationArgs
    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 destination below.
    Filter BucketInventoryFilterArgs
    Container for inventory filtering rules. See filter below.
    IncludedObjectVersions string
    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.
    IncrementalInventory BucketInventoryIncrementalInventoryArgs
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    InventoryId string
    The ID of the inventory rule. The ID must be unique in the bucket.
    IsEnabled bool
    Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
    OptionalFields BucketInventoryOptionalFieldsArgs
    Sets the configuration items included in the manifest results. See optionalFields below.
    Schedule BucketInventoryScheduleArgs
    Container for storing inventory export cycle information. See schedule below.
    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 destination below.
    filter object
    Container for inventory filtering rules. See filter below.
    included_object_versions string
    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 incrementalInventory below.
    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 optionalFields below.
    schedule object
    Container for storing inventory export cycle information. See schedule below.
    bucket String
    The name of the bucket.
    destination BucketInventoryDestination
    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 destination below.
    filter BucketInventoryFilter
    Container for inventory filtering rules. See filter below.
    includedObjectVersions String
    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.
    incrementalInventory BucketInventoryIncrementalInventory
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    inventoryId String
    The ID of the inventory rule. The ID must be unique in the bucket.
    isEnabled Boolean
    Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
    optionalFields BucketInventoryOptionalFields
    Sets the configuration items included in the manifest results. See optionalFields below.
    schedule BucketInventorySchedule
    Container for storing inventory export cycle information. See schedule below.
    bucket string
    The name of the bucket.
    destination BucketInventoryDestination
    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 destination below.
    filter BucketInventoryFilter
    Container for inventory filtering rules. See filter below.
    includedObjectVersions string
    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.
    incrementalInventory BucketInventoryIncrementalInventory
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    inventoryId string
    The ID of the inventory rule. The ID must be unique in the bucket.
    isEnabled boolean
    Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
    optionalFields BucketInventoryOptionalFields
    Sets the configuration items included in the manifest results. See optionalFields below.
    schedule BucketInventorySchedule
    Container for storing inventory export cycle information. See schedule below.
    bucket str
    The name of the bucket.
    destination BucketInventoryDestinationArgs
    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 destination below.
    filter BucketInventoryFilterArgs
    Container for inventory filtering rules. See filter below.
    included_object_versions str
    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 BucketInventoryIncrementalInventoryArgs
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    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 BucketInventoryOptionalFieldsArgs
    Sets the configuration items included in the manifest results. See optionalFields below.
    schedule BucketInventoryScheduleArgs
    Container for storing inventory export cycle information. See schedule below.
    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 destination below.
    filter Property Map
    Container for inventory filtering rules. See filter below.
    includedObjectVersions String
    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.
    incrementalInventory Property Map
    Configuration container for incremental inventory. Note: The parameter is immutable after resource creation; OSS fixes the incremental export cycle server-side. See incrementalInventory below.
    inventoryId String
    The ID of the inventory rule. The ID must be unique in the bucket.
    isEnabled Boolean
    Identification of whether the manifest feature is enabled. Valid values: true: Enable the inventory feature. false: Do not enable the manifest feature.
    optionalFields Property Map
    Sets the configuration items included in the manifest results. See optionalFields below.
    schedule Property Map
    Container for storing inventory export cycle information. See schedule below.

    Supporting Types

    BucketInventoryDestination, BucketInventoryDestinationArgs

    OssBucketDestination Pulumi.AliCloud.Oss.Inputs.BucketInventoryDestinationOssBucketDestination
    The Bucket information stored after the list result is exported. See ossBucketDestination below.
    OssBucketDestination BucketInventoryDestinationOssBucketDestination
    The Bucket information stored after the list result is exported. See ossBucketDestination below.
    oss_bucket_destination object
    The Bucket information stored after the list result is exported. See ossBucketDestination below.
    ossBucketDestination BucketInventoryDestinationOssBucketDestination
    The Bucket information stored after the list result is exported. See ossBucketDestination below.
    ossBucketDestination BucketInventoryDestinationOssBucketDestination
    The Bucket information stored after the list result is exported. See ossBucketDestination below.
    oss_bucket_destination BucketInventoryDestinationOssBucketDestination
    The Bucket information stored after the list result is exported. See ossBucketDestination below.
    ossBucketDestination Property Map
    The Bucket information stored after the list result is exported. See ossBucketDestination below.

    BucketInventoryDestinationOssBucketDestination, BucketInventoryDestinationOssBucketDestinationArgs

    AccountId string
    The account ID granted by the Bucket owner.
    Bucket string
    The name of the bucket.
    Encryption Pulumi.AliCloud.Oss.Inputs.BucketInventoryDestinationOssBucketDestinationEncryption
    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 encryption below.
    Format string
    The file format of the manifest file.
    Prefix string
    RoleArn 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.
    AccountId string
    The account ID granted by the Bucket owner.
    Bucket string
    The name of the bucket.
    Encryption BucketInventoryDestinationOssBucketDestinationEncryption
    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 encryption below.
    Format string
    The file format of the manifest file.
    Prefix string
    RoleArn 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 encryption below.
    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.
    accountId String
    The account ID granted by the Bucket owner.
    bucket String
    The name of the bucket.
    encryption BucketInventoryDestinationOssBucketDestinationEncryption
    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 encryption below.
    format String
    The file format of the manifest file.
    prefix String
    roleArn 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.
    accountId string
    The account ID granted by the Bucket owner.
    bucket string
    The name of the bucket.
    encryption BucketInventoryDestinationOssBucketDestinationEncryption
    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 encryption below.
    format string
    The file format of the manifest file.
    prefix string
    roleArn 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 BucketInventoryDestinationOssBucketDestinationEncryption
    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 encryption below.
    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.
    accountId 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 encryption below.
    format String
    The file format of the manifest file.
    prefix String
    roleArn 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.AliCloud.Oss.Inputs.BucketInventoryDestinationOssBucketDestinationEncryptionSsekms
    The container that holds the SSE-KMS encryption key. See ssekms below.
    Sseoss string
    The container that holds the SSE-OSS encryption method. Set it to an empty string when OSS-managed keys are used.
    Ssekms BucketInventoryDestinationOssBucketDestinationEncryptionSsekms
    The container that holds the SSE-KMS encryption key. See ssekms below.
    Sseoss string
    The container that holds the SSE-OSS encryption method. Set it to an empty string when OSS-managed keys are used.
    ssekms object
    The container that holds the SSE-KMS encryption key. See ssekms below.
    sseoss string
    The container that holds the SSE-OSS encryption method. Set it to an empty string when OSS-managed keys are used.
    ssekms BucketInventoryDestinationOssBucketDestinationEncryptionSsekms
    The container that holds the SSE-KMS encryption key. See ssekms below.
    sseoss String
    The container that holds the SSE-OSS encryption method. Set it to an empty string when OSS-managed keys are used.
    ssekms BucketInventoryDestinationOssBucketDestinationEncryptionSsekms
    The container that holds the SSE-KMS encryption key. See ssekms below.
    sseoss string
    The container that holds the SSE-OSS encryption method. Set it to an empty string when OSS-managed keys are used.
    ssekms BucketInventoryDestinationOssBucketDestinationEncryptionSsekms
    The container that holds the SSE-KMS encryption key. See ssekms below.
    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 ssekms below.
    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

    KeyId string
    KMS key ID.
    KeyId string
    KMS key ID.
    key_id string
    KMS key ID.
    keyId String
    KMS key ID.
    keyId string
    KMS key ID.
    key_id str
    KMS key ID.
    keyId String
    KMS key ID.

    BucketInventoryFilter, BucketInventoryFilterArgs

    LastModifyBeginTimeStamp int
    The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    LastModifyEndTimeStamp int
    The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    LowerSizeBound int
    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.
    StorageClass 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
    UpperSizeBound int
    The maximum size of the filter file, in B. Value range: greater than 0 B, less than or equal to 48.8 TB.
    LastModifyBeginTimeStamp int
    The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    LastModifyEndTimeStamp int
    The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    LowerSizeBound int
    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.
    StorageClass 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
    UpperSizeBound int
    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_begin_time_stamp number
    The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    last_modify_end_time_stamp number
    The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    lower_size_bound number
    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_bound number
    The maximum size of the filter file, in B. Value range: greater than 0 B, less than or equal to 48.8 TB.
    lastModifyBeginTimeStamp Integer
    The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    lastModifyEndTimeStamp Integer
    The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    lowerSizeBound Integer
    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.
    storageClass 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
    upperSizeBound Integer
    The maximum size of the filter file, in B. Value range: greater than 0 B, less than or equal to 48.8 TB.
    lastModifyBeginTimeStamp number
    The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    lastModifyEndTimeStamp number
    The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    lowerSizeBound number
    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.
    storageClass 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
    upperSizeBound number
    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_begin_time_stamp int
    The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    last_modify_end_time_stamp int
    The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    lower_size_bound int
    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_bound int
    The maximum size of the filter file, in B. Value range: greater than 0 B, less than or equal to 48.8 TB.
    lastModifyBeginTimeStamp Number
    The start timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    lastModifyEndTimeStamp Number
    The end timestamp of the last modification time of the filter file, in seconds. Value range:[1262275200, 253402271999]
    lowerSizeBound Number
    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.
    storageClass 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
    upperSizeBound Number
    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

    IsEnabled bool
    Incremental inventory enabled
    OptionalFields Pulumi.AliCloud.Oss.Inputs.BucketInventoryIncrementalInventoryOptionalFields
    Configuration container for incremental manifest file properties See optionalFields below.
    Schedule Pulumi.AliCloud.Oss.Inputs.BucketInventoryIncrementalInventorySchedule
    Incremental inventory export cycle container See schedule below.
    IsEnabled bool
    Incremental inventory enabled
    OptionalFields BucketInventoryIncrementalInventoryOptionalFields
    Configuration container for incremental manifest file properties See optionalFields below.
    Schedule BucketInventoryIncrementalInventorySchedule
    Incremental inventory export cycle container See schedule below.
    is_enabled bool
    Incremental inventory enabled
    optional_fields object
    Configuration container for incremental manifest file properties See optionalFields below.
    schedule object
    Incremental inventory export cycle container See schedule below.
    isEnabled Boolean
    Incremental inventory enabled
    optionalFields BucketInventoryIncrementalInventoryOptionalFields
    Configuration container for incremental manifest file properties See optionalFields below.
    schedule BucketInventoryIncrementalInventorySchedule
    Incremental inventory export cycle container See schedule below.
    isEnabled boolean
    Incremental inventory enabled
    optionalFields BucketInventoryIncrementalInventoryOptionalFields
    Configuration container for incremental manifest file properties See optionalFields below.
    schedule BucketInventoryIncrementalInventorySchedule
    Incremental inventory export cycle container See schedule below.
    is_enabled bool
    Incremental inventory enabled
    optional_fields BucketInventoryIncrementalInventoryOptionalFields
    Configuration container for incremental manifest file properties See optionalFields below.
    schedule BucketInventoryIncrementalInventorySchedule
    Incremental inventory export cycle container See schedule below.
    isEnabled Boolean
    Incremental inventory enabled
    optionalFields Property Map
    Configuration container for incremental manifest file properties See optionalFields below.
    schedule Property Map
    Incremental inventory export cycle container See schedule below.

    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 alicloud Terraform Provider.
    alicloud logo
    Viewing docs for Alibaba Cloud v3.105.0
    published on Thursday, Jul 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial