ionoscloud.S3ObjectCopy
Explore with Pulumi AI
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
- Cache
Control string - [string] Specifies caching behavior along the request/reply chain.
- Content
Disposition string - [string] Specifies presentational information for the object.
- Content
Encoding string - [string] Specifies what content encodings have been applied to the object.
- Content
Language string - [string] The natural language or languages of the intended audience for the object.
- Content
Type string - [string] A standard MIME type describing the format of the contents.
- Copy
If stringMatch - Copies the object if its entity tag (ETag) matches the specified tag
- Copy
If stringModified Since - Copies the object if it has been modified since the specified time
- Copy
If stringNone Match - Copies the object if its entity tag (ETag) is different than the specified ETag
- Copy
If stringUnmodified Since - 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.
- 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 Dictionary<string, string>
- [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
- Metadata
Directive string - [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are
COPY
andREPLACE
. - Object
Lock stringLegal Hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - Object
Lock stringMode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - Object
Lock stringRetain Until Date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- Server
Side stringEncryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- Server
Side stringEncryption Customer Algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- Server
Side stringEncryption Customer Key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- Server
Side stringEncryption Customer Key Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- Source
Customer stringAlgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- Source
Customer stringKey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- Source
Customer stringKey Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
- Storage
Class string - [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
- Tagging
Directive 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
andREPLACE
. - Dictionary<string, string>
- [map] The tag-set for the object.
- Website
Redirect 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
- Cache
Control string - [string] Specifies caching behavior along the request/reply chain.
- Content
Disposition string - [string] Specifies presentational information for the object.
- Content
Encoding string - [string] Specifies what content encodings have been applied to the object.
- Content
Language string - [string] The natural language or languages of the intended audience for the object.
- Content
Type string - [string] A standard MIME type describing the format of the contents.
- Copy
If stringMatch - Copies the object if its entity tag (ETag) matches the specified tag
- Copy
If stringModified Since - Copies the object if it has been modified since the specified time
- Copy
If stringNone Match - Copies the object if its entity tag (ETag) is different than the specified ETag
- Copy
If stringUnmodified Since - 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.
- 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 map[string]string
- [map] A map of metadata to store with the object in IONOS Object Storage. Metadata keys must be lowercase alphanumeric characters.
- Metadata
Directive string - [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are
COPY
andREPLACE
. - Object
Lock stringLegal Hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - Object
Lock stringMode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - Object
Lock stringRetain Until Date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- Server
Side stringEncryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- Server
Side stringEncryption Customer Algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- Server
Side stringEncryption Customer Key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- Server
Side stringEncryption Customer Key Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- Source
Customer stringAlgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- Source
Customer stringKey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- Source
Customer stringKey Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
- Storage
Class string - [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
- Tagging
Directive 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
andREPLACE
. - map[string]string
- [map] The tag-set for the object.
- Website
Redirect 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
- cache
Control String - [string] Specifies caching behavior along the request/reply chain.
- content
Disposition String - [string] Specifies presentational information for the object.
- content
Encoding String - [string] Specifies what content encodings have been applied to the object.
- content
Language String - [string] The natural language or languages of the intended audience for the object.
- content
Type String - [string] A standard MIME type describing the format of the contents.
- copy
If StringMatch - Copies the object if its entity tag (ETag) matches the specified tag
- copy
If StringModified Since - Copies the object if it has been modified since the specified time
- copy
If StringNone Match - Copies the object if its entity tag (ETag) is different than the specified ETag
- copy
If StringUnmodified Since - 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.
- force
Destroy 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.
- metadata
Directive String - [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are
COPY
andREPLACE
. - object
Lock StringLegal Hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - object
Lock StringMode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - object
Lock StringRetain Until Date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- server
Side StringEncryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- server
Side StringEncryption Customer Algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- server
Side StringEncryption Customer Key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- server
Side StringEncryption Customer Key Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- source
Customer StringAlgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- source
Customer StringKey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- source
Customer StringKey Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
- storage
Class String - [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
- tagging
Directive 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
andREPLACE
. - Map<String,String>
- [map] The tag-set for the object.
- website
Redirect 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
- cache
Control string - [string] Specifies caching behavior along the request/reply chain.
- content
Disposition string - [string] Specifies presentational information for the object.
- content
Encoding string - [string] Specifies what content encodings have been applied to the object.
- content
Language string - [string] The natural language or languages of the intended audience for the object.
- content
Type string - [string] A standard MIME type describing the format of the contents.
- copy
If stringMatch - Copies the object if its entity tag (ETag) matches the specified tag
- copy
If stringModified Since - Copies the object if it has been modified since the specified time
- copy
If stringNone Match - Copies the object if its entity tag (ETag) is different than the specified ETag
- copy
If stringUnmodified Since - 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.
- force
Destroy 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.
- metadata
Directive string - [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are
COPY
andREPLACE
. - object
Lock stringLegal Hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - object
Lock stringMode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - object
Lock stringRetain Until Date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- server
Side stringEncryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- server
Side stringEncryption Customer Algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- server
Side stringEncryption Customer Key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- server
Side stringEncryption Customer Key Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- source
Customer stringAlgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- source
Customer stringKey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- source
Customer stringKey Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
- storage
Class string - [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
- tagging
Directive 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
andREPLACE
. - {[key: string]: string}
- [map] The tag-set for the object.
- website
Redirect 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_ strmatch - Copies the object if its entity tag (ETag) matches the specified tag
- copy_
if_ strmodified_ since - Copies the object if it has been modified since the specified time
- copy_
if_ strnone_ match - Copies the object if its entity tag (ETag) is different than the specified ETag
- copy_
if_ strunmodified_ since - 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
andREPLACE
. - object_
lock_ strlegal_ hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - object_
lock_ strmode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - object_
lock_ strretain_ until_ date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- server_
side_ strencryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- server_
side_ strencryption_ customer_ algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- server_
side_ strencryption_ customer_ key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- server_
side_ strencryption_ customer_ key_ md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- source_
customer_ stralgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- source_
customer_ strkey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- source_
customer_ strkey_ md5 - [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
andREPLACE
. - 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
- cache
Control String - [string] Specifies caching behavior along the request/reply chain.
- content
Disposition String - [string] Specifies presentational information for the object.
- content
Encoding String - [string] Specifies what content encodings have been applied to the object.
- content
Language String - [string] The natural language or languages of the intended audience for the object.
- content
Type String - [string] A standard MIME type describing the format of the contents.
- copy
If StringMatch - Copies the object if its entity tag (ETag) matches the specified tag
- copy
If StringModified Since - Copies the object if it has been modified since the specified time
- copy
If StringNone Match - Copies the object if its entity tag (ETag) is different than the specified ETag
- copy
If StringUnmodified Since - 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.
- force
Destroy 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.
- metadata
Directive String - [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are
COPY
andREPLACE
. - object
Lock StringLegal Hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - object
Lock StringMode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - object
Lock StringRetain Until Date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- server
Side StringEncryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- server
Side StringEncryption Customer Algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- server
Side StringEncryption Customer Key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- server
Side StringEncryption Customer Key Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- source
Customer StringAlgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- source
Customer StringKey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- source
Customer StringKey Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
- storage
Class String - [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
- tagging
Directive 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
andREPLACE
. - Map<String>
- [map] The tag-set for the object.
- website
Redirect 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.
- Last
Modified string - [string] The date and time at which the object was last modified.
- Version
Id 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.
- Last
Modified string - [string] The date and time at which the object was last modified.
- Version
Id 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.
- last
Modified String - [string] The date and time at which the object was last modified.
- version
Id 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.
- last
Modified string - [string] The date and time at which the object was last modified.
- version
Id 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.
- last
Modified String - [string] The date and time at which the object was last modified.
- version
Id 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.
- Bucket string
- [string] The name of the bucket where the object will be stored. Must be between 3 and 63 characters.
- Cache
Control string - [string] Specifies caching behavior along the request/reply chain.
- Content
Disposition string - [string] Specifies presentational information for the object.
- Content
Encoding string - [string] Specifies what content encodings have been applied to the object.
- Content
Language string - [string] The natural language or languages of the intended audience for the object.
- Content
Type string - [string] A standard MIME type describing the format of the contents.
- Copy
If stringMatch - Copies the object if its entity tag (ETag) matches the specified tag
- Copy
If stringModified Since - Copies the object if it has been modified since the specified time
- Copy
If stringNone Match - Copies the object if its entity tag (ETag) is different than the specified ETag
- Copy
If stringUnmodified Since - 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.
- 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 string
- [string] The key of the object. Must be at least 1 character long.
- Last
Modified 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.
- Metadata
Directive string - [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are
COPY
andREPLACE
. - Object
Lock stringLegal Hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - Object
Lock stringMode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - Object
Lock stringRetain Until Date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- Server
Side stringEncryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- Server
Side stringEncryption Customer Algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- Server
Side stringEncryption Customer Key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- Server
Side stringEncryption Customer Key Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- Source string
- [string] The source of the object to be copied
- Source
Customer stringAlgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- Source
Customer stringKey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- Source
Customer stringKey Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
- Storage
Class string - [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
- Tagging
Directive 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
andREPLACE
. - Dictionary<string, string>
- [map] The tag-set for the object.
- Version
Id string - [string] The version of the object.
- Website
Redirect 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.
- Cache
Control string - [string] Specifies caching behavior along the request/reply chain.
- Content
Disposition string - [string] Specifies presentational information for the object.
- Content
Encoding string - [string] Specifies what content encodings have been applied to the object.
- Content
Language string - [string] The natural language or languages of the intended audience for the object.
- Content
Type string - [string] A standard MIME type describing the format of the contents.
- Copy
If stringMatch - Copies the object if its entity tag (ETag) matches the specified tag
- Copy
If stringModified Since - Copies the object if it has been modified since the specified time
- Copy
If stringNone Match - Copies the object if its entity tag (ETag) is different than the specified ETag
- Copy
If stringUnmodified Since - 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.
- 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 string
- [string] The key of the object. Must be at least 1 character long.
- Last
Modified 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.
- Metadata
Directive string - [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are
COPY
andREPLACE
. - Object
Lock stringLegal Hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - Object
Lock stringMode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - Object
Lock stringRetain Until Date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- Server
Side stringEncryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- Server
Side stringEncryption Customer Algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- Server
Side stringEncryption Customer Key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- Server
Side stringEncryption Customer Key Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- Source string
- [string] The source of the object to be copied
- Source
Customer stringAlgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- Source
Customer stringKey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- Source
Customer stringKey Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
- Storage
Class string - [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
- Tagging
Directive 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
andREPLACE
. - map[string]string
- [map] The tag-set for the object.
- Version
Id string - [string] The version of the object.
- Website
Redirect 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.
- cache
Control String - [string] Specifies caching behavior along the request/reply chain.
- content
Disposition String - [string] Specifies presentational information for the object.
- content
Encoding String - [string] Specifies what content encodings have been applied to the object.
- content
Language String - [string] The natural language or languages of the intended audience for the object.
- content
Type String - [string] A standard MIME type describing the format of the contents.
- copy
If StringMatch - Copies the object if its entity tag (ETag) matches the specified tag
- copy
If StringModified Since - Copies the object if it has been modified since the specified time
- copy
If StringNone Match - Copies the object if its entity tag (ETag) is different than the specified ETag
- copy
If StringUnmodified Since - 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.
- force
Destroy 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.
- last
Modified 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.
- metadata
Directive String - [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are
COPY
andREPLACE
. - object
Lock StringLegal Hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - object
Lock StringMode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - object
Lock StringRetain Until Date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- server
Side StringEncryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- server
Side StringEncryption Customer Algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- server
Side StringEncryption Customer Key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- server
Side StringEncryption Customer Key Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- source String
- [string] The source of the object to be copied
- source
Customer StringAlgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- source
Customer StringKey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- source
Customer StringKey Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
- storage
Class String - [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
- tagging
Directive 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
andREPLACE
. - Map<String,String>
- [map] The tag-set for the object.
- version
Id String - [string] The version of the object.
- website
Redirect 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.
- cache
Control string - [string] Specifies caching behavior along the request/reply chain.
- content
Disposition string - [string] Specifies presentational information for the object.
- content
Encoding string - [string] Specifies what content encodings have been applied to the object.
- content
Language string - [string] The natural language or languages of the intended audience for the object.
- content
Type string - [string] A standard MIME type describing the format of the contents.
- copy
If stringMatch - Copies the object if its entity tag (ETag) matches the specified tag
- copy
If stringModified Since - Copies the object if it has been modified since the specified time
- copy
If stringNone Match - Copies the object if its entity tag (ETag) is different than the specified ETag
- copy
If stringUnmodified Since - 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.
- force
Destroy 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.
- last
Modified 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.
- metadata
Directive string - [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are
COPY
andREPLACE
. - object
Lock stringLegal Hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - object
Lock stringMode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - object
Lock stringRetain Until Date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- server
Side stringEncryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- server
Side stringEncryption Customer Algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- server
Side stringEncryption Customer Key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- server
Side stringEncryption Customer Key Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- source string
- [string] The source of the object to be copied
- source
Customer stringAlgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- source
Customer stringKey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- source
Customer stringKey Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
- storage
Class string - [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
- tagging
Directive 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
andREPLACE
. - {[key: string]: string}
- [map] The tag-set for the object.
- version
Id string - [string] The version of the object.
- website
Redirect 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_ strmatch - Copies the object if its entity tag (ETag) matches the specified tag
- copy_
if_ strmodified_ since - Copies the object if it has been modified since the specified time
- copy_
if_ strnone_ match - Copies the object if its entity tag (ETag) is different than the specified ETag
- copy_
if_ strunmodified_ since - 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
andREPLACE
. - object_
lock_ strlegal_ hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - object_
lock_ strmode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - object_
lock_ strretain_ until_ date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- server_
side_ strencryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- server_
side_ strencryption_ customer_ algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- server_
side_ strencryption_ customer_ key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- server_
side_ strencryption_ customer_ key_ md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- source str
- [string] The source of the object to be copied
- source_
customer_ stralgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- source_
customer_ strkey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- source_
customer_ strkey_ md5 - [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
andREPLACE
. - 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.
- cache
Control String - [string] Specifies caching behavior along the request/reply chain.
- content
Disposition String - [string] Specifies presentational information for the object.
- content
Encoding String - [string] Specifies what content encodings have been applied to the object.
- content
Language String - [string] The natural language or languages of the intended audience for the object.
- content
Type String - [string] A standard MIME type describing the format of the contents.
- copy
If StringMatch - Copies the object if its entity tag (ETag) matches the specified tag
- copy
If StringModified Since - Copies the object if it has been modified since the specified time
- copy
If StringNone Match - Copies the object if its entity tag (ETag) is different than the specified ETag
- copy
If StringUnmodified Since - 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.
- force
Destroy 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.
- last
Modified 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.
- metadata
Directive String - [string] Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are
COPY
andREPLACE
. - object
Lock StringLegal Hold - [string] Indicates whether a legal hold is in effect for the object. Valid values are
ON
andOFF
. - object
Lock StringMode - [string] The object lock mode that you want to apply to the object. Valid values are
GOVERNANCE
andCOMPLIANCE
. - object
Lock StringRetain Until Date - [string] The date and time when the object lock retention expires.Must be in RFC3999 format
- server
Side StringEncryption - [string] The server-side encryption algorithm used when storing this object in IONOS Object Storage. Valid value is AES256.
- server
Side StringEncryption Customer Algorithm - [string] Specifies the algorithm to use for encrypting the object. Valid value is AES256.
- server
Side StringEncryption Customer Key - [string] Specifies the 256-bit, base64-encoded encryption key to use to encrypt and decrypt your data.
- server
Side StringEncryption Customer Key Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key.
- source String
- [string] The source of the object to be copied
- source
Customer StringAlgorithm - [string] Specifies the algorithm used for source object encryption. Valid value is AES256.
- source
Customer StringKey - [string] Specifies the 256-bit, base64-encoded encryption key for source object encryption.
- source
Customer StringKey Md5 - [string] Specifies the 128-bit MD5 digest of the encryption key for source object encryption.
- storage
Class String - [string] The storage class of the object. Valid value is STANDARD. Default is STANDARD.
- tagging
Directive 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
andREPLACE
. - Map<String>
- [map] The tag-set for the object.
- version
Id String - [string] The version of the object.
- website
Redirect 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.