1. Packages
  2. Ionoscloud Provider
  3. API Docs
  4. S3ObjectCopy
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

ionoscloud.S3ObjectCopy

Explore with Pulumi AI

ionoscloud logo
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ionoscloud from "@pulumi/ionoscloud";
    
    const sourceS3Bucket = new ionoscloud.S3Bucket("sourceS3Bucket", {});
    const target = new ionoscloud.S3Bucket("target", {});
    const sourceS3Object = new ionoscloud.S3Object("sourceS3Object", {
        bucket: sourceS3Bucket.name,
        key: "source_object",
        content: "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
        contentType: "application/octet-stream",
    });
    const example = new ionoscloud.S3ObjectCopy("example", {
        bucket: target.name,
        key: "example",
        source: pulumi.interpolate`${sourceS3Bucket.name}/${sourceS3Object.key}`,
    });
    
    import pulumi
    import pulumi_ionoscloud as ionoscloud
    
    source_s3_bucket = ionoscloud.S3Bucket("sourceS3Bucket")
    target = ionoscloud.S3Bucket("target")
    source_s3_object = ionoscloud.S3Object("sourceS3Object",
        bucket=source_s3_bucket.name,
        key="source_object",
        content="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
        content_type="application/octet-stream")
    example = ionoscloud.S3ObjectCopy("example",
        bucket=target.name,
        key="example",
        source=pulumi.Output.all(
            name=source_s3_bucket.name,
            key=source_s3_object.key
    ).apply(lambda resolved_outputs: f"{resolved_outputs['name']}/{resolved_outputs['key']}")
    )
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		sourceS3Bucket, err := ionoscloud.NewS3Bucket(ctx, "sourceS3Bucket", nil)
    		if err != nil {
    			return err
    		}
    		target, err := ionoscloud.NewS3Bucket(ctx, "target", nil)
    		if err != nil {
    			return err
    		}
    		sourceS3Object, err := ionoscloud.NewS3Object(ctx, "sourceS3Object", &ionoscloud.S3ObjectArgs{
    			Bucket:      sourceS3Bucket.Name,
    			Key:         pulumi.String("source_object"),
    			Content:     pulumi.String("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"),
    			ContentType: pulumi.String("application/octet-stream"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ionoscloud.NewS3ObjectCopy(ctx, "example", &ionoscloud.S3ObjectCopyArgs{
    			Bucket: target.Name,
    			Key:    pulumi.String("example"),
    			Source: pulumi.All(sourceS3Bucket.Name, sourceS3Object.Key).ApplyT(func(_args []interface{}) (string, error) {
    				name := _args[0].(string)
    				key := _args[1].(string)
    				return fmt.Sprintf("%v/%v", name, key), nil
    			}).(pulumi.StringOutput),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ionoscloud = Pulumi.Ionoscloud;
    
    return await Deployment.RunAsync(() => 
    {
        var sourceS3Bucket = new Ionoscloud.S3Bucket("sourceS3Bucket");
    
        var target = new Ionoscloud.S3Bucket("target");
    
        var sourceS3Object = new Ionoscloud.S3Object("sourceS3Object", new()
        {
            Bucket = sourceS3Bucket.Name,
            Key = "source_object",
            Content = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
            ContentType = "application/octet-stream",
        });
    
        var example = new Ionoscloud.S3ObjectCopy("example", new()
        {
            Bucket = target.Name,
            Key = "example",
            Source = Output.Tuple(sourceS3Bucket.Name, sourceS3Object.Key).Apply(values =>
            {
                var name = values.Item1;
                var key = values.Item2;
                return $"{name}/{key}";
            }),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ionoscloud.S3Bucket;
    import com.pulumi.ionoscloud.S3Object;
    import com.pulumi.ionoscloud.S3ObjectArgs;
    import com.pulumi.ionoscloud.S3ObjectCopy;
    import com.pulumi.ionoscloud.S3ObjectCopyArgs;
    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 sourceS3Bucket = new S3Bucket("sourceS3Bucket");
    
            var target = new S3Bucket("target");
    
            var sourceS3Object = new S3Object("sourceS3Object", S3ObjectArgs.builder()
                .bucket(sourceS3Bucket.name())
                .key("source_object")
                .content("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
                .contentType("application/octet-stream")
                .build());
    
            var example = new S3ObjectCopy("example", S3ObjectCopyArgs.builder()
                .bucket(target.name())
                .key("example")
                .source(Output.tuple(sourceS3Bucket.name(), sourceS3Object.key()).applyValue(values -> {
                    var name = values.t1;
                    var key = values.t2;
                    return String.format("%s/%s", name,key);
                }))
                .build());
    
        }
    }
    
    resources:
      sourceS3Bucket:
        type: ionoscloud:S3Bucket
      target:
        type: ionoscloud:S3Bucket
      sourceS3Object:
        type: ionoscloud:S3Object
        properties:
          bucket: ${sourceS3Bucket.name}
          key: source_object
          content: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
          contentType: application/octet-stream
      example:
        type: ionoscloud:S3ObjectCopy
        properties:
          bucket: ${target.name}
          key: example
          source: ${sourceS3Bucket.name}/${sourceS3Object.key}
    

    Create S3ObjectCopy Resource

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

    Constructor syntax

    new S3ObjectCopy(name: string, args: S3ObjectCopyArgs, opts?: CustomResourceOptions);
    @overload
    def S3ObjectCopy(resource_name: str,
                     args: S3ObjectCopyArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def S3ObjectCopy(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     key: Optional[str] = None,
                     source: Optional[str] = None,
                     bucket: Optional[str] = None,
                     metadata_directive: Optional[str] = None,
                     object_lock_mode: Optional[str] = None,
                     content_type: Optional[str] = None,
                     copy_if_match: Optional[str] = None,
                     copy_if_modified_since: Optional[str] = None,
                     copy_if_none_match: Optional[str] = None,
                     copy_if_unmodified_since: Optional[str] = None,
                     expires: Optional[str] = None,
                     force_destroy: Optional[bool] = None,
                     content_encoding: Optional[str] = None,
                     metadata: Optional[Mapping[str, str]] = None,
                     content_disposition: Optional[str] = None,
                     object_lock_legal_hold: Optional[str] = None,
                     content_language: Optional[str] = None,
                     object_lock_retain_until_date: Optional[str] = None,
                     server_side_encryption: Optional[str] = None,
                     server_side_encryption_customer_algorithm: Optional[str] = None,
                     server_side_encryption_customer_key: Optional[str] = None,
                     server_side_encryption_customer_key_md5: Optional[str] = None,
                     cache_control: Optional[str] = None,
                     source_customer_algorithm: Optional[str] = None,
                     source_customer_key: Optional[str] = None,
                     source_customer_key_md5: Optional[str] = None,
                     storage_class: Optional[str] = None,
                     tagging_directive: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     website_redirect: Optional[str] = None)
    func NewS3ObjectCopy(ctx *Context, name string, args S3ObjectCopyArgs, opts ...ResourceOption) (*S3ObjectCopy, error)
    public S3ObjectCopy(string name, S3ObjectCopyArgs args, CustomResourceOptions? opts = null)
    public S3ObjectCopy(String name, S3ObjectCopyArgs args)
    public S3ObjectCopy(String name, S3ObjectCopyArgs args, CustomResourceOptions options)
    
    type: ionoscloud:S3ObjectCopy
    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 S3ObjectCopyArgs
    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 S3ObjectCopyArgs
    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 S3ObjectCopyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args S3ObjectCopyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args S3ObjectCopyArgs
    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 s3objectCopyResource = new Ionoscloud.S3ObjectCopy("s3objectCopyResource", new()
    {
        Key = "string",
        Source = "string",
        Bucket = "string",
        MetadataDirective = "string",
        ObjectLockMode = "string",
        ContentType = "string",
        CopyIfMatch = "string",
        CopyIfModifiedSince = "string",
        CopyIfNoneMatch = "string",
        CopyIfUnmodifiedSince = "string",
        Expires = "string",
        ForceDestroy = false,
        ContentEncoding = "string",
        Metadata = 
        {
            { "string", "string" },
        },
        ContentDisposition = "string",
        ObjectLockLegalHold = "string",
        ContentLanguage = "string",
        ObjectLockRetainUntilDate = "string",
        ServerSideEncryption = "string",
        ServerSideEncryptionCustomerAlgorithm = "string",
        ServerSideEncryptionCustomerKey = "string",
        ServerSideEncryptionCustomerKeyMd5 = "string",
        CacheControl = "string",
        SourceCustomerAlgorithm = "string",
        SourceCustomerKey = "string",
        SourceCustomerKeyMd5 = "string",
        StorageClass = "string",
        TaggingDirective = "string",
        Tags = 
        {
            { "string", "string" },
        },
        WebsiteRedirect = "string",
    });
    
    example, err := ionoscloud.NewS3ObjectCopy(ctx, "s3objectCopyResource", &ionoscloud.S3ObjectCopyArgs{
    	Key:                   pulumi.String("string"),
    	Source:                pulumi.String("string"),
    	Bucket:                pulumi.String("string"),
    	MetadataDirective:     pulumi.String("string"),
    	ObjectLockMode:        pulumi.String("string"),
    	ContentType:           pulumi.String("string"),
    	CopyIfMatch:           pulumi.String("string"),
    	CopyIfModifiedSince:   pulumi.String("string"),
    	CopyIfNoneMatch:       pulumi.String("string"),
    	CopyIfUnmodifiedSince: pulumi.String("string"),
    	Expires:               pulumi.String("string"),
    	ForceDestroy:          pulumi.Bool(false),
    	ContentEncoding:       pulumi.String("string"),
    	Metadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ContentDisposition:                    pulumi.String("string"),
    	ObjectLockLegalHold:                   pulumi.String("string"),
    	ContentLanguage:                       pulumi.String("string"),
    	ObjectLockRetainUntilDate:             pulumi.String("string"),
    	ServerSideEncryption:                  pulumi.String("string"),
    	ServerSideEncryptionCustomerAlgorithm: pulumi.String("string"),
    	ServerSideEncryptionCustomerKey:       pulumi.String("string"),
    	ServerSideEncryptionCustomerKeyMd5:    pulumi.String("string"),
    	CacheControl:                          pulumi.String("string"),
    	SourceCustomerAlgorithm:               pulumi.String("string"),
    	SourceCustomerKey:                     pulumi.String("string"),
    	SourceCustomerKeyMd5:                  pulumi.String("string"),
    	StorageClass:                          pulumi.String("string"),
    	TaggingDirective:                      pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	WebsiteRedirect: pulumi.String("string"),
    })
    
    var s3objectCopyResource = new S3ObjectCopy("s3objectCopyResource", S3ObjectCopyArgs.builder()
        .key("string")
        .source("string")
        .bucket("string")
        .metadataDirective("string")
        .objectLockMode("string")
        .contentType("string")
        .copyIfMatch("string")
        .copyIfModifiedSince("string")
        .copyIfNoneMatch("string")
        .copyIfUnmodifiedSince("string")
        .expires("string")
        .forceDestroy(false)
        .contentEncoding("string")
        .metadata(Map.of("string", "string"))
        .contentDisposition("string")
        .objectLockLegalHold("string")
        .contentLanguage("string")
        .objectLockRetainUntilDate("string")
        .serverSideEncryption("string")
        .serverSideEncryptionCustomerAlgorithm("string")
        .serverSideEncryptionCustomerKey("string")
        .serverSideEncryptionCustomerKeyMd5("string")
        .cacheControl("string")
        .sourceCustomerAlgorithm("string")
        .sourceCustomerKey("string")
        .sourceCustomerKeyMd5("string")
        .storageClass("string")
        .taggingDirective("string")
        .tags(Map.of("string", "string"))
        .websiteRedirect("string")
        .build());
    
    s3object_copy_resource = ionoscloud.S3ObjectCopy("s3objectCopyResource",
        key="string",
        source="string",
        bucket="string",
        metadata_directive="string",
        object_lock_mode="string",
        content_type="string",
        copy_if_match="string",
        copy_if_modified_since="string",
        copy_if_none_match="string",
        copy_if_unmodified_since="string",
        expires="string",
        force_destroy=False,
        content_encoding="string",
        metadata={
            "string": "string",
        },
        content_disposition="string",
        object_lock_legal_hold="string",
        content_language="string",
        object_lock_retain_until_date="string",
        server_side_encryption="string",
        server_side_encryption_customer_algorithm="string",
        server_side_encryption_customer_key="string",
        server_side_encryption_customer_key_md5="string",
        cache_control="string",
        source_customer_algorithm="string",
        source_customer_key="string",
        source_customer_key_md5="string",
        storage_class="string",
        tagging_directive="string",
        tags={
            "string": "string",
        },
        website_redirect="string")
    
    const s3objectCopyResource = new ionoscloud.S3ObjectCopy("s3objectCopyResource", {
        key: "string",
        source: "string",
        bucket: "string",
        metadataDirective: "string",
        objectLockMode: "string",
        contentType: "string",
        copyIfMatch: "string",
        copyIfModifiedSince: "string",
        copyIfNoneMatch: "string",
        copyIfUnmodifiedSince: "string",
        expires: "string",
        forceDestroy: false,
        contentEncoding: "string",
        metadata: {
            string: "string",
        },
        contentDisposition: "string",
        objectLockLegalHold: "string",
        contentLanguage: "string",
        objectLockRetainUntilDate: "string",
        serverSideEncryption: "string",
        serverSideEncryptionCustomerAlgorithm: "string",
        serverSideEncryptionCustomerKey: "string",
        serverSideEncryptionCustomerKeyMd5: "string",
        cacheControl: "string",
        sourceCustomerAlgorithm: "string",
        sourceCustomerKey: "string",
        sourceCustomerKeyMd5: "string",
        storageClass: "string",
        taggingDirective: "string",
        tags: {
            string: "string",
        },
        websiteRedirect: "string",
    });
    
    type: ionoscloud:S3ObjectCopy
    properties:
        bucket: string
        cacheControl: string
        contentDisposition: string
        contentEncoding: string
        contentLanguage: string
        contentType: string
        copyIfMatch: string
        copyIfModifiedSince: string
        copyIfNoneMatch: string
        copyIfUnmodifiedSince: string
        expires: string
        forceDestroy: false
        key: string
        metadata:
            string: string
        metadataDirective: string
        objectLockLegalHold: string
        objectLockMode: string
        objectLockRetainUntilDate: string
        serverSideEncryption: string
        serverSideEncryptionCustomerAlgorithm: string
        serverSideEncryptionCustomerKey: string
        serverSideEncryptionCustomerKeyMd5: string
        source: string
        sourceCustomerAlgorithm: string
        sourceCustomerKey: string
        sourceCustomerKeyMd5: string
        storageClass: string
        taggingDirective: string
        tags:
            string: string
        websiteRedirect: string
    

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

    Bucket string
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    Key string
    [string] The key of the object. Must be at least 1 character long.
    Source string
    [string] The source of the object to be copied
    CacheControl string
    [string] Specifies caching behavior along the request/reply chain.
    ContentDisposition string
    [string] Specifies presentational information for the object.
    ContentEncoding string
    [string] Specifies what content encodings have been applied to the object.
    ContentLanguage string
    [string] The natural language or languages of the intended audience for the object.
    ContentType string
    [string] A standard MIME type describing the format of the contents.
    CopyIfMatch string
    Copies the object if its entity tag (ETag) matches the specified tag
    CopyIfModifiedSince string
    Copies the object if it has been modified since the specified time
    CopyIfNoneMatch string
    Copies the object if its entity tag (ETag) is different than the specified ETag
    CopyIfUnmodifiedSince string
    Copies the object if it hasn't been modified since the specified time
    Expires string
    [string] The date and time at which the object is no longer cacheable.
    ForceDestroy bool
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    Metadata Dictionary<string, string>
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    MetadataDirective string
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    ObjectLockLegalHold string
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    ObjectLockMode string
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    ObjectLockRetainUntilDate string
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    ServerSideEncryption string
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    ServerSideEncryptionCustomerAlgorithm string
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    ServerSideEncryptionCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    ServerSideEncryptionCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    SourceCustomerAlgorithm string
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    SourceCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    SourceCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    StorageClass string
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    TaggingDirective string
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    Tags Dictionary<string, string>
    [map] The tag-set for the object.
    WebsiteRedirect string
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.
    Bucket string
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    Key string
    [string] The key of the object. Must be at least 1 character long.
    Source string
    [string] The source of the object to be copied
    CacheControl string
    [string] Specifies caching behavior along the request/reply chain.
    ContentDisposition string
    [string] Specifies presentational information for the object.
    ContentEncoding string
    [string] Specifies what content encodings have been applied to the object.
    ContentLanguage string
    [string] The natural language or languages of the intended audience for the object.
    ContentType string
    [string] A standard MIME type describing the format of the contents.
    CopyIfMatch string
    Copies the object if its entity tag (ETag) matches the specified tag
    CopyIfModifiedSince string
    Copies the object if it has been modified since the specified time
    CopyIfNoneMatch string
    Copies the object if its entity tag (ETag) is different than the specified ETag
    CopyIfUnmodifiedSince string
    Copies the object if it hasn't been modified since the specified time
    Expires string
    [string] The date and time at which the object is no longer cacheable.
    ForceDestroy bool
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    Metadata map[string]string
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    MetadataDirective string
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    ObjectLockLegalHold string
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    ObjectLockMode string
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    ObjectLockRetainUntilDate string
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    ServerSideEncryption string
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    ServerSideEncryptionCustomerAlgorithm string
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    ServerSideEncryptionCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    ServerSideEncryptionCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    SourceCustomerAlgorithm string
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    SourceCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    SourceCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    StorageClass string
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    TaggingDirective string
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    Tags map[string]string
    [map] The tag-set for the object.
    WebsiteRedirect string
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.
    bucket String
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    key String
    [string] The key of the object. Must be at least 1 character long.
    source String
    [string] The source of the object to be copied
    cacheControl String
    [string] Specifies caching behavior along the request/reply chain.
    contentDisposition String
    [string] Specifies presentational information for the object.
    contentEncoding String
    [string] Specifies what content encodings have been applied to the object.
    contentLanguage String
    [string] The natural language or languages of the intended audience for the object.
    contentType String
    [string] A standard MIME type describing the format of the contents.
    copyIfMatch String
    Copies the object if its entity tag (ETag) matches the specified tag
    copyIfModifiedSince String
    Copies the object if it has been modified since the specified time
    copyIfNoneMatch String
    Copies the object if its entity tag (ETag) is different than the specified ETag
    copyIfUnmodifiedSince String
    Copies the object if it hasn't been modified since the specified time
    expires String
    [string] The date and time at which the object is no longer cacheable.
    forceDestroy Boolean
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    metadata Map<String,String>
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    metadataDirective String
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    objectLockLegalHold String
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    objectLockMode String
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    objectLockRetainUntilDate String
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    serverSideEncryption String
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    serverSideEncryptionCustomerAlgorithm String
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    serverSideEncryptionCustomerKey String
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    serverSideEncryptionCustomerKeyMd5 String
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    sourceCustomerAlgorithm String
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    sourceCustomerKey String
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    sourceCustomerKeyMd5 String
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    storageClass String
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    taggingDirective String
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    tags Map<String,String>
    [map] The tag-set for the object.
    websiteRedirect String
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.
    bucket string
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    key string
    [string] The key of the object. Must be at least 1 character long.
    source string
    [string] The source of the object to be copied
    cacheControl string
    [string] Specifies caching behavior along the request/reply chain.
    contentDisposition string
    [string] Specifies presentational information for the object.
    contentEncoding string
    [string] Specifies what content encodings have been applied to the object.
    contentLanguage string
    [string] The natural language or languages of the intended audience for the object.
    contentType string
    [string] A standard MIME type describing the format of the contents.
    copyIfMatch string
    Copies the object if its entity tag (ETag) matches the specified tag
    copyIfModifiedSince string
    Copies the object if it has been modified since the specified time
    copyIfNoneMatch string
    Copies the object if its entity tag (ETag) is different than the specified ETag
    copyIfUnmodifiedSince string
    Copies the object if it hasn't been modified since the specified time
    expires string
    [string] The date and time at which the object is no longer cacheable.
    forceDestroy boolean
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    metadata {[key: string]: string}
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    metadataDirective string
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    objectLockLegalHold string
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    objectLockMode string
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    objectLockRetainUntilDate string
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    serverSideEncryption string
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    serverSideEncryptionCustomerAlgorithm string
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    serverSideEncryptionCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    serverSideEncryptionCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    sourceCustomerAlgorithm string
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    sourceCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    sourceCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    storageClass string
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    taggingDirective string
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    tags {[key: string]: string}
    [map] The tag-set for the object.
    websiteRedirect string
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.
    bucket str
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    key str
    [string] The key of the object. Must be at least 1 character long.
    source str
    [string] The source of the object to be copied
    cache_control str
    [string] Specifies caching behavior along the request/reply chain.
    content_disposition str
    [string] Specifies presentational information for the object.
    content_encoding str
    [string] Specifies what content encodings have been applied to the object.
    content_language str
    [string] The natural language or languages of the intended audience for the object.
    content_type str
    [string] A standard MIME type describing the format of the contents.
    copy_if_match str
    Copies the object if its entity tag (ETag) matches the specified tag
    copy_if_modified_since str
    Copies the object if it has been modified since the specified time
    copy_if_none_match str
    Copies the object if its entity tag (ETag) is different than the specified ETag
    copy_if_unmodified_since str
    Copies the object if it hasn't been modified since the specified time
    expires str
    [string] The date and time at which the object is no longer cacheable.
    force_destroy bool
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    metadata Mapping[str, str]
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    metadata_directive str
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    object_lock_legal_hold str
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    object_lock_mode str
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    object_lock_retain_until_date str
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    server_side_encryption str
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    server_side_encryption_customer_algorithm str
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    server_side_encryption_customer_key str
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    server_side_encryption_customer_key_md5 str
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    source_customer_algorithm str
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    source_customer_key str
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    source_customer_key_md5 str
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    storage_class str
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    tagging_directive str
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    tags Mapping[str, str]
    [map] The tag-set for the object.
    website_redirect str
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.
    bucket String
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    key String
    [string] The key of the object. Must be at least 1 character long.
    source String
    [string] The source of the object to be copied
    cacheControl String
    [string] Specifies caching behavior along the request/reply chain.
    contentDisposition String
    [string] Specifies presentational information for the object.
    contentEncoding String
    [string] Specifies what content encodings have been applied to the object.
    contentLanguage String
    [string] The natural language or languages of the intended audience for the object.
    contentType String
    [string] A standard MIME type describing the format of the contents.
    copyIfMatch String
    Copies the object if its entity tag (ETag) matches the specified tag
    copyIfModifiedSince String
    Copies the object if it has been modified since the specified time
    copyIfNoneMatch String
    Copies the object if its entity tag (ETag) is different than the specified ETag
    copyIfUnmodifiedSince String
    Copies the object if it hasn't been modified since the specified time
    expires String
    [string] The date and time at which the object is no longer cacheable.
    forceDestroy Boolean
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    metadata Map<String>
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    metadataDirective String
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    objectLockLegalHold String
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    objectLockMode String
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    objectLockRetainUntilDate String
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    serverSideEncryption String
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    serverSideEncryptionCustomerAlgorithm String
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    serverSideEncryptionCustomerKey String
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    serverSideEncryptionCustomerKeyMd5 String
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    sourceCustomerAlgorithm String
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    sourceCustomerKey String
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    sourceCustomerKeyMd5 String
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    storageClass String
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    taggingDirective String
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    tags Map<String>
    [map] The tag-set for the object.
    websiteRedirect String
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.

    Outputs

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

    Etag string
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModified string
    [string] The date and time at which the object was last modified.
    VersionId string
    [string] The version of the object.
    Etag string
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModified string
    [string] The date and time at which the object was last modified.
    VersionId string
    [string] The version of the object.
    etag String
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModified String
    [string] The date and time at which the object was last modified.
    versionId String
    [string] The version of the object.
    etag string
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModified string
    [string] The date and time at which the object was last modified.
    versionId string
    [string] The version of the object.
    etag str
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified str
    [string] The date and time at which the object was last modified.
    version_id str
    [string] The version of the object.
    etag String
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModified String
    [string] The date and time at which the object was last modified.
    versionId String
    [string] The version of the object.

    Look up Existing S3ObjectCopy Resource

    Get an existing S3ObjectCopy 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?: S3ObjectCopyState, opts?: CustomResourceOptions): S3ObjectCopy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bucket: Optional[str] = None,
            cache_control: Optional[str] = None,
            content_disposition: Optional[str] = None,
            content_encoding: Optional[str] = None,
            content_language: Optional[str] = None,
            content_type: Optional[str] = None,
            copy_if_match: Optional[str] = None,
            copy_if_modified_since: Optional[str] = None,
            copy_if_none_match: Optional[str] = None,
            copy_if_unmodified_since: Optional[str] = None,
            etag: Optional[str] = None,
            expires: Optional[str] = None,
            force_destroy: Optional[bool] = None,
            key: Optional[str] = None,
            last_modified: Optional[str] = None,
            metadata: Optional[Mapping[str, str]] = None,
            metadata_directive: Optional[str] = None,
            object_lock_legal_hold: Optional[str] = None,
            object_lock_mode: Optional[str] = None,
            object_lock_retain_until_date: Optional[str] = None,
            server_side_encryption: Optional[str] = None,
            server_side_encryption_customer_algorithm: Optional[str] = None,
            server_side_encryption_customer_key: Optional[str] = None,
            server_side_encryption_customer_key_md5: Optional[str] = None,
            source: Optional[str] = None,
            source_customer_algorithm: Optional[str] = None,
            source_customer_key: Optional[str] = None,
            source_customer_key_md5: Optional[str] = None,
            storage_class: Optional[str] = None,
            tagging_directive: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            version_id: Optional[str] = None,
            website_redirect: Optional[str] = None) -> S3ObjectCopy
    func GetS3ObjectCopy(ctx *Context, name string, id IDInput, state *S3ObjectCopyState, opts ...ResourceOption) (*S3ObjectCopy, error)
    public static S3ObjectCopy Get(string name, Input<string> id, S3ObjectCopyState? state, CustomResourceOptions? opts = null)
    public static S3ObjectCopy get(String name, Output<String> id, S3ObjectCopyState state, CustomResourceOptions options)
    resources:  _:    type: ionoscloud:S3ObjectCopy    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:
    Bucket string
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    CacheControl string
    [string] Specifies caching behavior along the request/reply chain.
    ContentDisposition string
    [string] Specifies presentational information for the object.
    ContentEncoding string
    [string] Specifies what content encodings have been applied to the object.
    ContentLanguage string
    [string] The natural language or languages of the intended audience for the object.
    ContentType string
    [string] A standard MIME type describing the format of the contents.
    CopyIfMatch string
    Copies the object if its entity tag (ETag) matches the specified tag
    CopyIfModifiedSince string
    Copies the object if it has been modified since the specified time
    CopyIfNoneMatch string
    Copies the object if its entity tag (ETag) is different than the specified ETag
    CopyIfUnmodifiedSince string
    Copies the object if it hasn't been modified since the specified time
    Etag string
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    Expires string
    [string] The date and time at which the object is no longer cacheable.
    ForceDestroy bool
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    Key string
    [string] The key of the object. Must be at least 1 character long.
    LastModified string
    [string] The date and time at which the object was last modified.
    Metadata Dictionary<string, string>
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    MetadataDirective string
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    ObjectLockLegalHold string
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    ObjectLockMode string
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    ObjectLockRetainUntilDate string
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    ServerSideEncryption string
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    ServerSideEncryptionCustomerAlgorithm string
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    ServerSideEncryptionCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    ServerSideEncryptionCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    Source string
    [string] The source of the object to be copied
    SourceCustomerAlgorithm string
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    SourceCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    SourceCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    StorageClass string
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    TaggingDirective string
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    Tags Dictionary<string, string>
    [map] The tag-set for the object.
    VersionId string
    [string] The version of the object.
    WebsiteRedirect string
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.
    Bucket string
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    CacheControl string
    [string] Specifies caching behavior along the request/reply chain.
    ContentDisposition string
    [string] Specifies presentational information for the object.
    ContentEncoding string
    [string] Specifies what content encodings have been applied to the object.
    ContentLanguage string
    [string] The natural language or languages of the intended audience for the object.
    ContentType string
    [string] A standard MIME type describing the format of the contents.
    CopyIfMatch string
    Copies the object if its entity tag (ETag) matches the specified tag
    CopyIfModifiedSince string
    Copies the object if it has been modified since the specified time
    CopyIfNoneMatch string
    Copies the object if its entity tag (ETag) is different than the specified ETag
    CopyIfUnmodifiedSince string
    Copies the object if it hasn't been modified since the specified time
    Etag string
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    Expires string
    [string] The date and time at which the object is no longer cacheable.
    ForceDestroy bool
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    Key string
    [string] The key of the object. Must be at least 1 character long.
    LastModified string
    [string] The date and time at which the object was last modified.
    Metadata map[string]string
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    MetadataDirective string
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    ObjectLockLegalHold string
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    ObjectLockMode string
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    ObjectLockRetainUntilDate string
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    ServerSideEncryption string
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    ServerSideEncryptionCustomerAlgorithm string
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    ServerSideEncryptionCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    ServerSideEncryptionCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    Source string
    [string] The source of the object to be copied
    SourceCustomerAlgorithm string
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    SourceCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    SourceCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    StorageClass string
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    TaggingDirective string
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    Tags map[string]string
    [map] The tag-set for the object.
    VersionId string
    [string] The version of the object.
    WebsiteRedirect string
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.
    bucket String
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    cacheControl String
    [string] Specifies caching behavior along the request/reply chain.
    contentDisposition String
    [string] Specifies presentational information for the object.
    contentEncoding String
    [string] Specifies what content encodings have been applied to the object.
    contentLanguage String
    [string] The natural language or languages of the intended audience for the object.
    contentType String
    [string] A standard MIME type describing the format of the contents.
    copyIfMatch String
    Copies the object if its entity tag (ETag) matches the specified tag
    copyIfModifiedSince String
    Copies the object if it has been modified since the specified time
    copyIfNoneMatch String
    Copies the object if its entity tag (ETag) is different than the specified ETag
    copyIfUnmodifiedSince String
    Copies the object if it hasn't been modified since the specified time
    etag String
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    expires String
    [string] The date and time at which the object is no longer cacheable.
    forceDestroy Boolean
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    key String
    [string] The key of the object. Must be at least 1 character long.
    lastModified String
    [string] The date and time at which the object was last modified.
    metadata Map<String,String>
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    metadataDirective String
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    objectLockLegalHold String
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    objectLockMode String
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    objectLockRetainUntilDate String
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    serverSideEncryption String
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    serverSideEncryptionCustomerAlgorithm String
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    serverSideEncryptionCustomerKey String
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    serverSideEncryptionCustomerKeyMd5 String
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    source String
    [string] The source of the object to be copied
    sourceCustomerAlgorithm String
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    sourceCustomerKey String
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    sourceCustomerKeyMd5 String
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    storageClass String
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    taggingDirective String
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    tags Map<String,String>
    [map] The tag-set for the object.
    versionId String
    [string] The version of the object.
    websiteRedirect String
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.
    bucket string
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    cacheControl string
    [string] Specifies caching behavior along the request/reply chain.
    contentDisposition string
    [string] Specifies presentational information for the object.
    contentEncoding string
    [string] Specifies what content encodings have been applied to the object.
    contentLanguage string
    [string] The natural language or languages of the intended audience for the object.
    contentType string
    [string] A standard MIME type describing the format of the contents.
    copyIfMatch string
    Copies the object if its entity tag (ETag) matches the specified tag
    copyIfModifiedSince string
    Copies the object if it has been modified since the specified time
    copyIfNoneMatch string
    Copies the object if its entity tag (ETag) is different than the specified ETag
    copyIfUnmodifiedSince string
    Copies the object if it hasn't been modified since the specified time
    etag string
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    expires string
    [string] The date and time at which the object is no longer cacheable.
    forceDestroy boolean
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    key string
    [string] The key of the object. Must be at least 1 character long.
    lastModified string
    [string] The date and time at which the object was last modified.
    metadata {[key: string]: string}
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    metadataDirective string
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    objectLockLegalHold string
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    objectLockMode string
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    objectLockRetainUntilDate string
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    serverSideEncryption string
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    serverSideEncryptionCustomerAlgorithm string
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    serverSideEncryptionCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    serverSideEncryptionCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    source string
    [string] The source of the object to be copied
    sourceCustomerAlgorithm string
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    sourceCustomerKey string
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    sourceCustomerKeyMd5 string
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    storageClass string
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    taggingDirective string
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    tags {[key: string]: string}
    [map] The tag-set for the object.
    versionId string
    [string] The version of the object.
    websiteRedirect string
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.
    bucket str
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    cache_control str
    [string] Specifies caching behavior along the request/reply chain.
    content_disposition str
    [string] Specifies presentational information for the object.
    content_encoding str
    [string] Specifies what content encodings have been applied to the object.
    content_language str
    [string] The natural language or languages of the intended audience for the object.
    content_type str
    [string] A standard MIME type describing the format of the contents.
    copy_if_match str
    Copies the object if its entity tag (ETag) matches the specified tag
    copy_if_modified_since str
    Copies the object if it has been modified since the specified time
    copy_if_none_match str
    Copies the object if its entity tag (ETag) is different than the specified ETag
    copy_if_unmodified_since str
    Copies the object if it hasn't been modified since the specified time
    etag str
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    expires str
    [string] The date and time at which the object is no longer cacheable.
    force_destroy bool
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    key str
    [string] The key of the object. Must be at least 1 character long.
    last_modified str
    [string] The date and time at which the object was last modified.
    metadata Mapping[str, str]
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    metadata_directive str
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    object_lock_legal_hold str
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    object_lock_mode str
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    object_lock_retain_until_date str
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    server_side_encryption str
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    server_side_encryption_customer_algorithm str
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    server_side_encryption_customer_key str
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    server_side_encryption_customer_key_md5 str
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    source str
    [string] The source of the object to be copied
    source_customer_algorithm str
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    source_customer_key str
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    source_customer_key_md5 str
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    storage_class str
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    tagging_directive str
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    tags Mapping[str, str]
    [map] The tag-set for the object.
    version_id str
    [string] The version of the object.
    website_redirect str
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.
    bucket String
    [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
    cacheControl String
    [string] Specifies caching behavior along the request/reply chain.
    contentDisposition String
    [string] Specifies presentational information for the object.
    contentEncoding String
    [string] Specifies what content encodings have been applied to the object.
    contentLanguage String
    [string] The natural language or languages of the intended audience for the object.
    contentType String
    [string] A standard MIME type describing the format of the contents.
    copyIfMatch String
    Copies the object if its entity tag (ETag) matches the specified tag
    copyIfModifiedSince String
    Copies the object if it has been modified since the specified time
    copyIfNoneMatch String
    Copies the object if its entity tag (ETag) is different than the specified ETag
    copyIfUnmodifiedSince String
    Copies the object if it hasn't been modified since the specified time
    etag String
    [string] An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
    expires String
    [string] The date and time at which the object is no longer cacheable.
    forceDestroy Boolean
    [bool] If true, the object will be destroyed if versioning is enabled then all versions will be destroyed. Default is false.
    key String
    [string] The key of the object. Must be at least 1 character long.
    lastModified String
    [string] The date and time at which the object was last modified.
    metadata Map<String>
    [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
    metadataDirective String
    [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are COPY and REPLACE.
    objectLockLegalHold String
    [string] Indicates whether a legal hold is in effect for the object. Valid values are ON and OFF.
    objectLockMode String
    [string] The object lock mode that you want to apply to the object. Valid values are GOVERNANCE and COMPLIANCE.
    objectLockRetainUntilDate String
    [string] The date and time when the object lock retention expires.Must be in RFC3999 format
    serverSideEncryption String
    [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
    serverSideEncryptionCustomerAlgorithm String
    [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
    serverSideEncryptionCustomerKey String
    [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
    serverSideEncryptionCustomerKeyMd5 String
    [string] Specifies the 128-bit MD5 digest of the encryption key.
    source String
    [string] The source of the object to be copied
    sourceCustomerAlgorithm String
    [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
    sourceCustomerKey String
    [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
    sourceCustomerKeyMd5 String
    [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
    storageClass String
    [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
    taggingDirective String
    [string] Specifies whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are COPY and REPLACE.
    tags Map<String>
    [map] The tag-set for the object.
    versionId String
    [string] The version of the object.
    websiteRedirect String
    [string] Redirects requests for this object to another object in the same bucket or to an external URL.

    Package Details

    Repository
    ionoscloud ionos-cloud/terraform-provider-ionoscloud
    License
    Notes
    This Pulumi package is based on the ionoscloud Terraform Provider.
    ionoscloud logo
    ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud