BucketObjectState constructor
- Input<
String?> ? acl, - Input<
String?> ? arn, - Input? bucket,
- Input<
bool?> ? bucketKeyEnabled, - Input<
String?> ? cacheControl, - Input<
String?> ? content, - Input<
String?> ? contentBase64, - Input<
String?> ? contentDisposition, - Input<
String?> ? contentEncoding, - Input<
String?> ? contentLanguage, - Input<
String?> ? contentType, - Input<
String?> ? etag, - Input<
bool?> ? forceDestroy, - Input<
String?> ? key, - Input<
String?> ? kmsKeyId, - Input<
Map< ? metadata,String, String> ?> - Input<
String?> ? objectLockLegalHoldStatus, - Input<
String?> ? objectLockMode, - Input<
String?> ? objectLockRetainUntilDate, - Input<
String?> ? region, - Input<
String?> ? serverSideEncryption, - Input? source,
- Input<
String?> ? sourceHash, - Input<
String?> ? storageClass, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?> - Input<
String?> ? versionId, - Input<
String?> ? websiteRedirect,
Creates a new BucketObjectState.
acl Canned ACL to apply. Valid values are private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, and bucket-owner-full-control. Defaults to private.
arn ARN of the object.
bucket Name of the bucket to put the file in. Alternatively, an S3 access point ARN can be specified. Use the aws.s3.BucketObjectv2 resource instead.
bucketKeyEnabled Whether or not to use Amazon S3 Bucket Keys for SSE-KMS.
cacheControl Caching behavior along the request/reply chain Read w3c cacheControl for further details.
content Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
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.
contentDisposition Presentational information for the object. Read w3c contentDisposition for further information.
contentEncoding Content encodings that 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.
contentLanguage Language the content is in e.g., en-US or en-GB.
contentType Standard MIME type describing the format of the object data, e.g., application/octet-stream. All Valid MIME Types are valid for this input.
etag Triggers updates when the value changes. This attribute is not compatible with KMS encryption, kmsKeyId or serverSideEncryption = "aws:kms" (see sourceHash instead).
forceDestroy Whether to 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.
key Name of the object once it is in the bucket. Use the aws.s3.BucketObjectv2 resource instead.
kmsKeyId ARN of the KMS Key to use for object encryption. If the S3 Bucket has server-side encryption enabled, that value will automatically be used. If referencing the aws.kms.Key resource, use the arn attribute. If referencing the aws.kms.Alias data source or resource, use the targetKeyArn attribute. The provider will only perform drift detection if a configuration value is provided.
metadata 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).
objectLockLegalHoldStatus Legal hold status that you want to apply to the specified object. Valid values are ON and OFF.
objectLockMode Object lock retention mode that you want to apply to this object. Valid values are GOVERNANCE and COMPLIANCE.
objectLockRetainUntilDate Date and time, in RFC3339 format, when this object's object lock will expire.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
serverSideEncryption Server-side encryption of the object in S3. Valid values are "AES256" and "aws:kms".
source Path to a file that will be read and uploaded as raw bytes for the object content.
sourceHash Triggers updates like etag but useful to address etag encryption limitations.
storageClass Storage Class for the object. Defaults to "STANDARD".
tags Map of tags to assign to the object. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
versionId Unique version ID value for the object, if bucket versioning is enabled.
websiteRedirect Target URL for website redirect.
Implementation
const BucketObjectState({
this.acl,
this.arn,
this.bucket,
this.bucketKeyEnabled,
this.cacheControl,
this.content,
this.contentBase64,
this.contentDisposition,
this.contentEncoding,
this.contentLanguage,
this.contentType,
this.etag,
this.forceDestroy,
this.key,
this.kmsKeyId,
this.metadata,
this.objectLockLegalHoldStatus,
this.objectLockMode,
this.objectLockRetainUntilDate,
this.region,
this.serverSideEncryption,
this.source,
this.sourceHash,
this.storageClass,
this.tags,
this.tagsAll,
this.versionId,
this.websiteRedirect,
});