Show / Hide Table of Contents

Class BucketObjectState

Inheritance
System.Object
InputArgs
ResourceArgs
BucketObjectState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.S3
Assembly: Pulumi.Aws.dll
Syntax
public sealed class BucketObjectState : ResourceArgs

Constructors

View Source

BucketObjectState()

Declaration
public BucketObjectState()

Properties

View Source

Acl

The canned ACL to apply. Defaults to "private".

Declaration
public Input<string> Acl { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Etag

Used to trigger updates. The only meaningful value is ${filemd5(&quot;path/to/file&quot;)} (this provider 0.11.12 or later) or ${md5(file(&quot;path/to/file&quot;))} (this provider 0.11.11 or earlier). This attribute is not compatible with KMS encryption, kms_key_id or server_side_encryption = &quot;aws:kms&quot;.

Declaration
public Input<string> Etag { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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 = &quot;${aws_kms_key.foo.arn}&quot;

Declaration
public Input<string> KmsKeyId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Tags

A map of tags to assign to the object.

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

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>
View Source

WebsiteRedirect

Specifies a target URL for website redirect.

Declaration
public Input<string> WebsiteRedirect { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.