Cloud.Service.AWS.S3.Bucket.Object

Cloud.Service.AWS.S3.Bucket.Object
Cloud.Service.AWS.S3.Bucket.Object
JSON Example
{
    "account": "string",
    "acl": "string",
    "bucket": "string",
    "cache_control": "string",
    "content": "string",
    "content_base64": "string",
    "content_disposition": "string",
    "content_encoding": "string",
    "content_language": "string",
    "content_type": "string",
    "count": 0,
    "etag": "string",
    "key": "string",
    "kms_key_id": "string",
    "region": "string",
    "server_side_encryption": "string",
    "source": "string",
    "storage_class": "string",
    "tags": {},
    "version_id": "string",
    "website_redirect": "string"
}
string
account
Required

(Required) The name of the AWS cloud account to use for this resource

string
acl
Optional

AWS canned access control list (ACL) to apply for the file. Default is private.

string
bucket
Required

(Required) Bucket in which to store the file.

string
cache_control
Optional

Caching behavior along the request/reply chain.

string
content
Optional

Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Not required if content or content_base64 is set.

string
content_base64
Optional

Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. Not required if source or content are set. Allows for safe upload of 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.

string
content_disposition
Optional

Presentational information for the object.

string
content_encoding
Optional

Content encoding applied to the object, which indicates the decoding needed to obtain the media type referenced by the Content-Type header field.

string
content_language
Optional

Language of the content, such as en-US or en-GB.

string
content_type
Optional

MIME type of the object data format, such as application/octet-stream. All valid MIME types are supported.

integer
count
Optional

The number of resource instances to be created.

string
etag
Optional

Enter ${md5(file("path/to/file"))} to trigger updates. Otherwise omit.

string
key
Required

(Required) Name of the file once it is in the S3 bucket.

string
kms_key_id
Optional

ARN for the KMS encryption key to encrypt the file.

string
region
Required

(Required) Target cloud region, such as us-east-1. Must be within the provider cloud account.

string
server_side_encryption
Optional

Server-side encryption algorithm to use on the file: AES256 or aws:kms.

string
source
Optional

Path to a file to be read and uploaded as raw bytes for the object content. Not required if content or content_base64 is set.

string
storage_class
Optional

Class of storage in which to store the file: ONEZONE_IA, STANDARD_IA, or GLACIER.

object
tags
Optional

File categorization, in case-sensitive key names, or in key-value pairs.

string
version_id
Optional

Unique identifier for the file version, when bucket versioning is enabled.

string
website_redirect
Optional

Target URL for reaching the object.