1. Packages
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. oss
  6. getBucketInventories
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

    This data source provides Oss Bucket Inventory available to the user.What is Bucket Inventory

    NOTE: Available since v1.284.0.

    Example 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 defaultBucketInventory = 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,
    });
    const _default = alicloud.oss.getBucketInventoriesOutput({
        ids: [defaultBucketInventory.id],
        bucket: createBucket.id,
    });
    export const alicloudOssBucketInventoryExampleId = _default.apply(_default => _default.inventories?.[0]?.id);
    
    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_bucket_inventory = 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)
    default = alicloud.oss.get_bucket_inventories_output(ids=[default_bucket_inventory.id],
        bucket=create_bucket.id)
    pulumi.export("alicloudOssBucketInventoryExampleId", default.inventories[0].id)
    
    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
    		}
    		defaultBucketInventory, 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
    		}
    		_default := oss.GetBucketInventoriesOutput(ctx, oss.GetBucketInventoriesOutputArgs{
    			Ids: pulumi.StringArray{
    				defaultBucketInventory.ID(),
    			},
    			Bucket: createBucket.ID(),
    		}, nil)
    		ctx.Export("alicloudOssBucketInventoryExampleId", _default.ApplyT(func(_default oss.GetBucketInventoriesResult) (*string, error) {
    			return _default.Inventories[0].Id, nil
    		}).(pulumi.StringPtrOutput))
    		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 defaultBucketInventory = 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,
        });
    
        var @default = AliCloud.Oss.GetBucketInventories.Invoke(new()
        {
            Ids = new[]
            {
                defaultBucketInventory.Id,
            },
            Bucket = createBucket.Id,
        });
    
        return new Dictionary<string, object?>
        {
            ["alicloudOssBucketInventoryExampleId"] = @default.Apply(@default => @default.Apply(getBucketInventoriesResult => getBucketInventoriesResult.Inventories[0]?.Id)),
        };
    });
    
    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 com.pulumi.alicloud.oss.OssFunctions;
    import com.pulumi.alicloud.oss.inputs.GetBucketInventoriesArgs;
    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 defaultBucketInventory = new BucketInventory("defaultBucketInventory", 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());
    
            final var default = OssFunctions.getBucketInventories(GetBucketInventoriesArgs.builder()
                .ids(defaultBucketInventory.id())
                .bucket(createBucket.id())
                .build());
    
            ctx.export("alicloudOssBucketInventoryExampleId", default_.applyValue(_default_ -> _default_.inventories()[0].id()));
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      createBucket:
        type: alicloud:oss:Bucket
        name: CreateBucket
        properties:
          storageClass: Standard
      defaultBucketInventory:
        type: alicloud:oss:BucketInventory
        name: default
        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
    variables:
      default:
        fn::invoke:
          function: alicloud:oss:getBucketInventories
          arguments:
            ids:
              - ${defaultBucketInventory.id}
            bucket: ${createBucket.id}
    outputs:
      alicloudOssBucketInventoryExampleId: ${default.inventories[0].id}
    
    pulumi {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    data "alicloud_oss_getbucketinventories" "default" {
      ids    = [alicloud_oss_bucketinventory.default.id]
      bucket = alicloud_oss_bucket.CreateBucket.id
    }
    
    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"
    }
    output "alicloudOssBucketInventoryExampleId" {
      value = data.alicloud_oss_getbucketinventories.default.inventories[0].id
    }
    

    Using getBucketInventories

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getBucketInventories(args: GetBucketInventoriesArgs, opts?: InvokeOptions): Promise<GetBucketInventoriesResult>
    function getBucketInventoriesOutput(args: GetBucketInventoriesOutputArgs, opts?: InvokeOptions): Output<GetBucketInventoriesResult>
    def get_bucket_inventories(bucket: Optional[str] = None,
                               ids: Optional[Sequence[str]] = None,
                               output_file: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetBucketInventoriesResult
    def get_bucket_inventories_output(bucket: pulumi.Input[Optional[str]] = None,
                               ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                               output_file: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetBucketInventoriesResult]
    func GetBucketInventories(ctx *Context, args *GetBucketInventoriesArgs, opts ...InvokeOption) (*GetBucketInventoriesResult, error)
    func GetBucketInventoriesOutput(ctx *Context, args *GetBucketInventoriesOutputArgs, opts ...InvokeOption) GetBucketInventoriesResultOutput

    > Note: This function is named GetBucketInventories in the Go SDK.

    public static class GetBucketInventories 
    {
        public static Task<GetBucketInventoriesResult> InvokeAsync(GetBucketInventoriesArgs args, InvokeOptions? opts = null)
        public static Output<GetBucketInventoriesResult> Invoke(GetBucketInventoriesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBucketInventoriesResult> getBucketInventories(GetBucketInventoriesArgs args, InvokeOptions options)
    public static Output<GetBucketInventoriesResult> getBucketInventories(GetBucketInventoriesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: alicloud:oss/getBucketInventories:getBucketInventories
      arguments:
        # arguments dictionary
    data "alicloud_oss_get_bucket_inventories" "name" {
        # arguments
    }

    The following arguments are supported:

    Bucket string
    The name of the bucket.
    Ids List<string>
    A list of Bucket Inventory IDs. The value is formulated as <bucket>:<inventory_id>.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Bucket string
    The name of the bucket.
    Ids []string
    A list of Bucket Inventory IDs. The value is formulated as <bucket>:<inventory_id>.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    bucket string
    The name of the bucket.
    ids list(string)
    A list of Bucket Inventory IDs. The value is formulated as <bucket>:<inventory_id>.
    output_file string
    File name where to save data source results (after running pulumi preview).
    bucket String
    The name of the bucket.
    ids List<String>
    A list of Bucket Inventory IDs. The value is formulated as <bucket>:<inventory_id>.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    bucket string
    The name of the bucket.
    ids string[]
    A list of Bucket Inventory IDs. The value is formulated as <bucket>:<inventory_id>.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    bucket str
    The name of the bucket.
    ids Sequence[str]
    A list of Bucket Inventory IDs. The value is formulated as <bucket>:<inventory_id>.
    output_file str
    File name where to save data source results (after running pulumi preview).
    bucket String
    The name of the bucket.
    ids List<String>
    A list of Bucket Inventory IDs. The value is formulated as <bucket>:<inventory_id>.
    outputFile String
    File name where to save data source results (after running pulumi preview).

    getBucketInventories Result

    The following output properties are available:

    Bucket string
    The Bucket where the exported manifest file is stored.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of Bucket Inventory IDs.
    Inventories List<Pulumi.AliCloud.Oss.Outputs.GetBucketInventoriesInventory>
    A list of Bucket Inventory Entries. Each element contains the following attributes:
    OutputFile string
    Bucket string
    The Bucket where the exported manifest file is stored.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of Bucket Inventory IDs.
    Inventories []GetBucketInventoriesInventory
    A list of Bucket Inventory Entries. Each element contains the following attributes:
    OutputFile string
    bucket string
    The Bucket where the exported manifest file is stored.
    id string
    The provider-assigned unique ID for this managed resource.
    ids list(string)
    A list of Bucket Inventory IDs.
    inventories list(object)
    A list of Bucket Inventory Entries. Each element contains the following attributes:
    output_file string
    bucket String
    The Bucket where the exported manifest file is stored.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Bucket Inventory IDs.
    inventories List<GetBucketInventoriesInventory>
    A list of Bucket Inventory Entries. Each element contains the following attributes:
    outputFile String
    bucket string
    The Bucket where the exported manifest file is stored.
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of Bucket Inventory IDs.
    inventories GetBucketInventoriesInventory[]
    A list of Bucket Inventory Entries. Each element contains the following attributes:
    outputFile string
    bucket str
    The Bucket where the exported manifest file is stored.
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of Bucket Inventory IDs.
    inventories Sequence[GetBucketInventoriesInventory]
    A list of Bucket Inventory Entries. Each element contains the following attributes:
    output_file str
    bucket String
    The Bucket where the exported manifest file is stored.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Bucket Inventory IDs.
    inventories List<Property Map>
    A list of Bucket Inventory Entries. Each element contains the following attributes:
    outputFile String

    Supporting Types

    GetBucketInventoriesInventory

    Destinations List<Pulumi.AliCloud.Oss.Inputs.GetBucketInventoriesInventoryDestination>
    Holds the container that holds the location of the inventory results.
    Filters List<Pulumi.AliCloud.Oss.Inputs.GetBucketInventoriesInventoryFilter>
    Container for inventory filtering rules.
    Id string
    The ID of the resource supplied above.
    IncludedObjectVersions string
    Whether the Object version information is included in the list.
    IncrementalInventories List<Pulumi.AliCloud.Oss.Inputs.GetBucketInventoriesInventoryIncrementalInventory>
    Configuration container for incremental inventory.
    InventoryId string
    The ID of the inventory rule.
    IsEnabled bool
    Identification of whether the manifest feature is enabled.
    OptionalFields List<Pulumi.AliCloud.Oss.Inputs.GetBucketInventoriesInventoryOptionalField>
    Sets the configuration items included in the manifest results.
    Schedules List<Pulumi.AliCloud.Oss.Inputs.GetBucketInventoriesInventorySchedule>
    Container for storing inventory export cycle information.
    Destinations []GetBucketInventoriesInventoryDestination
    Holds the container that holds the location of the inventory results.
    Filters []GetBucketInventoriesInventoryFilter
    Container for inventory filtering rules.
    Id string
    The ID of the resource supplied above.
    IncludedObjectVersions string
    Whether the Object version information is included in the list.
    IncrementalInventories []GetBucketInventoriesInventoryIncrementalInventory
    Configuration container for incremental inventory.
    InventoryId string
    The ID of the inventory rule.
    IsEnabled bool
    Identification of whether the manifest feature is enabled.
    OptionalFields []GetBucketInventoriesInventoryOptionalField
    Sets the configuration items included in the manifest results.
    Schedules []GetBucketInventoriesInventorySchedule
    Container for storing inventory export cycle information.
    destinations list(object)
    Holds the container that holds the location of the inventory results.
    filters list(object)
    Container for inventory filtering rules.
    id string
    The ID of the resource supplied above.
    included_object_versions string
    Whether the Object version information is included in the list.
    incremental_inventories list(object)
    Configuration container for incremental inventory.
    inventory_id string
    The ID of the inventory rule.
    is_enabled bool
    Identification of whether the manifest feature is enabled.
    optional_fields list(object)
    Sets the configuration items included in the manifest results.
    schedules list(object)
    Container for storing inventory export cycle information.
    destinations List<GetBucketInventoriesInventoryDestination>
    Holds the container that holds the location of the inventory results.
    filters List<GetBucketInventoriesInventoryFilter>
    Container for inventory filtering rules.
    id String
    The ID of the resource supplied above.
    includedObjectVersions String
    Whether the Object version information is included in the list.
    incrementalInventories List<GetBucketInventoriesInventoryIncrementalInventory>
    Configuration container for incremental inventory.
    inventoryId String
    The ID of the inventory rule.
    isEnabled Boolean
    Identification of whether the manifest feature is enabled.
    optionalFields List<GetBucketInventoriesInventoryOptionalField>
    Sets the configuration items included in the manifest results.
    schedules List<GetBucketInventoriesInventorySchedule>
    Container for storing inventory export cycle information.
    destinations GetBucketInventoriesInventoryDestination[]
    Holds the container that holds the location of the inventory results.
    filters GetBucketInventoriesInventoryFilter[]
    Container for inventory filtering rules.
    id string
    The ID of the resource supplied above.
    includedObjectVersions string
    Whether the Object version information is included in the list.
    incrementalInventories GetBucketInventoriesInventoryIncrementalInventory[]
    Configuration container for incremental inventory.
    inventoryId string
    The ID of the inventory rule.
    isEnabled boolean
    Identification of whether the manifest feature is enabled.
    optionalFields GetBucketInventoriesInventoryOptionalField[]
    Sets the configuration items included in the manifest results.
    schedules GetBucketInventoriesInventorySchedule[]
    Container for storing inventory export cycle information.
    destinations Sequence[GetBucketInventoriesInventoryDestination]
    Holds the container that holds the location of the inventory results.
    filters Sequence[GetBucketInventoriesInventoryFilter]
    Container for inventory filtering rules.
    id str
    The ID of the resource supplied above.
    included_object_versions str
    Whether the Object version information is included in the list.
    incremental_inventories Sequence[GetBucketInventoriesInventoryIncrementalInventory]
    Configuration container for incremental inventory.
    inventory_id str
    The ID of the inventory rule.
    is_enabled bool
    Identification of whether the manifest feature is enabled.
    optional_fields Sequence[GetBucketInventoriesInventoryOptionalField]
    Sets the configuration items included in the manifest results.
    schedules Sequence[GetBucketInventoriesInventorySchedule]
    Container for storing inventory export cycle information.
    destinations List<Property Map>
    Holds the container that holds the location of the inventory results.
    filters List<Property Map>
    Container for inventory filtering rules.
    id String
    The ID of the resource supplied above.
    includedObjectVersions String
    Whether the Object version information is included in the list.
    incrementalInventories List<Property Map>
    Configuration container for incremental inventory.
    inventoryId String
    The ID of the inventory rule.
    isEnabled Boolean
    Identification of whether the manifest feature is enabled.
    optionalFields List<Property Map>
    Sets the configuration items included in the manifest results.
    schedules List<Property Map>
    Container for storing inventory export cycle information.

    GetBucketInventoriesInventoryDestination

    OssBucketDestinations []GetBucketInventoriesInventoryDestinationOssBucketDestination
    The Bucket information stored after the list result is exported.
    oss_bucket_destinations list(object)
    The Bucket information stored after the list result is exported.
    ossBucketDestinations List<GetBucketInventoriesInventoryDestinationOssBucketDestination>
    The Bucket information stored after the list result is exported.
    ossBucketDestinations GetBucketInventoriesInventoryDestinationOssBucketDestination[]
    The Bucket information stored after the list result is exported.
    oss_bucket_destinations Sequence[GetBucketInventoriesInventoryDestinationOssBucketDestination]
    The Bucket information stored after the list result is exported.
    ossBucketDestinations List<Property Map>
    The Bucket information stored after the list result is exported.

    GetBucketInventoriesInventoryDestinationOssBucketDestination

    AccountId string
    The account ID granted by the Bucket owner.
    Bucket string
    The name of the bucket.
    Encryptions List<Pulumi.AliCloud.Oss.Inputs.GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryption>
    The encryption method of the manifest file.
    Format string
    The file format of the manifest file.
    Prefix string
    The match prefix of the filter rule.
    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.
    AccountId string
    The account ID granted by the Bucket owner.
    Bucket string
    The name of the bucket.
    Encryptions []GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryption
    The encryption method of the manifest file.
    Format string
    The file format of the manifest file.
    Prefix string
    The match prefix of the filter rule.
    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.
    account_id string
    The account ID granted by the Bucket owner.
    bucket string
    The name of the bucket.
    encryptions list(object)
    The encryption method of the manifest file.
    format string
    The file format of the manifest file.
    prefix string
    The match prefix of the filter rule.
    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.
    accountId String
    The account ID granted by the Bucket owner.
    bucket String
    The name of the bucket.
    encryptions List<GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryption>
    The encryption method of the manifest file.
    format String
    The file format of the manifest file.
    prefix String
    The match prefix of the filter rule.
    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.
    accountId string
    The account ID granted by the Bucket owner.
    bucket string
    The name of the bucket.
    encryptions GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryption[]
    The encryption method of the manifest file.
    format string
    The file format of the manifest file.
    prefix string
    The match prefix of the filter rule.
    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.
    account_id str
    The account ID granted by the Bucket owner.
    bucket str
    The name of the bucket.
    encryptions Sequence[GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryption]
    The encryption method of the manifest file.
    format str
    The file format of the manifest file.
    prefix str
    The match prefix of the filter rule.
    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.
    accountId String
    The account ID granted by the Bucket owner.
    bucket String
    The name of the bucket.
    encryptions List<Property Map>
    The encryption method of the manifest file.
    format String
    The file format of the manifest file.
    prefix String
    The match prefix of the filter rule.
    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.

    GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryption

    Ssekms List<Pulumi.AliCloud.Oss.Inputs.GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryptionSsekm>
    The container that holds the SSE-KMS encryption key.
    Sseoss string
    The container that holds the SSE-OSS encryption method.
    Ssekms []GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryptionSsekm
    The container that holds the SSE-KMS encryption key.
    Sseoss string
    The container that holds the SSE-OSS encryption method.
    ssekms list(object)
    The container that holds the SSE-KMS encryption key.
    sseoss string
    The container that holds the SSE-OSS encryption method.
    ssekms List<GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryptionSsekm>
    The container that holds the SSE-KMS encryption key.
    sseoss String
    The container that holds the SSE-OSS encryption method.
    ssekms GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryptionSsekm[]
    The container that holds the SSE-KMS encryption key.
    sseoss string
    The container that holds the SSE-OSS encryption method.
    ssekms Sequence[GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryptionSsekm]
    The container that holds the SSE-KMS encryption key.
    sseoss str
    The container that holds the SSE-OSS encryption method.
    ssekms List<Property Map>
    The container that holds the SSE-KMS encryption key.
    sseoss String
    The container that holds the SSE-OSS encryption method.

    GetBucketInventoriesInventoryDestinationOssBucketDestinationEncryptionSsekm

    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.

    GetBucketInventoriesInventoryFilter

    LastModifyBeginTimeStamp int
    The start timestamp of the last modification time of the filter file, in seconds.
    LastModifyEndTimeStamp int
    The end timestamp of the last modification time of the filter file, in seconds.
    LowerSizeBound int
    The minimum size of the filter file, in B.
    Prefix string
    The match prefix of the filter rule.
    StorageClass string
    The storage type of the filter file.
    UpperSizeBound int
    The maximum size of the filter file, in B.
    LastModifyBeginTimeStamp int
    The start timestamp of the last modification time of the filter file, in seconds.
    LastModifyEndTimeStamp int
    The end timestamp of the last modification time of the filter file, in seconds.
    LowerSizeBound int
    The minimum size of the filter file, in B.
    Prefix string
    The match prefix of the filter rule.
    StorageClass string
    The storage type of the filter file.
    UpperSizeBound int
    The maximum size of the filter file, in B.
    last_modify_begin_time_stamp number
    The start timestamp of the last modification time of the filter file, in seconds.
    last_modify_end_time_stamp number
    The end timestamp of the last modification time of the filter file, in seconds.
    lower_size_bound number
    The minimum size of the filter file, in B.
    prefix string
    The match prefix of the filter rule.
    storage_class string
    The storage type of the filter file.
    upper_size_bound number
    The maximum size of the filter file, in B.
    lastModifyBeginTimeStamp Integer
    The start timestamp of the last modification time of the filter file, in seconds.
    lastModifyEndTimeStamp Integer
    The end timestamp of the last modification time of the filter file, in seconds.
    lowerSizeBound Integer
    The minimum size of the filter file, in B.
    prefix String
    The match prefix of the filter rule.
    storageClass String
    The storage type of the filter file.
    upperSizeBound Integer
    The maximum size of the filter file, in B.
    lastModifyBeginTimeStamp number
    The start timestamp of the last modification time of the filter file, in seconds.
    lastModifyEndTimeStamp number
    The end timestamp of the last modification time of the filter file, in seconds.
    lowerSizeBound number
    The minimum size of the filter file, in B.
    prefix string
    The match prefix of the filter rule.
    storageClass string
    The storage type of the filter file.
    upperSizeBound number
    The maximum size of the filter file, in B.
    last_modify_begin_time_stamp int
    The start timestamp of the last modification time of the filter file, in seconds.
    last_modify_end_time_stamp int
    The end timestamp of the last modification time of the filter file, in seconds.
    lower_size_bound int
    The minimum size of the filter file, in B.
    prefix str
    The match prefix of the filter rule.
    storage_class str
    The storage type of the filter file.
    upper_size_bound int
    The maximum size of the filter file, in B.
    lastModifyBeginTimeStamp Number
    The start timestamp of the last modification time of the filter file, in seconds.
    lastModifyEndTimeStamp Number
    The end timestamp of the last modification time of the filter file, in seconds.
    lowerSizeBound Number
    The minimum size of the filter file, in B.
    prefix String
    The match prefix of the filter rule.
    storageClass String
    The storage type of the filter file.
    upperSizeBound Number
    The maximum size of the filter file, in B.

    GetBucketInventoriesInventoryIncrementalInventory

    IsEnabled bool
    Identification of whether the manifest feature is enabled.
    OptionalFields List<Pulumi.AliCloud.Oss.Inputs.GetBucketInventoriesInventoryIncrementalInventoryOptionalField>
    Sets the configuration items included in the manifest results.
    Schedules List<Pulumi.AliCloud.Oss.Inputs.GetBucketInventoriesInventoryIncrementalInventorySchedule>
    Container for storing inventory export cycle information.
    IsEnabled bool
    Identification of whether the manifest feature is enabled.
    OptionalFields []GetBucketInventoriesInventoryIncrementalInventoryOptionalField
    Sets the configuration items included in the manifest results.
    Schedules []GetBucketInventoriesInventoryIncrementalInventorySchedule
    Container for storing inventory export cycle information.
    is_enabled bool
    Identification of whether the manifest feature is enabled.
    optional_fields list(object)
    Sets the configuration items included in the manifest results.
    schedules list(object)
    Container for storing inventory export cycle information.
    isEnabled Boolean
    Identification of whether the manifest feature is enabled.
    optionalFields List<GetBucketInventoriesInventoryIncrementalInventoryOptionalField>
    Sets the configuration items included in the manifest results.
    schedules List<GetBucketInventoriesInventoryIncrementalInventorySchedule>
    Container for storing inventory export cycle information.
    isEnabled boolean
    Identification of whether the manifest feature is enabled.
    optionalFields GetBucketInventoriesInventoryIncrementalInventoryOptionalField[]
    Sets the configuration items included in the manifest results.
    schedules GetBucketInventoriesInventoryIncrementalInventorySchedule[]
    Container for storing inventory export cycle information.
    is_enabled bool
    Identification of whether the manifest feature is enabled.
    optional_fields Sequence[GetBucketInventoriesInventoryIncrementalInventoryOptionalField]
    Sets the configuration items included in the manifest results.
    schedules Sequence[GetBucketInventoriesInventoryIncrementalInventorySchedule]
    Container for storing inventory export cycle information.
    isEnabled Boolean
    Identification of whether the manifest feature is enabled.
    optionalFields List<Property Map>
    Sets the configuration items included in the manifest results.
    schedules List<Property Map>
    Container for storing inventory export cycle information.

    GetBucketInventoriesInventoryIncrementalInventoryOptionalField

    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.

    GetBucketInventoriesInventoryIncrementalInventorySchedule

    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.

    GetBucketInventoriesInventoryOptionalField

    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.

    GetBucketInventoriesInventorySchedule

    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.

    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