published on Wednesday, Jul 22, 2026 by Pulumiverse
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.
- Store
Id string - The ID of the Blob store that should contain the object.
- Cache
Control intMax Age - 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.
- Store
Id string - The ID of the Blob store that should contain the object.
- Cache
Control intMax Age - 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.
- store_
id string - The ID of the Blob store that should contain the object.
- cache_
control_ numbermax_ age - 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.
- store
Id String - The ID of the Blob store that should contain the object.
- cache
Control IntegerMax Age - 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.
- store
Id string - The ID of the Blob store that should contain the object.
- cache
Control numberMax Age - 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 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_ intmax_ age - 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.
- store
Id String - The ID of the Blob store that should contain the object.
- cache
Control NumberMax Age - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the BlobObject resource produces the following output properties:
- 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 int
- 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.
- 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 int
- 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.
- 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.
- 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 Integer
- 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.
- 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.
- 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.
- 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.
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) -> BlobObjectfunc 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.
- Cache
Control string - The full Cache-Control header stored on the Blob object.
- Cache
Control intMax Age - 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 int
- 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.
- Cache
Control string - The full Cache-Control header stored on the Blob object.
- Cache
Control intMax Age - 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 int
- 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.
- cache_
control string - The full Cache-Control header stored on the Blob object.
- cache_
control_ numbermax_ age - 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.
- cache
Control String - The full Cache-Control header stored on the Blob object.
- cache
Control IntegerMax Age - 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 Integer
- 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.
- cache
Control string - The full Cache-Control header stored on the Blob object.
- cache
Control numberMax Age - 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.
- cache_
control str - The full Cache-Control header stored on the Blob object.
- cache_
control_ intmax_ age - 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.
- cache
Control String - The full Cache-Control header stored on the Blob object.
- cache
Control NumberMax Age - 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.
Package Details
- Repository
- vercel pulumiverse/pulumi-vercel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vercelTerraform Provider.
published on Wednesday, Jul 22, 2026 by Pulumiverse