Class BucketObjectState
Inherited Members
Namespace: Pulumi.Aws.S3
Assembly: Pulumi.Aws.dll
Syntax
public sealed class BucketObjectState : ResourceArgs
Constructors
View SourceBucketObjectState()
Declaration
public BucketObjectState()
Properties
View SourceAcl
The canned ACL to apply. 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. Alternatively, an S3 access point ARN can be specified.
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
Used to trigger updates. The only meaningful value is ${filemd5("path/to/file")} (this provider 0.11.12 or later) or ${md5(file("path/to/file"))} (this provider 0.11.11 or earlier).
This attribute is not compatible with KMS encryption, kms_key_id or server_side_encryption = "aws:kms".
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> |
KmsKeyId
Specifies the AWS KMS Key ARN to use for object encryption.
This value is a fully qualified ARN of the KMS Key. If using aws.kms.Key,
use the exported arn attribute:
kms_key_id = "${aws_kms_key.foo.arn}"
Declaration
public Input<string> KmsKeyId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Metadata
A map 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> |
ObjectLockLegalHoldStatus
The legal hold status that you want to apply to the specified object. Valid values are ON and OFF.
Declaration
public Input<string> ObjectLockLegalHoldStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ObjectLockMode
The object lock retention mode that you want to apply to this object. Valid values are GOVERNANCE and COMPLIANCE.
Declaration
public Input<string> ObjectLockMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ObjectLockRetainUntilDate
The date and time, in RFC3339 format, when this object's object lock will expire.
Declaration
public Input<string> ObjectLockRetainUntilDate { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ServerSideEncryption
Specifies server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".
Declaration
public Input<string> ServerSideEncryption { 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<AssetOrArchive> Source { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<AssetOrArchive> |
StorageClass
Specifies the desired Storage Class
for the object. Can be either "STANDARD", "REDUCED_REDUNDANCY", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", or "STANDARD_IA". Defaults to "STANDARD".
Declaration
public Input<string> StorageClass { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A map of tags to assign to the object.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
VersionId
A unique version ID value for the object, if bucket versioning is enabled.
Declaration
public Input<string> VersionId { 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> |