Data Source: oci_objectstorage_object

This data source provides details about a specific Object resource in Oracle Cloud Infrastructure Object Storage service.

Gets the metadata and body of an object.

Example Usage

data "oci_objectstorage_object" "test_object" {
    #Required
    bucket = var.object_bucket
    namespace = var.object_namespace
    object = var.object_object

    #Optional
    http_response_cache_control = var.object_http_response_cache_control
    http_response_content_disposition = var.object_http_response_content_disposition
    http_response_content_encoding = var.object_http_response_content_encoding
    http_response_content_language = var.object_http_response_content_language
    http_response_content_type = var.object_http_response_content_type
    http_response_expires = var.object_http_response_expires
    version_id = oci_objectstorage_version.test_version.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: