pulumi_wasm_providers_aws_mini::functions::s3::get_bucket_object

Struct GetBucketObjectResult

source
pub struct GetBucketObjectResult {
Show 27 fields pub arn: Output<String>, pub body: Output<String>, pub bucket: Output<String>, pub bucket_key_enabled: Output<bool>, pub cache_control: Output<String>, pub content_disposition: Output<String>, pub content_encoding: Output<String>, pub content_language: Output<String>, pub content_length: Output<i32>, pub content_type: Output<String>, pub etag: Output<String>, pub expiration: Output<String>, pub expires: Output<String>, pub id: Output<String>, pub key: Output<String>, pub last_modified: Output<String>, pub metadata: Output<HashMap<String, String>>, pub object_lock_legal_hold_status: Output<String>, pub object_lock_mode: Output<String>, pub object_lock_retain_until_date: Output<String>, pub range: Output<Option<String>>, pub server_side_encryption: Output<String>, pub sse_kms_key_id: Output<String>, pub storage_class: Output<String>, pub tags: Output<HashMap<String, String>>, pub version_id: Output<String>, pub website_redirect_location: Output<String>,
}

Fields§

§arn: Output<String>§body: Output<String>

Object data (see limitations above to understand cases in which this field is actually available)

§bucket: Output<String>§bucket_key_enabled: Output<bool>

(Optional) Whether or not to use Amazon S3 Bucket Keys for SSE-KMS.

§cache_control: Output<String>

Caching behavior along the request/reply chain.

§content_disposition: Output<String>

Presentational information for the object.

§content_encoding: Output<String>

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.

§content_language: Output<String>

Language the content is in.

§content_length: Output<i32>

Size of the body in bytes.

§content_type: Output<String>

Standard MIME type describing the format of the object data.

§etag: Output<String>

ETag generated for the object (an MD5 sum of the object content in case it’s not encrypted)

§expiration: Output<String>

If the object expiration is configured (see object lifecycle management), the field includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded.

§expires: Output<String>

Date and time at which the object is no longer cacheable.

§id: Output<String>

The provider-assigned unique ID for this managed resource.

§key: Output<String>§last_modified: Output<String>

Last modified date of the object in RFC1123 format (e.g., Mon, 02 Jan 2006 15:04:05 MST)

§metadata: Output<HashMap<String, String>>

Map of metadata stored with the object in S3. Keys are always returned in lowercase.

§object_lock_legal_hold_status: Output<String>

Indicates whether this object has an active legal hold. This field is only returned if you have permission to view an object’s legal hold status.

§object_lock_mode: Output<String>

Object lock retention mode currently in place for this object.

§object_lock_retain_until_date: Output<String>

The date and time when this object’s object lock will expire.

§range: Output<Option<String>>§server_side_encryption: Output<String>

If the object is stored using server-side encryption (KMS or Amazon S3-managed encryption key), this field includes the chosen encryption and algorithm used.

§sse_kms_key_id: Output<String>

If present, specifies the ID of the Key Management Service (KMS) master encryption key that was used for the object.

§storage_class: Output<String>

Storage class information of the object. Available for all objects except for Standard storage class objects.

§tags: Output<HashMap<String, String>>

Map of tags assigned to the object.

§version_id: Output<String>

Latest version ID of the object returned.

§website_redirect_location: Output<String>

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.