1. Packages
  2. Packages
  3. Vercel Provider
  4. API Docs
  5. BlobObject
Viewing docs for Vercel v5.4.1
published on Wednesday, Jul 22, 2026 by Pulumiverse
vercel logo
Viewing docs for Vercel v5.4.1
published on Wednesday, Jul 22, 2026 by Pulumiverse

    Provides a Vercel Blob object.

    This resource uploads a local file into a Blob store using a deterministic pathname so the object can be managed in place by Terraform.

    Create BlobObject Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BlobObject(name: string, args: BlobObjectArgs, opts?: CustomResourceOptions);
    @overload
    def BlobObject(resource_name: str,
                   args: BlobObjectArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def BlobObject(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   pathname: Optional[str] = None,
                   source: Optional[str] = None,
                   store_id: Optional[str] = None,
                   cache_control_max_age: Optional[int] = None,
                   content_type: Optional[str] = None,
                   team_id: Optional[str] = None)
    func NewBlobObject(ctx *Context, name string, args BlobObjectArgs, opts ...ResourceOption) (*BlobObject, error)
    public BlobObject(string name, BlobObjectArgs args, CustomResourceOptions? opts = null)
    public BlobObject(String name, BlobObjectArgs args)
    public BlobObject(String name, BlobObjectArgs args, CustomResourceOptions options)
    
    type: vercel:BlobObject
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "vercel_blob_object" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args BlobObjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BlobObjectArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BlobObjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BlobObjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BlobObjectArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var blobObjectResource = new Vercel.BlobObject("blobObjectResource", new()
    {
        Pathname = "string",
        Source = "string",
        StoreId = "string",
        CacheControlMaxAge = 0,
        ContentType = "string",
        TeamId = "string",
    });
    
    example, err := vercel.NewBlobObject(ctx, "blobObjectResource", &vercel.BlobObjectArgs{
    	Pathname:           pulumi.String("string"),
    	Source:             pulumi.String("string"),
    	StoreId:            pulumi.String("string"),
    	CacheControlMaxAge: pulumi.Int(0),
    	ContentType:        pulumi.String("string"),
    	TeamId:             pulumi.String("string"),
    })
    
    resource "vercel_blob_object" "blobObjectResource" {
      lifecycle {
        create_before_destroy = true
      }
      pathname              = "string"
      source                = "string"
      store_id              = "string"
      cache_control_max_age = 0
      content_type          = "string"
      team_id               = "string"
    }
    
    var blobObjectResource = new BlobObject("blobObjectResource", BlobObjectArgs.builder()
        .pathname("string")
        .source("string")
        .storeId("string")
        .cacheControlMaxAge(0)
        .contentType("string")
        .teamId("string")
        .build());
    
    blob_object_resource = vercel.BlobObject("blobObjectResource",
        pathname="string",
        source="string",
        store_id="string",
        cache_control_max_age=0,
        content_type="string",
        team_id="string")
    
    const blobObjectResource = new vercel.BlobObject("blobObjectResource", {
        pathname: "string",
        source: "string",
        storeId: "string",
        cacheControlMaxAge: 0,
        contentType: "string",
        teamId: "string",
    });
    
    type: vercel:BlobObject
    properties:
        cacheControlMaxAge: 0
        contentType: string
        pathname: string
        source: string
        storeId: string
        teamId: string
    

    BlobObject Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The BlobObject resource accepts the following input properties:

    Pathname string
    The pathname to upload within the Blob store.
    Source string
    The local filesystem path to the file that should be uploaded.
    StoreId string
    The ID of the Blob store that should contain the object.
    CacheControlMaxAge int
    The cache max-age, in seconds, to apply to the uploaded object.
    ContentType string
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    TeamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    Pathname string
    The pathname to upload within the Blob store.
    Source string
    The local filesystem path to the file that should be uploaded.
    StoreId string
    The ID of the Blob store that should contain the object.
    CacheControlMaxAge int
    The cache max-age, in seconds, to apply to the uploaded object.
    ContentType string
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    TeamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    pathname string
    The pathname to upload within the Blob store.
    source string
    The local filesystem path to the file that should be uploaded.
    store_id string
    The ID of the Blob store that should contain the object.
    cache_control_max_age number
    The cache max-age, in seconds, to apply to the uploaded object.
    content_type string
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    team_id string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    pathname String
    The pathname to upload within the Blob store.
    source String
    The local filesystem path to the file that should be uploaded.
    storeId String
    The ID of the Blob store that should contain the object.
    cacheControlMaxAge Integer
    The cache max-age, in seconds, to apply to the uploaded object.
    contentType String
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    teamId String
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    pathname string
    The pathname to upload within the Blob store.
    source string
    The local filesystem path to the file that should be uploaded.
    storeId string
    The ID of the Blob store that should contain the object.
    cacheControlMaxAge number
    The cache max-age, in seconds, to apply to the uploaded object.
    contentType string
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    teamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    pathname str
    The pathname to upload within the Blob store.
    source str
    The local filesystem path to the file that should be uploaded.
    store_id str
    The ID of the Blob store that should contain the object.
    cache_control_max_age int
    The cache max-age, in seconds, to apply to the uploaded object.
    content_type str
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    team_id str
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    pathname String
    The pathname to upload within the Blob store.
    source String
    The local filesystem path to the file that should be uploaded.
    storeId String
    The ID of the Blob store that should contain the object.
    cacheControlMaxAge Number
    The cache max-age, in seconds, to apply to the uploaded object.
    contentType String
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    teamId String
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BlobObject resource produces the following output properties:

    CacheControl string
    The full Cache-Control header stored on the Blob object.
    ContentDisposition string
    The content disposition returned for the Blob object.
    DownloadUrl string
    The Blob object URL with download semantics enabled.
    Etag string
    The current ETag for the Blob object.
    Id string
    The provider-assigned unique ID for this managed resource.
    Size int
    The size of the Blob object in bytes.
    SourceSha256 string
    The SHA-256 of the local source file content used for drift detection.
    UploadedAt string
    The timestamp at which the Blob object was last uploaded.
    Url string
    The canonical URL for the Blob object.
    CacheControl string
    The full Cache-Control header stored on the Blob object.
    ContentDisposition string
    The content disposition returned for the Blob object.
    DownloadUrl string
    The Blob object URL with download semantics enabled.
    Etag string
    The current ETag for the Blob object.
    Id string
    The provider-assigned unique ID for this managed resource.
    Size int
    The size of the Blob object in bytes.
    SourceSha256 string
    The SHA-256 of the local source file content used for drift detection.
    UploadedAt string
    The timestamp at which the Blob object was last uploaded.
    Url string
    The canonical URL for the Blob object.
    cache_control string
    The full Cache-Control header stored on the Blob object.
    content_disposition string
    The content disposition returned for the Blob object.
    download_url string
    The Blob object URL with download semantics enabled.
    etag string
    The current ETag for the Blob object.
    id string
    The provider-assigned unique ID for this managed resource.
    size number
    The size of the Blob object in bytes.
    source_sha256 string
    The SHA-256 of the local source file content used for drift detection.
    uploaded_at string
    The timestamp at which the Blob object was last uploaded.
    url string
    The canonical URL for the Blob object.
    cacheControl String
    The full Cache-Control header stored on the Blob object.
    contentDisposition String
    The content disposition returned for the Blob object.
    downloadUrl String
    The Blob object URL with download semantics enabled.
    etag String
    The current ETag for the Blob object.
    id String
    The provider-assigned unique ID for this managed resource.
    size Integer
    The size of the Blob object in bytes.
    sourceSha256 String
    The SHA-256 of the local source file content used for drift detection.
    uploadedAt String
    The timestamp at which the Blob object was last uploaded.
    url String
    The canonical URL for the Blob object.
    cacheControl string
    The full Cache-Control header stored on the Blob object.
    contentDisposition string
    The content disposition returned for the Blob object.
    downloadUrl string
    The Blob object URL with download semantics enabled.
    etag string
    The current ETag for the Blob object.
    id string
    The provider-assigned unique ID for this managed resource.
    size number
    The size of the Blob object in bytes.
    sourceSha256 string
    The SHA-256 of the local source file content used for drift detection.
    uploadedAt string
    The timestamp at which the Blob object was last uploaded.
    url string
    The canonical URL for the Blob object.
    cache_control str
    The full Cache-Control header stored on the Blob object.
    content_disposition str
    The content disposition returned for the Blob object.
    download_url str
    The Blob object URL with download semantics enabled.
    etag str
    The current ETag for the Blob object.
    id str
    The provider-assigned unique ID for this managed resource.
    size int
    The size of the Blob object in bytes.
    source_sha256 str
    The SHA-256 of the local source file content used for drift detection.
    uploaded_at str
    The timestamp at which the Blob object was last uploaded.
    url str
    The canonical URL for the Blob object.
    cacheControl String
    The full Cache-Control header stored on the Blob object.
    contentDisposition String
    The content disposition returned for the Blob object.
    downloadUrl String
    The Blob object URL with download semantics enabled.
    etag String
    The current ETag for the Blob object.
    id String
    The provider-assigned unique ID for this managed resource.
    size Number
    The size of the Blob object in bytes.
    sourceSha256 String
    The SHA-256 of the local source file content used for drift detection.
    uploadedAt String
    The timestamp at which the Blob object was last uploaded.
    url String
    The canonical URL for the Blob object.

    Look up Existing BlobObject Resource

    Get an existing BlobObject resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BlobObjectState, opts?: CustomResourceOptions): BlobObject
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cache_control: Optional[str] = None,
            cache_control_max_age: Optional[int] = None,
            content_disposition: Optional[str] = None,
            content_type: Optional[str] = None,
            download_url: Optional[str] = None,
            etag: Optional[str] = None,
            pathname: Optional[str] = None,
            size: Optional[int] = None,
            source: Optional[str] = None,
            source_sha256: Optional[str] = None,
            store_id: Optional[str] = None,
            team_id: Optional[str] = None,
            uploaded_at: Optional[str] = None,
            url: Optional[str] = None) -> BlobObject
    func GetBlobObject(ctx *Context, name string, id IDInput, state *BlobObjectState, opts ...ResourceOption) (*BlobObject, error)
    public static BlobObject Get(string name, Input<string> id, BlobObjectState? state, CustomResourceOptions? opts = null)
    public static BlobObject get(String name, Output<String> id, BlobObjectState state, CustomResourceOptions options)
    resources:  _:    type: vercel:BlobObject    get:      id: ${id}
    import {
      to = vercel_blob_object.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CacheControl string
    The full Cache-Control header stored on the Blob object.
    CacheControlMaxAge int
    The cache max-age, in seconds, to apply to the uploaded object.
    ContentDisposition string
    The content disposition returned for the Blob object.
    ContentType string
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    DownloadUrl string
    The Blob object URL with download semantics enabled.
    Etag string
    The current ETag for the Blob object.
    Pathname string
    The pathname to upload within the Blob store.
    Size int
    The size of the Blob object in bytes.
    Source string
    The local filesystem path to the file that should be uploaded.
    SourceSha256 string
    The SHA-256 of the local source file content used for drift detection.
    StoreId string
    The ID of the Blob store that should contain the object.
    TeamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    UploadedAt string
    The timestamp at which the Blob object was last uploaded.
    Url string
    The canonical URL for the Blob object.
    CacheControl string
    The full Cache-Control header stored on the Blob object.
    CacheControlMaxAge int
    The cache max-age, in seconds, to apply to the uploaded object.
    ContentDisposition string
    The content disposition returned for the Blob object.
    ContentType string
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    DownloadUrl string
    The Blob object URL with download semantics enabled.
    Etag string
    The current ETag for the Blob object.
    Pathname string
    The pathname to upload within the Blob store.
    Size int
    The size of the Blob object in bytes.
    Source string
    The local filesystem path to the file that should be uploaded.
    SourceSha256 string
    The SHA-256 of the local source file content used for drift detection.
    StoreId string
    The ID of the Blob store that should contain the object.
    TeamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    UploadedAt string
    The timestamp at which the Blob object was last uploaded.
    Url string
    The canonical URL for the Blob object.
    cache_control string
    The full Cache-Control header stored on the Blob object.
    cache_control_max_age number
    The cache max-age, in seconds, to apply to the uploaded object.
    content_disposition string
    The content disposition returned for the Blob object.
    content_type string
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    download_url string
    The Blob object URL with download semantics enabled.
    etag string
    The current ETag for the Blob object.
    pathname string
    The pathname to upload within the Blob store.
    size number
    The size of the Blob object in bytes.
    source string
    The local filesystem path to the file that should be uploaded.
    source_sha256 string
    The SHA-256 of the local source file content used for drift detection.
    store_id string
    The ID of the Blob store that should contain the object.
    team_id string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    uploaded_at string
    The timestamp at which the Blob object was last uploaded.
    url string
    The canonical URL for the Blob object.
    cacheControl String
    The full Cache-Control header stored on the Blob object.
    cacheControlMaxAge Integer
    The cache max-age, in seconds, to apply to the uploaded object.
    contentDisposition String
    The content disposition returned for the Blob object.
    contentType String
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    downloadUrl String
    The Blob object URL with download semantics enabled.
    etag String
    The current ETag for the Blob object.
    pathname String
    The pathname to upload within the Blob store.
    size Integer
    The size of the Blob object in bytes.
    source String
    The local filesystem path to the file that should be uploaded.
    sourceSha256 String
    The SHA-256 of the local source file content used for drift detection.
    storeId String
    The ID of the Blob store that should contain the object.
    teamId String
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    uploadedAt String
    The timestamp at which the Blob object was last uploaded.
    url String
    The canonical URL for the Blob object.
    cacheControl string
    The full Cache-Control header stored on the Blob object.
    cacheControlMaxAge number
    The cache max-age, in seconds, to apply to the uploaded object.
    contentDisposition string
    The content disposition returned for the Blob object.
    contentType string
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    downloadUrl string
    The Blob object URL with download semantics enabled.
    etag string
    The current ETag for the Blob object.
    pathname string
    The pathname to upload within the Blob store.
    size number
    The size of the Blob object in bytes.
    source string
    The local filesystem path to the file that should be uploaded.
    sourceSha256 string
    The SHA-256 of the local source file content used for drift detection.
    storeId string
    The ID of the Blob store that should contain the object.
    teamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    uploadedAt string
    The timestamp at which the Blob object was last uploaded.
    url string
    The canonical URL for the Blob object.
    cache_control str
    The full Cache-Control header stored on the Blob object.
    cache_control_max_age int
    The cache max-age, in seconds, to apply to the uploaded object.
    content_disposition str
    The content disposition returned for the Blob object.
    content_type str
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    download_url str
    The Blob object URL with download semantics enabled.
    etag str
    The current ETag for the Blob object.
    pathname str
    The pathname to upload within the Blob store.
    size int
    The size of the Blob object in bytes.
    source str
    The local filesystem path to the file that should be uploaded.
    source_sha256 str
    The SHA-256 of the local source file content used for drift detection.
    store_id str
    The ID of the Blob store that should contain the object.
    team_id str
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    uploaded_at str
    The timestamp at which the Blob object was last uploaded.
    url str
    The canonical URL for the Blob object.
    cacheControl String
    The full Cache-Control header stored on the Blob object.
    cacheControlMaxAge Number
    The cache max-age, in seconds, to apply to the uploaded object.
    contentDisposition String
    The content disposition returned for the Blob object.
    contentType String
    The content type to store on the object. When omitted, Vercel infers it from the pathname.
    downloadUrl String
    The Blob object URL with download semantics enabled.
    etag String
    The current ETag for the Blob object.
    pathname String
    The pathname to upload within the Blob store.
    size Number
    The size of the Blob object in bytes.
    source String
    The local filesystem path to the file that should be uploaded.
    sourceSha256 String
    The SHA-256 of the local source file content used for drift detection.
    storeId String
    The ID of the Blob store that should contain the object.
    teamId String
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    uploadedAt String
    The timestamp at which the Blob object was last uploaded.
    url String
    The canonical URL for the Blob object.

    Package Details

    Repository
    vercel pulumiverse/pulumi-vercel
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vercel Terraform Provider.
    vercel logo
    Viewing docs for Vercel v5.4.1
    published on Wednesday, Jul 22, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial