HtmlCssToImage.Pulumi
0.3.0
dotnet add package HtmlCssToImage.Pulumi --version 0.3.0
NuGet\Install-Package HtmlCssToImage.Pulumi -Version 0.3.0
<PackageReference Include="HtmlCssToImage.Pulumi" Version="0.3.0" />
<PackageVersion Include="HtmlCssToImage.Pulumi" Version="0.3.0" />
<PackageReference Include="HtmlCssToImage.Pulumi" />
paket add HtmlCssToImage.Pulumi --version 0.3.0
#r "nuget: HtmlCssToImage.Pulumi, 0.3.0"
#:package HtmlCssToImage.Pulumi@0.3.0
#addin nuget:?package=HtmlCssToImage.Pulumi&version=0.3.0
#tool nuget:?package=HtmlCssToImage.Pulumi&version=0.3.0
HTML/CSS to Image Pulumi provider
Manage HTML/CSS to Image resources with TypeScript, Python, Go, C#, Java, or Pulumi YAML.
Website · Documentation · Management API · API reference
Create images and reusable templates alongside application API keys, proxies, storage destinations, and Open Graph configurations. The provider shares its implementation with the Terraform provider.
Installation
Install the SDK for your Pulumi project's language:
| Language | Install |
|---|---|
| TypeScript / JavaScript | npm install @html-css-to-image/pulumi |
| Python | pip install pulumi-html-css-to-image |
| Go | go get github.com/htmlcsstoimage/pulumi-html-css-to-image/sdk/go |
| C# / .NET | dotnet add package HtmlCssToImage.Pulumi |
For Java, add this Maven dependency:
<dependency>
<groupId>com.htmlcsstoimage</groupId>
<artifactId>pulumi</artifactId>
<version>0.3.0</version>
</dependency>
The SDK automatically downloads the matching provider plugin from GitHub Releases. YAML programs select the plugin directly, as shown below.
Example
In a Pulumi project for your language, install the SDK and configure credentials:
pulumi config set html-css-to-image:apiId YOUR_API_ID
pulumi config set --secret html-css-to-image:apiKey
using System.Collections.Generic;
using Pulumi;
using Hcti = Pulumi.HtmlCssToImage;
return await Deployment.RunAsync(() =>
{
var card = new Hcti.ImageHtmlCss("card", new Hcti.ImageHtmlCssArgs
{
Html = "<h1>Hello from Pulumi</h1>",
});
return new Dictionary<string, object?> { ["imageUrl"] = card.ImageUrl };
});
Run pulumi preview and pulumi up. Open the returned URL to render the image. Creation and refresh save/read metadata without rendering bytes. Input changes replace image definitions; template edits create new versions under a stable ID.
Configuration
| Setting | Environment fallback | Description |
|---|---|---|
html-css-to-image:apiId |
HCTI_API_ID |
API ID for your organization. |
html-css-to-image:apiKey |
HCTI_API_KEY |
API key; use pulumi config set --secret when storing it in stack configuration. |
html-css-to-image:baseUrl |
None | Optional API origin; defaults to https://hcti.io. |
The key needs the read/write/delete permissions for the resources you manage. Credentials and headers retain Pulumi secret markings. Version identifiers are decimal strings to preserve all int64 digits. Requests identify themselves with HCTIGo/<sdk-version> HCTIPulumi/<provider-version>.
Resources and lookups
Webhook: event subscriptions, delivery parameters, and signing configuration.
Proxy, ApiKey, OgConfig, and StorageDestination.
Template, ImageHtmlCss, ImageUrl, and ImageTemplated.
getTemplate: latest or pinned template settings.
getTemplateVersions: newest-first history with automatic pagination and a default limit of 1000.
getAwsStorageExternalId: external ID and writer role ARN for an AWS trust policy.
See examples for complete YAML programs. In .NET, the API key secret is ApiKey.Value and the URL image operation URL is ImageUrl.RenderingUrl to avoid member/type name collisions.
Contributing
See development and releasing. API lifecycle behavior belongs in the Terraform provider; this repository maintains the bridge, exact version conversions, SDK metadata, and Pulumi examples.
HTML/CSS to Image · Documentation · Management API · Pulumi provider repository · Report an issue
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- Pulumi (>= 3.116.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.