1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. S3BucketObject
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.S3BucketObject

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Provides a S3 bucket object resource within OpenTelekomCloud.

    Example Usage

    Server Side Encryption with S3 Default Master Key

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const examplebucket = new opentelekomcloud.S3Bucket("examplebucket", {
        bucket: "examplebuckettftest",
        acl: "private",
    });
    const examplebucketObject = new opentelekomcloud.S3BucketObject("examplebucketObject", {
        key: "someobject",
        bucket: examplebucket.bucket,
        source: "index.html",
        serverSideEncryption: "aws:kms",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    examplebucket = opentelekomcloud.S3Bucket("examplebucket",
        bucket="examplebuckettftest",
        acl="private")
    examplebucket_object = opentelekomcloud.S3BucketObject("examplebucketObject",
        key="someobject",
        bucket=examplebucket.bucket,
        source="index.html",
        server_side_encryption="aws:kms")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		examplebucket, err := opentelekomcloud.NewS3Bucket(ctx, "examplebucket", &opentelekomcloud.S3BucketArgs{
    			Bucket: pulumi.String("examplebuckettftest"),
    			Acl:    pulumi.String("private"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = opentelekomcloud.NewS3BucketObject(ctx, "examplebucketObject", &opentelekomcloud.S3BucketObjectArgs{
    			Key:                  pulumi.String("someobject"),
    			Bucket:               examplebucket.Bucket,
    			Source:               pulumi.String("index.html"),
    			ServerSideEncryption: pulumi.String("aws:kms"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var examplebucket = new Opentelekomcloud.S3Bucket("examplebucket", new()
        {
            Bucket = "examplebuckettftest",
            Acl = "private",
        });
    
        var examplebucketObject = new Opentelekomcloud.S3BucketObject("examplebucketObject", new()
        {
            Key = "someobject",
            Bucket = examplebucket.Bucket,
            Source = "index.html",
            ServerSideEncryption = "aws:kms",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.S3Bucket;
    import com.pulumi.opentelekomcloud.S3BucketArgs;
    import com.pulumi.opentelekomcloud.S3BucketObject;
    import com.pulumi.opentelekomcloud.S3BucketObjectArgs;
    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 S3Bucket("examplebucket", S3BucketArgs.builder()
                .bucket("examplebuckettftest")
                .acl("private")
                .build());
    
            var examplebucketObject = new S3BucketObject("examplebucketObject", S3BucketObjectArgs.builder()
                .key("someobject")
                .bucket(examplebucket.bucket())
                .source("index.html")
                .serverSideEncryption("aws:kms")
                .build());
    
        }
    }
    
    resources:
      examplebucket:
        type: opentelekomcloud:S3Bucket
        properties:
          bucket: examplebuckettftest
          acl: private
      examplebucketObject:
        type: opentelekomcloud:S3BucketObject
        properties:
          key: someobject
          bucket: ${examplebucket.bucket}
          source: index.html
          serverSideEncryption: aws:kms
    

    Create S3BucketObject Resource

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

    Constructor syntax

    new S3BucketObject(name: string, args: S3BucketObjectArgs, opts?: CustomResourceOptions);
    @overload
    def S3BucketObject(resource_name: str,
                       args: S3BucketObjectArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def S3BucketObject(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       key: Optional[str] = None,
                       bucket: Optional[str] = None,
                       content: Optional[str] = None,
                       acl: Optional[str] = None,
                       content_disposition: Optional[str] = None,
                       content_encoding: Optional[str] = None,
                       content_language: Optional[str] = None,
                       content_type: Optional[str] = None,
                       etag: Optional[str] = None,
                       cache_control: Optional[str] = None,
                       s3_bucket_object_id: Optional[str] = None,
                       server_side_encryption: Optional[str] = None,
                       source: Optional[str] = None,
                       sse_kms_key_id: Optional[str] = None,
                       website_redirect: Optional[str] = None)
    func NewS3BucketObject(ctx *Context, name string, args S3BucketObjectArgs, opts ...ResourceOption) (*S3BucketObject, error)
    public S3BucketObject(string name, S3BucketObjectArgs args, CustomResourceOptions? opts = null)
    public S3BucketObject(String name, S3BucketObjectArgs args)
    public S3BucketObject(String name, S3BucketObjectArgs args, CustomResourceOptions options)
    
    type: opentelekomcloud:S3BucketObject
    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 S3BucketObjectArgs
    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 S3BucketObjectArgs
    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 S3BucketObjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args S3BucketObjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args S3BucketObjectArgs
    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 s3bucketObjectResource = new Opentelekomcloud.S3BucketObject("s3bucketObjectResource", new()
    {
        Key = "string",
        Bucket = "string",
        Content = "string",
        Acl = "string",
        ContentDisposition = "string",
        ContentEncoding = "string",
        ContentLanguage = "string",
        ContentType = "string",
        Etag = "string",
        CacheControl = "string",
        S3BucketObjectId = "string",
        ServerSideEncryption = "string",
        Source = "string",
        SseKmsKeyId = "string",
        WebsiteRedirect = "string",
    });
    
    example, err := opentelekomcloud.NewS3BucketObject(ctx, "s3bucketObjectResource", &opentelekomcloud.S3BucketObjectArgs{
    	Key:                  pulumi.String("string"),
    	Bucket:               pulumi.String("string"),
    	Content:              pulumi.String("string"),
    	Acl:                  pulumi.String("string"),
    	ContentDisposition:   pulumi.String("string"),
    	ContentEncoding:      pulumi.String("string"),
    	ContentLanguage:      pulumi.String("string"),
    	ContentType:          pulumi.String("string"),
    	Etag:                 pulumi.String("string"),
    	CacheControl:         pulumi.String("string"),
    	S3BucketObjectId:     pulumi.String("string"),
    	ServerSideEncryption: pulumi.String("string"),
    	Source:               pulumi.String("string"),
    	SseKmsKeyId:          pulumi.String("string"),
    	WebsiteRedirect:      pulumi.String("string"),
    })
    
    var s3bucketObjectResource = new S3BucketObject("s3bucketObjectResource", S3BucketObjectArgs.builder()
        .key("string")
        .bucket("string")
        .content("string")
        .acl("string")
        .contentDisposition("string")
        .contentEncoding("string")
        .contentLanguage("string")
        .contentType("string")
        .etag("string")
        .cacheControl("string")
        .s3BucketObjectId("string")
        .serverSideEncryption("string")
        .source("string")
        .sseKmsKeyId("string")
        .websiteRedirect("string")
        .build());
    
    s3bucket_object_resource = opentelekomcloud.S3BucketObject("s3bucketObjectResource",
        key="string",
        bucket="string",
        content="string",
        acl="string",
        content_disposition="string",
        content_encoding="string",
        content_language="string",
        content_type="string",
        etag="string",
        cache_control="string",
        s3_bucket_object_id="string",
        server_side_encryption="string",
        source="string",
        sse_kms_key_id="string",
        website_redirect="string")
    
    const s3bucketObjectResource = new opentelekomcloud.S3BucketObject("s3bucketObjectResource", {
        key: "string",
        bucket: "string",
        content: "string",
        acl: "string",
        contentDisposition: "string",
        contentEncoding: "string",
        contentLanguage: "string",
        contentType: "string",
        etag: "string",
        cacheControl: "string",
        s3BucketObjectId: "string",
        serverSideEncryption: "string",
        source: "string",
        sseKmsKeyId: "string",
        websiteRedirect: "string",
    });
    
    type: opentelekomcloud:S3BucketObject
    properties:
        acl: string
        bucket: string
        cacheControl: string
        content: string
        contentDisposition: string
        contentEncoding: string
        contentLanguage: string
        contentType: string
        etag: string
        key: string
        s3BucketObjectId: string
        serverSideEncryption: string
        source: string
        sseKmsKeyId: string
        websiteRedirect: string
    

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

    Bucket string
    The name of the bucket to put the file in.
    Key string
    The name of the object once it is in the bucket.
    Acl string
    The canned ACL to apply. Defaults to "private".
    CacheControl string
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    Content string
    The literal content being uploaded to the bucket.
    ContentDisposition string
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    ContentEncoding string
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    ContentLanguage string
    The language the content is in e.g. en-US or en-GB.
    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.
    Etag string
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    S3BucketObjectId string
    the key of the resource supplied above
    ServerSideEncryption string

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    Source string
    The path to the source file being uploaded to the bucket.
    SseKmsKeyId string
    WebsiteRedirect string
    Specifies a target URL for website redirect.
    Bucket string
    The name of the bucket to put the file in.
    Key string
    The name of the object once it is in the bucket.
    Acl string
    The canned ACL to apply. Defaults to "private".
    CacheControl string
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    Content string
    The literal content being uploaded to the bucket.
    ContentDisposition string
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    ContentEncoding string
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    ContentLanguage string
    The language the content is in e.g. en-US or en-GB.
    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.
    Etag string
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    S3BucketObjectId string
    the key of the resource supplied above
    ServerSideEncryption string

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    Source string
    The path to the source file being uploaded to the bucket.
    SseKmsKeyId string
    WebsiteRedirect string
    Specifies a target URL for website redirect.
    bucket String
    The name of the bucket to put the file in.
    key String
    The name of the object once it is in the bucket.
    acl String
    The canned ACL to apply. Defaults to "private".
    cacheControl String
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    content String
    The literal content being uploaded to the bucket.
    contentDisposition String
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    contentEncoding String
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    contentLanguage String
    The language the content is in e.g. en-US or en-GB.
    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.
    etag String
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    s3BucketObjectId String
    the key of the resource supplied above
    serverSideEncryption String

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    source String
    The path to the source file being uploaded to the bucket.
    sseKmsKeyId String
    websiteRedirect String
    Specifies a target URL for website redirect.
    bucket string
    The name of the bucket to put the file in.
    key string
    The name of the object once it is in the bucket.
    acl string
    The canned ACL to apply. Defaults to "private".
    cacheControl string
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    content string
    The literal content being uploaded to the bucket.
    contentDisposition string
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    contentEncoding string
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    contentLanguage string
    The language the content is in e.g. en-US or en-GB.
    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.
    etag string
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    s3BucketObjectId string
    the key of the resource supplied above
    serverSideEncryption string

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    source string
    The path to the source file being uploaded to the bucket.
    sseKmsKeyId string
    websiteRedirect string
    Specifies a target URL for website redirect.
    bucket str
    The name of the bucket to put the file in.
    key str
    The name of the object once it is in the bucket.
    acl str
    The canned ACL to apply. Defaults to "private".
    cache_control str
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    content str
    The literal content being uploaded to the bucket.
    content_disposition str
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    content_encoding str
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    content_language str
    The language the content is in e.g. en-US or en-GB.
    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.
    etag str
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    s3_bucket_object_id str
    the key of the resource supplied above
    server_side_encryption str

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    source str
    The path to the source file being uploaded to the bucket.
    sse_kms_key_id str
    website_redirect str
    Specifies a target URL for website redirect.
    bucket String
    The name of the bucket to put the file in.
    key String
    The name of the object once it is in the bucket.
    acl String
    The canned ACL to apply. Defaults to "private".
    cacheControl String
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    content String
    The literal content being uploaded to the bucket.
    contentDisposition String
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    contentEncoding String
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    contentLanguage String
    The language the content is in e.g. en-US or en-GB.
    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.
    etag String
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    s3BucketObjectId String
    the key of the resource supplied above
    serverSideEncryption String

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    source String
    The path to the source file being uploaded to the bucket.
    sseKmsKeyId String
    websiteRedirect String
    Specifies a target URL for website redirect.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    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.
    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.
    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.
    versionId String
    A unique version ID value for the object, if bucket versioning is enabled.

    Look up Existing S3BucketObject Resource

    Get an existing S3BucketObject 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?: S3BucketObjectState, opts?: CustomResourceOptions): S3BucketObject
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acl: Optional[str] = None,
            bucket: Optional[str] = None,
            cache_control: Optional[str] = None,
            content: Optional[str] = None,
            content_disposition: Optional[str] = None,
            content_encoding: Optional[str] = None,
            content_language: Optional[str] = None,
            content_type: Optional[str] = None,
            etag: Optional[str] = None,
            key: Optional[str] = None,
            s3_bucket_object_id: Optional[str] = None,
            server_side_encryption: Optional[str] = None,
            source: Optional[str] = None,
            sse_kms_key_id: Optional[str] = None,
            version_id: Optional[str] = None,
            website_redirect: Optional[str] = None) -> S3BucketObject
    func GetS3BucketObject(ctx *Context, name string, id IDInput, state *S3BucketObjectState, opts ...ResourceOption) (*S3BucketObject, error)
    public static S3BucketObject Get(string name, Input<string> id, S3BucketObjectState? state, CustomResourceOptions? opts = null)
    public static S3BucketObject get(String name, Output<String> id, S3BucketObjectState state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:S3BucketObject    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 canned ACL to apply. Defaults to "private".
    Bucket string
    The name of the bucket to put the file in.
    CacheControl string
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    Content string
    The literal content being uploaded to the bucket.
    ContentDisposition string
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    ContentEncoding string
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    ContentLanguage string
    The language the content is in e.g. en-US or en-GB.
    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.
    Etag string
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    Key string
    The name of the object once it is in the bucket.
    S3BucketObjectId string
    the key of the resource supplied above
    ServerSideEncryption string

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    Source string
    The path to the source file being uploaded to the bucket.
    SseKmsKeyId string
    VersionId string
    A unique version ID value for the object, if bucket versioning is enabled.
    WebsiteRedirect string
    Specifies a target URL for website redirect.
    Acl string
    The canned ACL to apply. Defaults to "private".
    Bucket string
    The name of the bucket to put the file in.
    CacheControl string
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    Content string
    The literal content being uploaded to the bucket.
    ContentDisposition string
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    ContentEncoding string
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    ContentLanguage string
    The language the content is in e.g. en-US or en-GB.
    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.
    Etag string
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    Key string
    The name of the object once it is in the bucket.
    S3BucketObjectId string
    the key of the resource supplied above
    ServerSideEncryption string

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    Source string
    The path to the source file being uploaded to the bucket.
    SseKmsKeyId string
    VersionId string
    A unique version ID value for the object, if bucket versioning is enabled.
    WebsiteRedirect string
    Specifies a target URL for website redirect.
    acl String
    The canned ACL to apply. Defaults to "private".
    bucket String
    The name of the bucket to put the file in.
    cacheControl String
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    content String
    The literal content being uploaded to the bucket.
    contentDisposition String
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    contentEncoding String
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    contentLanguage String
    The language the content is in e.g. en-US or en-GB.
    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.
    etag String
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    key String
    The name of the object once it is in the bucket.
    s3BucketObjectId String
    the key of the resource supplied above
    serverSideEncryption String

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    source String
    The path to the source file being uploaded to the bucket.
    sseKmsKeyId String
    versionId String
    A unique version ID value for the object, if bucket versioning is enabled.
    websiteRedirect String
    Specifies a target URL for website redirect.
    acl string
    The canned ACL to apply. Defaults to "private".
    bucket string
    The name of the bucket to put the file in.
    cacheControl string
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    content string
    The literal content being uploaded to the bucket.
    contentDisposition string
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    contentEncoding string
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    contentLanguage string
    The language the content is in e.g. en-US or en-GB.
    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.
    etag string
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    key string
    The name of the object once it is in the bucket.
    s3BucketObjectId string
    the key of the resource supplied above
    serverSideEncryption string

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    source string
    The path to the source file being uploaded to the bucket.
    sseKmsKeyId string
    versionId string
    A unique version ID value for the object, if bucket versioning is enabled.
    websiteRedirect string
    Specifies a target URL for website redirect.
    acl str
    The canned ACL to apply. Defaults to "private".
    bucket str
    The name of the bucket to put the file in.
    cache_control str
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    content str
    The literal content being uploaded to the bucket.
    content_disposition str
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    content_encoding str
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    content_language str
    The language the content is in e.g. en-US or en-GB.
    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.
    etag str
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    key str
    The name of the object once it is in the bucket.
    s3_bucket_object_id str
    the key of the resource supplied above
    server_side_encryption str

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    source str
    The path to the source file being uploaded to the bucket.
    sse_kms_key_id str
    version_id str
    A unique version ID value for the object, if bucket versioning is enabled.
    website_redirect str
    Specifies a target URL for website redirect.
    acl String
    The canned ACL to apply. Defaults to "private".
    bucket String
    The name of the bucket to put the file in.
    cacheControl String
    Specifies caching behavior along the request/reply chain. Read w3c cache_control for further details.
    content String
    The literal content being uploaded to the bucket.
    contentDisposition String
    Specifies presentational information for the object. Read wc3 content_disposition for further information.
    contentEncoding String
    Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
    contentLanguage String
    The language the content is in e.g. en-US or en-GB.
    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.
    etag String
    Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. This attribute is not compatible with kms_key_id.
    key String
    The name of the object once it is in the bucket.
    s3BucketObjectId String
    the key of the resource supplied above
    serverSideEncryption String

    Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".

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

    source String
    The path to the source file being uploaded to the bucket.
    sseKmsKeyId String
    versionId String
    A unique version ID value for the object, if bucket versioning is enabled.
    websiteRedirect String
    Specifies a target URL for website redirect.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud