Class SpacesBucketObjectArgs
Inherited Members
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class SpacesBucketObjectArgs : ResourceArgs
Constructors
View SourceSpacesBucketObjectArgs()
Declaration
public SpacesBucketObjectArgs()
Properties
View SourceAcl
The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
Declaration
public Input<string> Acl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Bucket
The name of the bucket to put the file in.
Declaration
public Input<string> Bucket { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CacheControl
Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
Declaration
public Input<string> CacheControl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Content
Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
Declaration
public Input<string> Content { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ContentBase64
Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the gzipbase64 function with small text strings. For larger objects, use source to stream the content from a disk file.
Declaration
public Input<string> ContentBase64 { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ContentDisposition
Specifies presentational information for the object. Read w3c content_disposition for further information.
Declaration
public Input<string> ContentDisposition { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ContentEncoding
Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
Declaration
public Input<string> ContentEncoding { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ContentLanguage
The language the content is in e.g. en-US or en-GB.
Declaration
public Input<string> ContentLanguage { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ContentType
A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
Declaration
public Input<string> ContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Etag
the ETag generated for the object (an MD5 sum of the object content). The hash is an MD5 digest of the object data. For objects created by either the Multipart Upload or Part Copy operation, the hash is not an MD5 digest. More information on possible values can be found on Common Response Headers.
Declaration
public Input<string> Etag { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ForceDestroy
Allow the object to be deleted by removing any legal hold on any object version.
Default is false. This value should be set to true only if the bucket has S3 object lock enabled.
Declaration
public Input<bool> ForceDestroy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Key
The name of the object once it is in the bucket.
Declaration
public Input<string> Key { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Metadata
A mapping of keys/values to provision metadata (will be automatically prefixed by x-amz-meta-, note that only lowercase label are currently supported by the AWS Go API).
Declaration
public InputMap<string> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
Region
The region where the bucket resides (Defaults to nyc3)
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Source
The path to a file that will be read and uploaded as raw bytes for the object content.
Declaration
public Input<string> Source { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
WebsiteRedirect
Specifies a target URL for website redirect.
Declaration
public Input<string> WebsiteRedirect { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |