1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. ObsBucketObject
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.ObsBucketObject

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manages an OBS bucket object resource within FlexibleEngine.

    Example Usage

    Uploading to a bucket

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const object = new flexibleengine.ObsBucketObject("object", {
        bucket: "your_bucket_name",
        content: "some object content",
        contentType: "application/xml",
        key: "new_key_from_content",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    object = flexibleengine.ObsBucketObject("object",
        bucket="your_bucket_name",
        content="some object content",
        content_type="application/xml",
        key="new_key_from_content")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.NewObsBucketObject(ctx, "object", &flexibleengine.ObsBucketObjectArgs{
    			Bucket:      pulumi.String("your_bucket_name"),
    			Content:     pulumi.String("some object content"),
    			ContentType: pulumi.String("application/xml"),
    			Key:         pulumi.String("new_key_from_content"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @object = new Flexibleengine.ObsBucketObject("object", new()
        {
            Bucket = "your_bucket_name",
            Content = "some object content",
            ContentType = "application/xml",
            Key = "new_key_from_content",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.ObsBucketObject;
    import com.pulumi.flexibleengine.ObsBucketObjectArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            var object = new ObsBucketObject("object", ObsBucketObjectArgs.builder()
                .bucket("your_bucket_name")
                .content("some object content")
                .contentType("application/xml")
                .key("new_key_from_content")
                .build());
    
        }
    }
    
    resources:
      object:
        type: flexibleengine:ObsBucketObject
        properties:
          bucket: your_bucket_name
          content: some object content
          contentType: application/xml
          key: new_key_from_content
    

    Uploading a file to a bucket

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const examplebucket = new flexibleengine.ObsBucket("examplebucket", {
        bucket: "examplebuckettftest",
        acl: "private",
    });
    const object = new flexibleengine.ObsBucketObject("object", {
        bucket: examplebucket.bucket,
        key: "new_key_from_file",
        source: "index.html",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    examplebucket = flexibleengine.ObsBucket("examplebucket",
        bucket="examplebuckettftest",
        acl="private")
    object = flexibleengine.ObsBucketObject("object",
        bucket=examplebucket.bucket,
        key="new_key_from_file",
        source="index.html")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		examplebucket, err := flexibleengine.NewObsBucket(ctx, "examplebucket", &flexibleengine.ObsBucketArgs{
    			Bucket: pulumi.String("examplebuckettftest"),
    			Acl:    pulumi.String("private"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = flexibleengine.NewObsBucketObject(ctx, "object", &flexibleengine.ObsBucketObjectArgs{
    			Bucket: examplebucket.Bucket,
    			Key:    pulumi.String("new_key_from_file"),
    			Source: pulumi.String("index.html"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var examplebucket = new Flexibleengine.ObsBucket("examplebucket", new()
        {
            Bucket = "examplebuckettftest",
            Acl = "private",
        });
    
        var @object = new Flexibleengine.ObsBucketObject("object", new()
        {
            Bucket = examplebucket.Bucket,
            Key = "new_key_from_file",
            Source = "index.html",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.ObsBucket;
    import com.pulumi.flexibleengine.ObsBucketArgs;
    import com.pulumi.flexibleengine.ObsBucketObject;
    import com.pulumi.flexibleengine.ObsBucketObjectArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            var examplebucket = new ObsBucket("examplebucket", ObsBucketArgs.builder()
                .bucket("examplebuckettftest")
                .acl("private")
                .build());
    
            var object = new ObsBucketObject("object", ObsBucketObjectArgs.builder()
                .bucket(examplebucket.bucket())
                .key("new_key_from_file")
                .source("index.html")
                .build());
    
        }
    }
    
    resources:
      examplebucket:
        type: flexibleengine:ObsBucket
        properties:
          bucket: examplebuckettftest
          acl: private
      object:
        type: flexibleengine:ObsBucketObject
        properties:
          bucket: ${examplebucket.bucket}
          key: new_key_from_file
          source: index.html
    

    Server Side Encryption with OBS Default Master Key

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const examplebucketObject = new flexibleengine.ObsBucketObject("examplebucketObject", {
        bucket: "your_bucket_name",
        encryption: true,
        key: "someobject",
        source: "index.html",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    examplebucket_object = flexibleengine.ObsBucketObject("examplebucketObject",
        bucket="your_bucket_name",
        encryption=True,
        key="someobject",
        source="index.html")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.NewObsBucketObject(ctx, "examplebucketObject", &flexibleengine.ObsBucketObjectArgs{
    			Bucket:     pulumi.String("your_bucket_name"),
    			Encryption: pulumi.Bool(true),
    			Key:        pulumi.String("someobject"),
    			Source:     pulumi.String("index.html"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var examplebucketObject = new Flexibleengine.ObsBucketObject("examplebucketObject", new()
        {
            Bucket = "your_bucket_name",
            Encryption = true,
            Key = "someobject",
            Source = "index.html",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.ObsBucketObject;
    import com.pulumi.flexibleengine.ObsBucketObjectArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            var examplebucketObject = new ObsBucketObject("examplebucketObject", ObsBucketObjectArgs.builder()
                .bucket("your_bucket_name")
                .encryption(true)
                .key("someobject")
                .source("index.html")
                .build());
    
        }
    }
    
    resources:
      examplebucketObject:
        type: flexibleengine:ObsBucketObject
        properties:
          bucket: your_bucket_name
          encryption: true
          key: someobject
          source: index.html
    

    Create ObsBucketObject Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ObsBucketObject(name: string, args: ObsBucketObjectArgs, opts?: CustomResourceOptions);
    @overload
    def ObsBucketObject(resource_name: str,
                        args: ObsBucketObjectArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObsBucketObject(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        bucket: Optional[str] = None,
                        key: Optional[str] = None,
                        acl: Optional[str] = None,
                        content: Optional[str] = None,
                        content_type: Optional[str] = None,
                        encryption: Optional[bool] = None,
                        etag: Optional[str] = None,
                        kms_key_id: Optional[str] = None,
                        obs_bucket_object_id: Optional[str] = None,
                        source: Optional[str] = None,
                        storage_class: Optional[str] = None)
    func NewObsBucketObject(ctx *Context, name string, args ObsBucketObjectArgs, opts ...ResourceOption) (*ObsBucketObject, error)
    public ObsBucketObject(string name, ObsBucketObjectArgs args, CustomResourceOptions? opts = null)
    public ObsBucketObject(String name, ObsBucketObjectArgs args)
    public ObsBucketObject(String name, ObsBucketObjectArgs args, CustomResourceOptions options)
    
    type: flexibleengine:ObsBucketObject
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ObsBucketObjectArgs
    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 ObsBucketObjectArgs
    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 ObsBucketObjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObsBucketObjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObsBucketObjectArgs
    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 obsBucketObjectResource = new Flexibleengine.ObsBucketObject("obsBucketObjectResource", new()
    {
        Bucket = "string",
        Key = "string",
        Acl = "string",
        Content = "string",
        ContentType = "string",
        Encryption = false,
        Etag = "string",
        KmsKeyId = "string",
        ObsBucketObjectId = "string",
        Source = "string",
        StorageClass = "string",
    });
    
    example, err := flexibleengine.NewObsBucketObject(ctx, "obsBucketObjectResource", &flexibleengine.ObsBucketObjectArgs{
    	Bucket:            pulumi.String("string"),
    	Key:               pulumi.String("string"),
    	Acl:               pulumi.String("string"),
    	Content:           pulumi.String("string"),
    	ContentType:       pulumi.String("string"),
    	Encryption:        pulumi.Bool(false),
    	Etag:              pulumi.String("string"),
    	KmsKeyId:          pulumi.String("string"),
    	ObsBucketObjectId: pulumi.String("string"),
    	Source:            pulumi.String("string"),
    	StorageClass:      pulumi.String("string"),
    })
    
    var obsBucketObjectResource = new ObsBucketObject("obsBucketObjectResource", ObsBucketObjectArgs.builder()
        .bucket("string")
        .key("string")
        .acl("string")
        .content("string")
        .contentType("string")
        .encryption(false)
        .etag("string")
        .kmsKeyId("string")
        .obsBucketObjectId("string")
        .source("string")
        .storageClass("string")
        .build());
    
    obs_bucket_object_resource = flexibleengine.ObsBucketObject("obsBucketObjectResource",
        bucket="string",
        key="string",
        acl="string",
        content="string",
        content_type="string",
        encryption=False,
        etag="string",
        kms_key_id="string",
        obs_bucket_object_id="string",
        source="string",
        storage_class="string")
    
    const obsBucketObjectResource = new flexibleengine.ObsBucketObject("obsBucketObjectResource", {
        bucket: "string",
        key: "string",
        acl: "string",
        content: "string",
        contentType: "string",
        encryption: false,
        etag: "string",
        kmsKeyId: "string",
        obsBucketObjectId: "string",
        source: "string",
        storageClass: "string",
    });
    
    type: flexibleengine:ObsBucketObject
    properties:
        acl: string
        bucket: string
        content: string
        contentType: string
        encryption: false
        etag: string
        key: string
        kmsKeyId: string
        obsBucketObjectId: string
        source: string
        storageClass: string
    

    ObsBucketObject 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 ObsBucketObject resource accepts the following input properties:

    Bucket string
    The name of the bucket to put the file in. Changing this will create a new resource.
    Key string
    The name of the object once it is in the bucket. Changing this will create a new resource.
    Acl string
    The ACL policy to apply. Defaults to private.
    Content string
    The literal content being uploaded to the bucket.
    ContentType string
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    Encryption bool
    Whether enable server-side encryption of the object in SSE-KMS mode.
    Etag string

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    KmsKeyId string
    The ID of the kms key. If omitted, the default master key will be used.
    ObsBucketObjectId string
    the key of the resource supplied above.
    Source string
    The path to the source file being uploaded to the bucket.
    StorageClass string
    Specifies the storage class of the object. Defaults to STANDARD.
    Bucket string
    The name of the bucket to put the file in. Changing this will create a new resource.
    Key string
    The name of the object once it is in the bucket. Changing this will create a new resource.
    Acl string
    The ACL policy to apply. Defaults to private.
    Content string
    The literal content being uploaded to the bucket.
    ContentType string
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    Encryption bool
    Whether enable server-side encryption of the object in SSE-KMS mode.
    Etag string

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    KmsKeyId string
    The ID of the kms key. If omitted, the default master key will be used.
    ObsBucketObjectId string
    the key of the resource supplied above.
    Source string
    The path to the source file being uploaded to the bucket.
    StorageClass string
    Specifies the storage class of the object. Defaults to STANDARD.
    bucket String
    The name of the bucket to put the file in. Changing this will create a new resource.
    key String
    The name of the object once it is in the bucket. Changing this will create a new resource.
    acl String
    The ACL policy to apply. Defaults to private.
    content String
    The literal content being uploaded to the bucket.
    contentType String
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    encryption Boolean
    Whether enable server-side encryption of the object in SSE-KMS mode.
    etag String

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    kmsKeyId String
    The ID of the kms key. If omitted, the default master key will be used.
    obsBucketObjectId String
    the key of the resource supplied above.
    source String
    The path to the source file being uploaded to the bucket.
    storageClass String
    Specifies the storage class of the object. Defaults to STANDARD.
    bucket string
    The name of the bucket to put the file in. Changing this will create a new resource.
    key string
    The name of the object once it is in the bucket. Changing this will create a new resource.
    acl string
    The ACL policy to apply. Defaults to private.
    content string
    The literal content being uploaded to the bucket.
    contentType string
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    encryption boolean
    Whether enable server-side encryption of the object in SSE-KMS mode.
    etag string

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    kmsKeyId string
    The ID of the kms key. If omitted, the default master key will be used.
    obsBucketObjectId string
    the key of the resource supplied above.
    source string
    The path to the source file being uploaded to the bucket.
    storageClass string
    Specifies the storage class of the object. Defaults to STANDARD.
    bucket str
    The name of the bucket to put the file in. Changing this will create a new resource.
    key str
    The name of the object once it is in the bucket. Changing this will create a new resource.
    acl str
    The ACL policy to apply. Defaults to private.
    content str
    The literal content being uploaded to the bucket.
    content_type str
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    encryption bool
    Whether enable server-side encryption of the object in SSE-KMS mode.
    etag str

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    kms_key_id str
    The ID of the kms key. If omitted, the default master key will be used.
    obs_bucket_object_id str
    the key of the resource supplied above.
    source str
    The path to the source file being uploaded to the bucket.
    storage_class str
    Specifies the storage class of the object. Defaults to STANDARD.
    bucket String
    The name of the bucket to put the file in. Changing this will create a new resource.
    key String
    The name of the object once it is in the bucket. Changing this will create a new resource.
    acl String
    The ACL policy to apply. Defaults to private.
    content String
    The literal content being uploaded to the bucket.
    contentType String
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    encryption Boolean
    Whether enable server-side encryption of the object in SSE-KMS mode.
    etag String

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    kmsKeyId String
    The ID of the kms key. If omitted, the default master key will be used.
    obsBucketObjectId String
    the key of the resource supplied above.
    source String
    The path to the source file being uploaded to the bucket.
    storageClass String
    Specifies the storage class of the object. Defaults to STANDARD.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ObsBucketObject resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Size double
    the size of the object in bytes.
    VersionId string
    A unique version ID value for the object, if bucket versioning is enabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    Size float64
    the size of the object in bytes.
    VersionId string
    A unique version ID value for the object, if bucket versioning is enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    size Double
    the size of the object in bytes.
    versionId String
    A unique version ID value for the object, if bucket versioning is enabled.
    id string
    The provider-assigned unique ID for this managed resource.
    size number
    the size of the object in bytes.
    versionId string
    A unique version ID value for the object, if bucket versioning is enabled.
    id str
    The provider-assigned unique ID for this managed resource.
    size float
    the size of the object in bytes.
    version_id str
    A unique version ID value for the object, if bucket versioning is enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    size Number
    the size of the object in bytes.
    versionId String
    A unique version ID value for the object, if bucket versioning is enabled.

    Look up Existing ObsBucketObject Resource

    Get an existing ObsBucketObject 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?: ObsBucketObjectState, opts?: CustomResourceOptions): ObsBucketObject
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acl: Optional[str] = None,
            bucket: Optional[str] = None,
            content: Optional[str] = None,
            content_type: Optional[str] = None,
            encryption: Optional[bool] = None,
            etag: Optional[str] = None,
            key: Optional[str] = None,
            kms_key_id: Optional[str] = None,
            obs_bucket_object_id: Optional[str] = None,
            size: Optional[float] = None,
            source: Optional[str] = None,
            storage_class: Optional[str] = None,
            version_id: Optional[str] = None) -> ObsBucketObject
    func GetObsBucketObject(ctx *Context, name string, id IDInput, state *ObsBucketObjectState, opts ...ResourceOption) (*ObsBucketObject, error)
    public static ObsBucketObject Get(string name, Input<string> id, ObsBucketObjectState? state, CustomResourceOptions? opts = null)
    public static ObsBucketObject get(String name, Output<String> id, ObsBucketObjectState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:ObsBucketObject    get:      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:
    Acl string
    The ACL policy to apply. Defaults to private.
    Bucket string
    The name of the bucket to put the file in. Changing this will create a new resource.
    Content string
    The literal content being uploaded to the bucket.
    ContentType string
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    Encryption bool
    Whether enable server-side encryption of the object in SSE-KMS mode.
    Etag string

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    Key string
    The name of the object once it is in the bucket. Changing this will create a new resource.
    KmsKeyId string
    The ID of the kms key. If omitted, the default master key will be used.
    ObsBucketObjectId string
    the key of the resource supplied above.
    Size double
    the size of the object in bytes.
    Source string
    The path to the source file being uploaded to the bucket.
    StorageClass string
    Specifies the storage class of the object. Defaults to STANDARD.
    VersionId string
    A unique version ID value for the object, if bucket versioning is enabled.
    Acl string
    The ACL policy to apply. Defaults to private.
    Bucket string
    The name of the bucket to put the file in. Changing this will create a new resource.
    Content string
    The literal content being uploaded to the bucket.
    ContentType string
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    Encryption bool
    Whether enable server-side encryption of the object in SSE-KMS mode.
    Etag string

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    Key string
    The name of the object once it is in the bucket. Changing this will create a new resource.
    KmsKeyId string
    The ID of the kms key. If omitted, the default master key will be used.
    ObsBucketObjectId string
    the key of the resource supplied above.
    Size float64
    the size of the object in bytes.
    Source string
    The path to the source file being uploaded to the bucket.
    StorageClass string
    Specifies the storage class of the object. Defaults to STANDARD.
    VersionId string
    A unique version ID value for the object, if bucket versioning is enabled.
    acl String
    The ACL policy to apply. Defaults to private.
    bucket String
    The name of the bucket to put the file in. Changing this will create a new resource.
    content String
    The literal content being uploaded to the bucket.
    contentType String
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    encryption Boolean
    Whether enable server-side encryption of the object in SSE-KMS mode.
    etag String

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    key String
    The name of the object once it is in the bucket. Changing this will create a new resource.
    kmsKeyId String
    The ID of the kms key. If omitted, the default master key will be used.
    obsBucketObjectId String
    the key of the resource supplied above.
    size Double
    the size of the object in bytes.
    source String
    The path to the source file being uploaded to the bucket.
    storageClass String
    Specifies the storage class of the object. Defaults to STANDARD.
    versionId String
    A unique version ID value for the object, if bucket versioning is enabled.
    acl string
    The ACL policy to apply. Defaults to private.
    bucket string
    The name of the bucket to put the file in. Changing this will create a new resource.
    content string
    The literal content being uploaded to the bucket.
    contentType string
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    encryption boolean
    Whether enable server-side encryption of the object in SSE-KMS mode.
    etag string

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    key string
    The name of the object once it is in the bucket. Changing this will create a new resource.
    kmsKeyId string
    The ID of the kms key. If omitted, the default master key will be used.
    obsBucketObjectId string
    the key of the resource supplied above.
    size number
    the size of the object in bytes.
    source string
    The path to the source file being uploaded to the bucket.
    storageClass string
    Specifies the storage class of the object. Defaults to STANDARD.
    versionId string
    A unique version ID value for the object, if bucket versioning is enabled.
    acl str
    The ACL policy to apply. Defaults to private.
    bucket str
    The name of the bucket to put the file in. Changing this will create a new resource.
    content str
    The literal content being uploaded to the bucket.
    content_type str
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    encryption bool
    Whether enable server-side encryption of the object in SSE-KMS mode.
    etag str

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    key str
    The name of the object once it is in the bucket. Changing this will create a new resource.
    kms_key_id str
    The ID of the kms key. If omitted, the default master key will be used.
    obs_bucket_object_id str
    the key of the resource supplied above.
    size float
    the size of the object in bytes.
    source str
    The path to the source file being uploaded to the bucket.
    storage_class str
    Specifies the storage class of the object. Defaults to STANDARD.
    version_id str
    A unique version ID value for the object, if bucket versioning is enabled.
    acl String
    The ACL policy to apply. Defaults to private.
    bucket String
    The name of the bucket to put the file in. Changing this will create a new resource.
    content String
    The literal content being uploaded to the bucket.
    contentType String
    A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
    encryption Boolean
    Whether enable server-side encryption of the object in SSE-KMS mode.
    etag String

    Specifies the unique identifier of the object content. It can be used to trigger updates. The only meaningful value is md5(file("path_to_file")).

    Either source or content must be provided to specify the bucket content. These two arguments are mutually-exclusive.

    key String
    The name of the object once it is in the bucket. Changing this will create a new resource.
    kmsKeyId String
    The ID of the kms key. If omitted, the default master key will be used.
    obsBucketObjectId String
    the key of the resource supplied above.
    size Number
    the size of the object in bytes.
    source String
    The path to the source file being uploaded to the bucket.
    storageClass String
    Specifies the storage class of the object. Defaults to STANDARD.
    versionId String
    A unique version ID value for the object, if bucket versioning is enabled.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud