1. Registry
  2. Packages
  3. HTML/CSS to Image
  4. API Docs
  5. ImageHtmlCss
Viewing docs for HTML/CSS to Image v0.2.0
published on Tuesday, Sep 29, 2026 by htmlcsstoimage
html-css-to-image logo HTML/CSS to Image
Viewing docs for HTML/CSS to Image v0.2.0
published on Tuesday, Sep 29, 2026 by htmlcsstoimage

    Create ImageHtmlCss Resource

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

    Constructor syntax

    new ImageHtmlCss(name: string, args: ImageHtmlCssArgs, opts?: CustomResourceOptions);
    @overload
    def ImageHtmlCss(resource_name: str,
                     args: ImageHtmlCssArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ImageHtmlCss(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     html: Optional[str] = None,
                     metadata: Optional[Mapping[str, str]] = None,
                     viewport_landscape: Optional[bool] = None,
                     disable_twemoji: Optional[bool] = None,
                     format: Optional[str] = None,
                     google_fonts: Optional[Sequence[str]] = None,
                     css: Optional[str] = None,
                     jumbo_max_height: Optional[int] = None,
                     jumbo_max_width: Optional[int] = None,
                     max_render_once: Optional[bool] = None,
                     max_wait_ms: Optional[int] = None,
                     media_type: Optional[str] = None,
                     color_scheme: Optional[str] = None,
                     device_scale: Optional[float] = None,
                     ms_delay: Optional[int] = None,
                     storage_destination_id: Optional[str] = None,
                     render_when_ready: Optional[bool] = None,
                     request_overrides: Optional[Sequence[ImageHtmlCssRequestOverrideArgs]] = None,
                     selector: Optional[str] = None,
                     proxy_id: Optional[str] = None,
                     timezone: Optional[str] = None,
                     transparent_background: Optional[bool] = None,
                     viewport_height: Optional[int] = None,
                     pdf_options: Optional[ImageHtmlCssPdfOptionsArgs] = None,
                     viewport_mobile: Optional[bool] = None,
                     viewport_touch: Optional[bool] = None,
                     viewport_width: Optional[int] = None)
    func NewImageHtmlCss(ctx *Context, name string, args ImageHtmlCssArgs, opts ...ResourceOption) (*ImageHtmlCss, error)
    public ImageHtmlCss(string name, ImageHtmlCssArgs args, CustomResourceOptions? opts = null)
    public ImageHtmlCss(String name, ImageHtmlCssArgs args)
    public ImageHtmlCss(String name, ImageHtmlCssArgs args, CustomResourceOptions options)
    
    type: html-css-to-image:ImageHtmlCss
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "html-css-to-image_image_html_css" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ImageHtmlCssArgs
    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 ImageHtmlCssArgs
    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 ImageHtmlCssArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ImageHtmlCssArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ImageHtmlCssArgs
    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 imageHtmlCssResource = new HtmlCssToImage.ImageHtmlCss("imageHtmlCssResource", new()
    {
        Html = "string",
        Metadata = 
        {
            { "string", "string" },
        },
        ViewportLandscape = false,
        DisableTwemoji = false,
        Format = "string",
        GoogleFonts = new[]
        {
            "string",
        },
        Css = "string",
        JumboMaxHeight = 0,
        JumboMaxWidth = 0,
        MaxRenderOnce = false,
        MaxWaitMs = 0,
        MediaType = "string",
        ColorScheme = "string",
        DeviceScale = 0.0,
        MsDelay = 0,
        StorageDestinationId = "string",
        RenderWhenReady = false,
        RequestOverrides = new[]
        {
            new HtmlCssToImage.Inputs.ImageHtmlCssRequestOverrideArgs
            {
                Action = "string",
                ResourceTypes = new[]
                {
                    HtmlCssToImage.RequestOverrideResourceType.Beacon,
                },
                Url = "string",
            },
        },
        Selector = "string",
        ProxyId = "string",
        Timezone = "string",
        TransparentBackground = false,
        ViewportHeight = 0,
        PdfOptions = new HtmlCssToImage.Inputs.ImageHtmlCssPdfOptionsArgs
        {
            Margins = new HtmlCssToImage.Inputs.ImageHtmlCssPdfOptionsMarginsArgs
            {
                Bottom = "string",
                Left = "string",
                Right = "string",
                Top = "string",
            },
            PageHeight = "string",
            PageWidth = "string",
            PrintBackground = false,
            Scale = 0.0,
        },
        ViewportMobile = false,
        ViewportTouch = false,
        ViewportWidth = 0,
    });
    
    example, err := htmlcsstoimage.NewImageHtmlCss(ctx, "imageHtmlCssResource", &htmlcsstoimage.ImageHtmlCssArgs{
    Html: pulumi.String("string"),
    Metadata: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    ViewportLandscape: pulumi.Bool(false),
    DisableTwemoji: pulumi.Bool(false),
    Format: pulumi.String("string"),
    GoogleFonts: pulumi.StringArray{
    pulumi.String("string"),
    },
    Css: pulumi.String("string"),
    JumboMaxHeight: pulumi.Int(0),
    JumboMaxWidth: pulumi.Int(0),
    MaxRenderOnce: pulumi.Bool(false),
    MaxWaitMs: pulumi.Int(0),
    MediaType: pulumi.String("string"),
    ColorScheme: pulumi.String("string"),
    DeviceScale: pulumi.Float64(0),
    MsDelay: pulumi.Int(0),
    StorageDestinationId: pulumi.String("string"),
    RenderWhenReady: pulumi.Bool(false),
    RequestOverrides: .ImageHtmlCssRequestOverrideArray{
    &.ImageHtmlCssRequestOverrideArgs{
    Action: pulumi.String("string"),
    ResourceTypes: html-css-to-image.RequestOverrideResourceTypeArray{
    htmlcsstoimage.RequestOverrideResourceTypeBeacon,
    },
    Url: pulumi.String("string"),
    },
    },
    Selector: pulumi.String("string"),
    ProxyId: pulumi.String("string"),
    Timezone: pulumi.String("string"),
    TransparentBackground: pulumi.Bool(false),
    ViewportHeight: pulumi.Int(0),
    PdfOptions: &.ImageHtmlCssPdfOptionsArgs{
    Margins: &.ImageHtmlCssPdfOptionsMarginsArgs{
    Bottom: pulumi.String("string"),
    Left: pulumi.String("string"),
    Right: pulumi.String("string"),
    Top: pulumi.String("string"),
    },
    PageHeight: pulumi.String("string"),
    PageWidth: pulumi.String("string"),
    PrintBackground: pulumi.Bool(false),
    Scale: pulumi.Float64(0),
    },
    ViewportMobile: pulumi.Bool(false),
    ViewportTouch: pulumi.Bool(false),
    ViewportWidth: pulumi.Int(0),
    })
    
    resource "html-css-to-image_image_html_css" "imageHtmlCssResource" {
      lifecycle {
        create_before_destroy = true
      }
      html = "string"
      metadata = {
        "string" = "string"
      }
      viewport_landscape     = false
      disable_twemoji        = false
      format                 = "string"
      google_fonts           = ["string"]
      css                    = "string"
      jumbo_max_height       = 0
      jumbo_max_width        = 0
      max_render_once        = false
      max_wait_ms            = 0
      media_type             = "string"
      color_scheme           = "string"
      device_scale           = 0
      ms_delay               = 0
      storage_destination_id = "string"
      render_when_ready      = false
      request_overrides {
        action         = "string"
        resource_types = ["beacon"]
        url            = "string"
      }
      selector               = "string"
      proxy_id               = "string"
      timezone               = "string"
      transparent_background = false
      viewport_height        = 0
      pdf_options = {
        margins = {
          bottom = "string"
          left   = "string"
          right  = "string"
          top    = "string"
        }
        page_height      = "string"
        page_width       = "string"
        print_background = false
        scale            = 0
      }
      viewport_mobile = false
      viewport_touch  = false
      viewport_width  = 0
    }
    
    var imageHtmlCssResource = new ImageHtmlCss("imageHtmlCssResource", ImageHtmlCssArgs.builder()
        .html("string")
        .metadata(Map.of("string", "string"))
        .viewportLandscape(false)
        .disableTwemoji(false)
        .format("string")
        .googleFonts("string")
        .css("string")
        .jumboMaxHeight(0)
        .jumboMaxWidth(0)
        .maxRenderOnce(false)
        .maxWaitMs(0)
        .mediaType("string")
        .colorScheme("string")
        .deviceScale(0.0)
        .msDelay(0)
        .storageDestinationId("string")
        .renderWhenReady(false)
        .requestOverrides(ImageHtmlCssRequestOverrideArgs.builder()
            .action("string")
            .resourceTypes("beacon")
            .url("string")
            .build())
        .selector("string")
        .proxyId("string")
        .timezone("string")
        .transparentBackground(false)
        .viewportHeight(0)
        .pdfOptions(ImageHtmlCssPdfOptionsArgs.builder()
            .margins(ImageHtmlCssPdfOptionsMarginsArgs.builder()
                .bottom("string")
                .left("string")
                .right("string")
                .top("string")
                .build())
            .pageHeight("string")
            .pageWidth("string")
            .printBackground(false)
            .scale(0.0)
            .build())
        .viewportMobile(false)
        .viewportTouch(false)
        .viewportWidth(0)
        .build());
    
    image_html_css_resource = html_css_to_image.ImageHtmlCss("imageHtmlCssResource",
        html="string",
        metadata={
            "string": "string",
        },
        viewport_landscape=False,
        disable_twemoji=False,
        format="string",
        google_fonts=["string"],
        css="string",
        jumbo_max_height=0,
        jumbo_max_width=0,
        max_render_once=False,
        max_wait_ms=0,
        media_type="string",
        color_scheme="string",
        device_scale=float(0),
        ms_delay=0,
        storage_destination_id="string",
        render_when_ready=False,
        request_overrides=[{
            "action": "string",
            "resource_types": [html_css_to_image.RequestOverrideResourceType.BEACON],
            "url": "string",
        }],
        selector="string",
        proxy_id="string",
        timezone="string",
        transparent_background=False,
        viewport_height=0,
        pdf_options={
            "margins": {
                "bottom": "string",
                "left": "string",
                "right": "string",
                "top": "string",
            },
            "page_height": "string",
            "page_width": "string",
            "print_background": False,
            "scale": float(0),
        },
        viewport_mobile=False,
        viewport_touch=False,
        viewport_width=0)
    
    const imageHtmlCssResource = new html_css_to_image.ImageHtmlCss("imageHtmlCssResource", {
        html: "string",
        metadata: {
            string: "string",
        },
        viewportLandscape: false,
        disableTwemoji: false,
        format: "string",
        googleFonts: ["string"],
        css: "string",
        jumboMaxHeight: 0,
        jumboMaxWidth: 0,
        maxRenderOnce: false,
        maxWaitMs: 0,
        mediaType: "string",
        colorScheme: "string",
        deviceScale: 0,
        msDelay: 0,
        storageDestinationId: "string",
        renderWhenReady: false,
        requestOverrides: [{
            action: "string",
            resourceTypes: [html_css_to_image.RequestOverrideResourceType.Beacon],
            url: "string",
        }],
        selector: "string",
        proxyId: "string",
        timezone: "string",
        transparentBackground: false,
        viewportHeight: 0,
        pdfOptions: {
            margins: {
                bottom: "string",
                left: "string",
                right: "string",
                top: "string",
            },
            pageHeight: "string",
            pageWidth: "string",
            printBackground: false,
            scale: 0,
        },
        viewportMobile: false,
        viewportTouch: false,
        viewportWidth: 0,
    });
    
    type: html-css-to-image:ImageHtmlCss
    properties:
        colorScheme: string
        css: string
        deviceScale: 0
        disableTwemoji: false
        format: string
        googleFonts:
            - string
        html: string
        jumboMaxHeight: 0
        jumboMaxWidth: 0
        maxRenderOnce: false
        maxWaitMs: 0
        mediaType: string
        metadata:
            string: string
        msDelay: 0
        pdfOptions:
            margins:
                bottom: string
                left: string
                right: string
                top: string
            pageHeight: string
            pageWidth: string
            printBackground: false
            scale: 0
        proxyId: string
        renderWhenReady: false
        requestOverrides:
            - action: string
              resourceTypes:
                - beacon
              url: string
        selector: string
        storageDestinationId: string
        timezone: string
        transparentBackground: false
        viewportHeight: 0
        viewportLandscape: false
        viewportMobile: false
        viewportTouch: false
        viewportWidth: 0
    

    ImageHtmlCss 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 ImageHtmlCss resource accepts the following input properties:

    Html string
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    ColorScheme string
    Sets the preferred color scheme: light or dark.
    Css string
    CSS used to style the rendered HTML.
    DeviceScale double
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    DisableTwemoji bool
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    Format string
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    GoogleFonts List<string>
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    JumboMaxHeight int
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    JumboMaxWidth int
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    MaxRenderOnce bool
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    MaxWaitMs int
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    MediaType string
    CSS media type to emulate: screen or print.
    Metadata Dictionary<string, string>
    Custom key-value metadata stored with the image.
    MsDelay int
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    PdfOptions Pulumi.HtmlCssToImage.Inputs.ImageHtmlCssPdfOptions
    Rendering option.
    ProxyId string
    Specifies which configured organization proxy to use when rendering.
    RenderWhenReady bool
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    RequestOverrides List<Pulumi.HtmlCssToImage.Inputs.ImageHtmlCssRequestOverride>
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    Selector string
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    StorageDestinationId string
    Specifies which configured organization storage destination receives the rendered image.
    Timezone string
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    TransparentBackground bool
    Specifies whether the image is rendered with a transparent background.
    ViewportHeight int
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    ViewportLandscape bool
    Specifies whether the emulated viewport is in landscape orientation.
    ViewportMobile bool
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    ViewportTouch bool
    Specifies whether the emulated viewport supports touch events.
    ViewportWidth int
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    Html string
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    ColorScheme string
    Sets the preferred color scheme: light or dark.
    Css string
    CSS used to style the rendered HTML.
    DeviceScale float64
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    DisableTwemoji bool
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    Format string
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    GoogleFonts []string
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    JumboMaxHeight int
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    JumboMaxWidth int
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    MaxRenderOnce bool
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    MaxWaitMs int
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    MediaType string
    CSS media type to emulate: screen or print.
    Metadata map[string]string
    Custom key-value metadata stored with the image.
    MsDelay int
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    PdfOptions ImageHtmlCssPdfOptionsArgs
    Rendering option.
    ProxyId string
    Specifies which configured organization proxy to use when rendering.
    RenderWhenReady bool
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    RequestOverrides []ImageHtmlCssRequestOverrideArgs
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    Selector string
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    StorageDestinationId string
    Specifies which configured organization storage destination receives the rendered image.
    Timezone string
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    TransparentBackground bool
    Specifies whether the image is rendered with a transparent background.
    ViewportHeight int
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    ViewportLandscape bool
    Specifies whether the emulated viewport is in landscape orientation.
    ViewportMobile bool
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    ViewportTouch bool
    Specifies whether the emulated viewport supports touch events.
    ViewportWidth int
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    html string
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    color_scheme string
    Sets the preferred color scheme: light or dark.
    css string
    CSS used to style the rendered HTML.
    device_scale number
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    disable_twemoji bool
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    format string
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    google_fonts list(string)
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    jumbo_max_height number
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    jumbo_max_width number
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    max_render_once bool
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    max_wait_ms number
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    media_type string
    CSS media type to emulate: screen or print.
    metadata map(string)
    Custom key-value metadata stored with the image.
    ms_delay number
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    pdf_options object
    Rendering option.
    proxy_id string
    Specifies which configured organization proxy to use when rendering.
    render_when_ready bool
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    request_overrides list(object)
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    selector string
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    storage_destination_id string
    Specifies which configured organization storage destination receives the rendered image.
    timezone string
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    transparent_background bool
    Specifies whether the image is rendered with a transparent background.
    viewport_height number
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    viewport_landscape bool
    Specifies whether the emulated viewport is in landscape orientation.
    viewport_mobile bool
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    viewport_touch bool
    Specifies whether the emulated viewport supports touch events.
    viewport_width number
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    html String
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    colorScheme String
    Sets the preferred color scheme: light or dark.
    css String
    CSS used to style the rendered HTML.
    deviceScale Double
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    disableTwemoji Boolean
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    format String
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    googleFonts List<String>
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    jumboMaxHeight Integer
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    jumboMaxWidth Integer
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    maxRenderOnce Boolean
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    maxWaitMs Integer
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    mediaType String
    CSS media type to emulate: screen or print.
    metadata Map<String,String>
    Custom key-value metadata stored with the image.
    msDelay Integer
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    pdfOptions ImageHtmlCssPdfOptions
    Rendering option.
    proxyId String
    Specifies which configured organization proxy to use when rendering.
    renderWhenReady Boolean
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    requestOverrides List<ImageHtmlCssRequestOverride>
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    selector String
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    storageDestinationId String
    Specifies which configured organization storage destination receives the rendered image.
    timezone String
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    transparentBackground Boolean
    Specifies whether the image is rendered with a transparent background.
    viewportHeight Integer
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    viewportLandscape Boolean
    Specifies whether the emulated viewport is in landscape orientation.
    viewportMobile Boolean
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    viewportTouch Boolean
    Specifies whether the emulated viewport supports touch events.
    viewportWidth Integer
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    html string
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    colorScheme string
    Sets the preferred color scheme: light or dark.
    css string
    CSS used to style the rendered HTML.
    deviceScale number
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    disableTwemoji boolean
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    format string
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    googleFonts string[]
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    jumboMaxHeight number
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    jumboMaxWidth number
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    maxRenderOnce boolean
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    maxWaitMs number
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    mediaType string
    CSS media type to emulate: screen or print.
    metadata {[key: string]: string}
    Custom key-value metadata stored with the image.
    msDelay number
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    pdfOptions ImageHtmlCssPdfOptions
    Rendering option.
    proxyId string
    Specifies which configured organization proxy to use when rendering.
    renderWhenReady boolean
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    requestOverrides ImageHtmlCssRequestOverride[]
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    selector string
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    storageDestinationId string
    Specifies which configured organization storage destination receives the rendered image.
    timezone string
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    transparentBackground boolean
    Specifies whether the image is rendered with a transparent background.
    viewportHeight number
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    viewportLandscape boolean
    Specifies whether the emulated viewport is in landscape orientation.
    viewportMobile boolean
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    viewportTouch boolean
    Specifies whether the emulated viewport supports touch events.
    viewportWidth number
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    html str
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    color_scheme str
    Sets the preferred color scheme: light or dark.
    css str
    CSS used to style the rendered HTML.
    device_scale float
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    disable_twemoji bool
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    format str
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    google_fonts Sequence[str]
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    jumbo_max_height int
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    jumbo_max_width int
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    max_render_once bool
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    max_wait_ms int
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    media_type str
    CSS media type to emulate: screen or print.
    metadata Mapping[str, str]
    Custom key-value metadata stored with the image.
    ms_delay int
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    pdf_options ImageHtmlCssPdfOptionsArgs
    Rendering option.
    proxy_id str
    Specifies which configured organization proxy to use when rendering.
    render_when_ready bool
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    request_overrides Sequence[ImageHtmlCssRequestOverrideArgs]
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    selector str
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    storage_destination_id str
    Specifies which configured organization storage destination receives the rendered image.
    timezone str
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    transparent_background bool
    Specifies whether the image is rendered with a transparent background.
    viewport_height int
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    viewport_landscape bool
    Specifies whether the emulated viewport is in landscape orientation.
    viewport_mobile bool
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    viewport_touch bool
    Specifies whether the emulated viewport supports touch events.
    viewport_width int
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    html String
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    colorScheme String
    Sets the preferred color scheme: light or dark.
    css String
    CSS used to style the rendered HTML.
    deviceScale Number
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    disableTwemoji Boolean
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    format String
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    googleFonts List<String>
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    jumboMaxHeight Number
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    jumboMaxWidth Number
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    maxRenderOnce Boolean
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    maxWaitMs Number
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    mediaType String
    CSS media type to emulate: screen or print.
    metadata Map<String>
    Custom key-value metadata stored with the image.
    msDelay Number
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    pdfOptions Property Map
    Rendering option.
    proxyId String
    Specifies which configured organization proxy to use when rendering.
    renderWhenReady Boolean
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    requestOverrides List<Property Map>
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    selector String
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    storageDestinationId String
    Specifies which configured organization storage destination receives the rendered image.
    timezone String
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    transparentBackground Boolean
    Specifies whether the image is rendered with a transparent background.
    viewportHeight Number
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    viewportLandscape Boolean
    Specifies whether the emulated viewport is in landscape orientation.
    viewportMobile Boolean
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    viewportTouch Boolean
    Specifies whether the emulated viewport supports touch events.
    viewportWidth Number
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.

    Outputs

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

    CreatedAt string
    Creation timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageUrl string
    Rendering operation URL. Creation does not render bytes.
    LastRenderStoredAt string
    Last HCTI stored-render timestamp, when available.
    OgConfigContentVersion string
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    OgConfigId string
    Associated OG configuration ID, if any.
    PublicUrl string
    Public GET rendering URL, or null when HCTI storage is disabled.
    RenderMethod string
    HTTP method required to render: GET or PUT.
    RenderRequiresAuth bool
    Whether rendering requires API authentication.
    SavedToStorageDestinationAt string
    Last base-image save to custom storage, when available.
    StorageDestinationHctiStorageDisabled bool
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    CreatedAt string
    Creation timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageUrl string
    Rendering operation URL. Creation does not render bytes.
    LastRenderStoredAt string
    Last HCTI stored-render timestamp, when available.
    OgConfigContentVersion string
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    OgConfigId string
    Associated OG configuration ID, if any.
    PublicUrl string
    Public GET rendering URL, or null when HCTI storage is disabled.
    RenderMethod string
    HTTP method required to render: GET or PUT.
    RenderRequiresAuth bool
    Whether rendering requires API authentication.
    SavedToStorageDestinationAt string
    Last base-image save to custom storage, when available.
    StorageDestinationHctiStorageDisabled bool
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    created_at string
    Creation timestamp.
    id string
    The provider-assigned unique ID for this managed resource.
    image_url string
    Rendering operation URL. Creation does not render bytes.
    last_render_stored_at string
    Last HCTI stored-render timestamp, when available.
    og_config_content_version string
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    og_config_id string
    Associated OG configuration ID, if any.
    public_url string
    Public GET rendering URL, or null when HCTI storage is disabled.
    render_method string
    HTTP method required to render: GET or PUT.
    render_requires_auth bool
    Whether rendering requires API authentication.
    saved_to_storage_destination_at string
    Last base-image save to custom storage, when available.
    storage_destination_hcti_storage_disabled bool
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    createdAt String
    Creation timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    imageUrl String
    Rendering operation URL. Creation does not render bytes.
    lastRenderStoredAt String
    Last HCTI stored-render timestamp, when available.
    ogConfigContentVersion String
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    ogConfigId String
    Associated OG configuration ID, if any.
    publicUrl String
    Public GET rendering URL, or null when HCTI storage is disabled.
    renderMethod String
    HTTP method required to render: GET or PUT.
    renderRequiresAuth Boolean
    Whether rendering requires API authentication.
    savedToStorageDestinationAt String
    Last base-image save to custom storage, when available.
    storageDestinationHctiStorageDisabled Boolean
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    createdAt string
    Creation timestamp.
    id string
    The provider-assigned unique ID for this managed resource.
    imageUrl string
    Rendering operation URL. Creation does not render bytes.
    lastRenderStoredAt string
    Last HCTI stored-render timestamp, when available.
    ogConfigContentVersion string
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    ogConfigId string
    Associated OG configuration ID, if any.
    publicUrl string
    Public GET rendering URL, or null when HCTI storage is disabled.
    renderMethod string
    HTTP method required to render: GET or PUT.
    renderRequiresAuth boolean
    Whether rendering requires API authentication.
    savedToStorageDestinationAt string
    Last base-image save to custom storage, when available.
    storageDestinationHctiStorageDisabled boolean
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    created_at str
    Creation timestamp.
    id str
    The provider-assigned unique ID for this managed resource.
    image_url str
    Rendering operation URL. Creation does not render bytes.
    last_render_stored_at str
    Last HCTI stored-render timestamp, when available.
    og_config_content_version str
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    og_config_id str
    Associated OG configuration ID, if any.
    public_url str
    Public GET rendering URL, or null when HCTI storage is disabled.
    render_method str
    HTTP method required to render: GET or PUT.
    render_requires_auth bool
    Whether rendering requires API authentication.
    saved_to_storage_destination_at str
    Last base-image save to custom storage, when available.
    storage_destination_hcti_storage_disabled bool
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    createdAt String
    Creation timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    imageUrl String
    Rendering operation URL. Creation does not render bytes.
    lastRenderStoredAt String
    Last HCTI stored-render timestamp, when available.
    ogConfigContentVersion String
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    ogConfigId String
    Associated OG configuration ID, if any.
    publicUrl String
    Public GET rendering URL, or null when HCTI storage is disabled.
    renderMethod String
    HTTP method required to render: GET or PUT.
    renderRequiresAuth Boolean
    Whether rendering requires API authentication.
    savedToStorageDestinationAt String
    Last base-image save to custom storage, when available.
    storageDestinationHctiStorageDisabled Boolean
    Whether rendered output is saved only to custom storage, recorded when the image was created.

    Look up Existing ImageHtmlCss Resource

    Get an existing ImageHtmlCss 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?: ImageHtmlCssState, opts?: CustomResourceOptions): ImageHtmlCss
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            color_scheme: Optional[str] = None,
            created_at: Optional[str] = None,
            css: Optional[str] = None,
            device_scale: Optional[float] = None,
            disable_twemoji: Optional[bool] = None,
            format: Optional[str] = None,
            google_fonts: Optional[Sequence[str]] = None,
            html: Optional[str] = None,
            image_url: Optional[str] = None,
            jumbo_max_height: Optional[int] = None,
            jumbo_max_width: Optional[int] = None,
            last_render_stored_at: Optional[str] = None,
            max_render_once: Optional[bool] = None,
            max_wait_ms: Optional[int] = None,
            media_type: Optional[str] = None,
            metadata: Optional[Mapping[str, str]] = None,
            ms_delay: Optional[int] = None,
            og_config_content_version: Optional[str] = None,
            og_config_id: Optional[str] = None,
            pdf_options: Optional[ImageHtmlCssPdfOptionsArgs] = None,
            proxy_id: Optional[str] = None,
            public_url: Optional[str] = None,
            render_method: Optional[str] = None,
            render_requires_auth: Optional[bool] = None,
            render_when_ready: Optional[bool] = None,
            request_overrides: Optional[Sequence[ImageHtmlCssRequestOverrideArgs]] = None,
            saved_to_storage_destination_at: Optional[str] = None,
            selector: Optional[str] = None,
            storage_destination_hcti_storage_disabled: Optional[bool] = None,
            storage_destination_id: Optional[str] = None,
            timezone: Optional[str] = None,
            transparent_background: Optional[bool] = None,
            viewport_height: Optional[int] = None,
            viewport_landscape: Optional[bool] = None,
            viewport_mobile: Optional[bool] = None,
            viewport_touch: Optional[bool] = None,
            viewport_width: Optional[int] = None) -> ImageHtmlCss
    func GetImageHtmlCss(ctx *Context, name string, id IDInput, state *ImageHtmlCssState, opts ...ResourceOption) (*ImageHtmlCss, error)
    public static ImageHtmlCss Get(string name, Input<string> id, ImageHtmlCssState? state, CustomResourceOptions? opts = null)
    public static ImageHtmlCss get(String name, Output<String> id, ImageHtmlCssState state, CustomResourceOptions options)
    resources:  _:    type: html-css-to-image:ImageHtmlCss    get:      id: ${id}
    import {
      to = html-css-to-image_image_html_css.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:
    ColorScheme string
    Sets the preferred color scheme: light or dark.
    CreatedAt string
    Creation timestamp.
    Css string
    CSS used to style the rendered HTML.
    DeviceScale double
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    DisableTwemoji bool
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    Format string
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    GoogleFonts List<string>
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    Html string
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    ImageUrl string
    Rendering operation URL. Creation does not render bytes.
    JumboMaxHeight int
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    JumboMaxWidth int
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    LastRenderStoredAt string
    Last HCTI stored-render timestamp, when available.
    MaxRenderOnce bool
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    MaxWaitMs int
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    MediaType string
    CSS media type to emulate: screen or print.
    Metadata Dictionary<string, string>
    Custom key-value metadata stored with the image.
    MsDelay int
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    OgConfigContentVersion string
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    OgConfigId string
    Associated OG configuration ID, if any.
    PdfOptions Pulumi.HtmlCssToImage.Inputs.ImageHtmlCssPdfOptions
    Rendering option.
    ProxyId string
    Specifies which configured organization proxy to use when rendering.
    PublicUrl string
    Public GET rendering URL, or null when HCTI storage is disabled.
    RenderMethod string
    HTTP method required to render: GET or PUT.
    RenderRequiresAuth bool
    Whether rendering requires API authentication.
    RenderWhenReady bool
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    RequestOverrides List<Pulumi.HtmlCssToImage.Inputs.ImageHtmlCssRequestOverride>
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    SavedToStorageDestinationAt string
    Last base-image save to custom storage, when available.
    Selector string
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    StorageDestinationHctiStorageDisabled bool
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    StorageDestinationId string
    Specifies which configured organization storage destination receives the rendered image.
    Timezone string
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    TransparentBackground bool
    Specifies whether the image is rendered with a transparent background.
    ViewportHeight int
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    ViewportLandscape bool
    Specifies whether the emulated viewport is in landscape orientation.
    ViewportMobile bool
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    ViewportTouch bool
    Specifies whether the emulated viewport supports touch events.
    ViewportWidth int
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    ColorScheme string
    Sets the preferred color scheme: light or dark.
    CreatedAt string
    Creation timestamp.
    Css string
    CSS used to style the rendered HTML.
    DeviceScale float64
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    DisableTwemoji bool
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    Format string
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    GoogleFonts []string
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    Html string
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    ImageUrl string
    Rendering operation URL. Creation does not render bytes.
    JumboMaxHeight int
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    JumboMaxWidth int
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    LastRenderStoredAt string
    Last HCTI stored-render timestamp, when available.
    MaxRenderOnce bool
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    MaxWaitMs int
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    MediaType string
    CSS media type to emulate: screen or print.
    Metadata map[string]string
    Custom key-value metadata stored with the image.
    MsDelay int
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    OgConfigContentVersion string
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    OgConfigId string
    Associated OG configuration ID, if any.
    PdfOptions ImageHtmlCssPdfOptionsArgs
    Rendering option.
    ProxyId string
    Specifies which configured organization proxy to use when rendering.
    PublicUrl string
    Public GET rendering URL, or null when HCTI storage is disabled.
    RenderMethod string
    HTTP method required to render: GET or PUT.
    RenderRequiresAuth bool
    Whether rendering requires API authentication.
    RenderWhenReady bool
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    RequestOverrides []ImageHtmlCssRequestOverrideArgs
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    SavedToStorageDestinationAt string
    Last base-image save to custom storage, when available.
    Selector string
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    StorageDestinationHctiStorageDisabled bool
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    StorageDestinationId string
    Specifies which configured organization storage destination receives the rendered image.
    Timezone string
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    TransparentBackground bool
    Specifies whether the image is rendered with a transparent background.
    ViewportHeight int
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    ViewportLandscape bool
    Specifies whether the emulated viewport is in landscape orientation.
    ViewportMobile bool
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    ViewportTouch bool
    Specifies whether the emulated viewport supports touch events.
    ViewportWidth int
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    color_scheme string
    Sets the preferred color scheme: light or dark.
    created_at string
    Creation timestamp.
    css string
    CSS used to style the rendered HTML.
    device_scale number
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    disable_twemoji bool
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    format string
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    google_fonts list(string)
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    html string
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    image_url string
    Rendering operation URL. Creation does not render bytes.
    jumbo_max_height number
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    jumbo_max_width number
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    last_render_stored_at string
    Last HCTI stored-render timestamp, when available.
    max_render_once bool
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    max_wait_ms number
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    media_type string
    CSS media type to emulate: screen or print.
    metadata map(string)
    Custom key-value metadata stored with the image.
    ms_delay number
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    og_config_content_version string
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    og_config_id string
    Associated OG configuration ID, if any.
    pdf_options object
    Rendering option.
    proxy_id string
    Specifies which configured organization proxy to use when rendering.
    public_url string
    Public GET rendering URL, or null when HCTI storage is disabled.
    render_method string
    HTTP method required to render: GET or PUT.
    render_requires_auth bool
    Whether rendering requires API authentication.
    render_when_ready bool
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    request_overrides list(object)
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    saved_to_storage_destination_at string
    Last base-image save to custom storage, when available.
    selector string
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    storage_destination_hcti_storage_disabled bool
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    storage_destination_id string
    Specifies which configured organization storage destination receives the rendered image.
    timezone string
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    transparent_background bool
    Specifies whether the image is rendered with a transparent background.
    viewport_height number
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    viewport_landscape bool
    Specifies whether the emulated viewport is in landscape orientation.
    viewport_mobile bool
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    viewport_touch bool
    Specifies whether the emulated viewport supports touch events.
    viewport_width number
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    colorScheme String
    Sets the preferred color scheme: light or dark.
    createdAt String
    Creation timestamp.
    css String
    CSS used to style the rendered HTML.
    deviceScale Double
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    disableTwemoji Boolean
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    format String
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    googleFonts List<String>
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    html String
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    imageUrl String
    Rendering operation URL. Creation does not render bytes.
    jumboMaxHeight Integer
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    jumboMaxWidth Integer
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    lastRenderStoredAt String
    Last HCTI stored-render timestamp, when available.
    maxRenderOnce Boolean
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    maxWaitMs Integer
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    mediaType String
    CSS media type to emulate: screen or print.
    metadata Map<String,String>
    Custom key-value metadata stored with the image.
    msDelay Integer
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    ogConfigContentVersion String
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    ogConfigId String
    Associated OG configuration ID, if any.
    pdfOptions ImageHtmlCssPdfOptions
    Rendering option.
    proxyId String
    Specifies which configured organization proxy to use when rendering.
    publicUrl String
    Public GET rendering URL, or null when HCTI storage is disabled.
    renderMethod String
    HTTP method required to render: GET or PUT.
    renderRequiresAuth Boolean
    Whether rendering requires API authentication.
    renderWhenReady Boolean
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    requestOverrides List<ImageHtmlCssRequestOverride>
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    savedToStorageDestinationAt String
    Last base-image save to custom storage, when available.
    selector String
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    storageDestinationHctiStorageDisabled Boolean
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    storageDestinationId String
    Specifies which configured organization storage destination receives the rendered image.
    timezone String
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    transparentBackground Boolean
    Specifies whether the image is rendered with a transparent background.
    viewportHeight Integer
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    viewportLandscape Boolean
    Specifies whether the emulated viewport is in landscape orientation.
    viewportMobile Boolean
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    viewportTouch Boolean
    Specifies whether the emulated viewport supports touch events.
    viewportWidth Integer
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    colorScheme string
    Sets the preferred color scheme: light or dark.
    createdAt string
    Creation timestamp.
    css string
    CSS used to style the rendered HTML.
    deviceScale number
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    disableTwemoji boolean
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    format string
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    googleFonts string[]
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    html string
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    imageUrl string
    Rendering operation URL. Creation does not render bytes.
    jumboMaxHeight number
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    jumboMaxWidth number
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    lastRenderStoredAt string
    Last HCTI stored-render timestamp, when available.
    maxRenderOnce boolean
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    maxWaitMs number
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    mediaType string
    CSS media type to emulate: screen or print.
    metadata {[key: string]: string}
    Custom key-value metadata stored with the image.
    msDelay number
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    ogConfigContentVersion string
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    ogConfigId string
    Associated OG configuration ID, if any.
    pdfOptions ImageHtmlCssPdfOptions
    Rendering option.
    proxyId string
    Specifies which configured organization proxy to use when rendering.
    publicUrl string
    Public GET rendering URL, or null when HCTI storage is disabled.
    renderMethod string
    HTTP method required to render: GET or PUT.
    renderRequiresAuth boolean
    Whether rendering requires API authentication.
    renderWhenReady boolean
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    requestOverrides ImageHtmlCssRequestOverride[]
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    savedToStorageDestinationAt string
    Last base-image save to custom storage, when available.
    selector string
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    storageDestinationHctiStorageDisabled boolean
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    storageDestinationId string
    Specifies which configured organization storage destination receives the rendered image.
    timezone string
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    transparentBackground boolean
    Specifies whether the image is rendered with a transparent background.
    viewportHeight number
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    viewportLandscape boolean
    Specifies whether the emulated viewport is in landscape orientation.
    viewportMobile boolean
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    viewportTouch boolean
    Specifies whether the emulated viewport supports touch events.
    viewportWidth number
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    color_scheme str
    Sets the preferred color scheme: light or dark.
    created_at str
    Creation timestamp.
    css str
    CSS used to style the rendered HTML.
    device_scale float
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    disable_twemoji bool
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    format str
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    google_fonts Sequence[str]
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    html str
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    image_url str
    Rendering operation URL. Creation does not render bytes.
    jumbo_max_height int
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    jumbo_max_width int
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    last_render_stored_at str
    Last HCTI stored-render timestamp, when available.
    max_render_once bool
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    max_wait_ms int
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    media_type str
    CSS media type to emulate: screen or print.
    metadata Mapping[str, str]
    Custom key-value metadata stored with the image.
    ms_delay int
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    og_config_content_version str
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    og_config_id str
    Associated OG configuration ID, if any.
    pdf_options ImageHtmlCssPdfOptionsArgs
    Rendering option.
    proxy_id str
    Specifies which configured organization proxy to use when rendering.
    public_url str
    Public GET rendering URL, or null when HCTI storage is disabled.
    render_method str
    HTTP method required to render: GET or PUT.
    render_requires_auth bool
    Whether rendering requires API authentication.
    render_when_ready bool
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    request_overrides Sequence[ImageHtmlCssRequestOverrideArgs]
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    saved_to_storage_destination_at str
    Last base-image save to custom storage, when available.
    selector str
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    storage_destination_hcti_storage_disabled bool
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    storage_destination_id str
    Specifies which configured organization storage destination receives the rendered image.
    timezone str
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    transparent_background bool
    Specifies whether the image is rendered with a transparent background.
    viewport_height int
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    viewport_landscape bool
    Specifies whether the emulated viewport is in landscape orientation.
    viewport_mobile bool
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    viewport_touch bool
    Specifies whether the emulated viewport supports touch events.
    viewport_width int
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    colorScheme String
    Sets the preferred color scheme: light or dark.
    createdAt String
    Creation timestamp.
    css String
    CSS used to style the rendered HTML.
    deviceScale Number
    Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
    disableTwemoji Boolean
    HTML/CSS images use Twemoji by default; set true to use supplied or native emoji fonts instead.
    format String
    Rendering URL format: png, jpg, jpeg, webp, or pdf. Does not restrict later renders to this format.
    googleFonts List<String>
    Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
    html String
    HTML to render and take a screenshot of. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied. Required for HTML image requests.
    imageUrl String
    Rendering operation URL. Creation does not render bytes.
    jumboMaxHeight Number
    Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    jumboMaxWidth Number
    Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
    lastRenderStoredAt String
    Last HCTI stored-render timestamp, when available.
    maxRenderOnce Boolean
    Ensure the image is only ever rendered and saved one time. This is an advanced option not applicable to most requests.
    maxWaitMs Number
    Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
    mediaType String
    CSS media type to emulate: screen or print.
    metadata Map<String>
    Custom key-value metadata stored with the image.
    msDelay Number
    Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
    ogConfigContentVersion String
    Associated OG content version, if any. Represented as a decimal string in Pulumi to preserve int64 precision.
    ogConfigId String
    Associated OG configuration ID, if any.
    pdfOptions Property Map
    Rendering option.
    proxyId String
    Specifies which configured organization proxy to use when rendering.
    publicUrl String
    Public GET rendering URL, or null when HCTI storage is disabled.
    renderMethod String
    HTTP method required to render: GET or PUT.
    renderRequiresAuth Boolean
    Whether rendering requires API authentication.
    renderWhenReady Boolean
    Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
    requestOverrides List<Property Map>
    Browser network request block rules. Requires a paid plan; at most 100 rules. A rule matches its URL wildcard and/or resource types, and both must match when supplied together.
    savedToStorageDestinationAt String
    Last base-image save to custom storage, when available.
    selector String
    A CSS selector for an element in the HTML. We’ll crop the image to this specific element.
    storageDestinationHctiStorageDisabled Boolean
    Whether rendered output is saved only to custom storage, recorded when the image was created.
    storageDestinationId String
    Specifies which configured organization storage destination receives the rendered image.
    timezone String
    Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
    transparentBackground Boolean
    Specifies whether the image is rendered with a transparent background.
    viewportHeight Number
    Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
    viewportLandscape Boolean
    Specifies whether the emulated viewport is in landscape orientation.
    viewportMobile Boolean
    Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
    viewportTouch Boolean
    Specifies whether the emulated viewport supports touch events.
    viewportWidth Number
    Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.

    Supporting Types

    ImageHtmlCssPdfOptions, ImageHtmlCssPdfOptionsArgs

    Margins Pulumi.HtmlCssToImage.Inputs.ImageHtmlCssPdfOptionsMargins
    PDF margins. Supply all four sides with units.
    PageHeight string
    Page height with px, in, cm, mm, or pt units.
    PageWidth string
    Page width with px, in, cm, mm, or pt units.
    PrintBackground bool
    Print page backgrounds. Omission lets the API choose.
    Scale double
    PDF scale from 0.1 to 2.
    Margins ImageHtmlCssPdfOptionsMargins
    PDF margins. Supply all four sides with units.
    PageHeight string
    Page height with px, in, cm, mm, or pt units.
    PageWidth string
    Page width with px, in, cm, mm, or pt units.
    PrintBackground bool
    Print page backgrounds. Omission lets the API choose.
    Scale float64
    PDF scale from 0.1 to 2.
    margins object
    PDF margins. Supply all four sides with units.
    page_height string
    Page height with px, in, cm, mm, or pt units.
    page_width string
    Page width with px, in, cm, mm, or pt units.
    print_background bool
    Print page backgrounds. Omission lets the API choose.
    scale number
    PDF scale from 0.1 to 2.
    margins ImageHtmlCssPdfOptionsMargins
    PDF margins. Supply all four sides with units.
    pageHeight String
    Page height with px, in, cm, mm, or pt units.
    pageWidth String
    Page width with px, in, cm, mm, or pt units.
    printBackground Boolean
    Print page backgrounds. Omission lets the API choose.
    scale Double
    PDF scale from 0.1 to 2.
    margins ImageHtmlCssPdfOptionsMargins
    PDF margins. Supply all four sides with units.
    pageHeight string
    Page height with px, in, cm, mm, or pt units.
    pageWidth string
    Page width with px, in, cm, mm, or pt units.
    printBackground boolean
    Print page backgrounds. Omission lets the API choose.
    scale number
    PDF scale from 0.1 to 2.
    margins ImageHtmlCssPdfOptionsMargins
    PDF margins. Supply all four sides with units.
    page_height str
    Page height with px, in, cm, mm, or pt units.
    page_width str
    Page width with px, in, cm, mm, or pt units.
    print_background bool
    Print page backgrounds. Omission lets the API choose.
    scale float
    PDF scale from 0.1 to 2.
    margins Property Map
    PDF margins. Supply all four sides with units.
    pageHeight String
    Page height with px, in, cm, mm, or pt units.
    pageWidth String
    Page width with px, in, cm, mm, or pt units.
    printBackground Boolean
    Print page backgrounds. Omission lets the API choose.
    scale Number
    PDF scale from 0.1 to 2.

    ImageHtmlCssPdfOptionsMargins, ImageHtmlCssPdfOptionsMarginsArgs

    Bottom string
    Margin with px, in, cm, mm, or pt units.
    Left string
    Margin with px, in, cm, mm, or pt units.
    Right string
    Margin with px, in, cm, mm, or pt units.
    Top string
    Margin with px, in, cm, mm, or pt units.
    Bottom string
    Margin with px, in, cm, mm, or pt units.
    Left string
    Margin with px, in, cm, mm, or pt units.
    Right string
    Margin with px, in, cm, mm, or pt units.
    Top string
    Margin with px, in, cm, mm, or pt units.
    bottom string
    Margin with px, in, cm, mm, or pt units.
    left string
    Margin with px, in, cm, mm, or pt units.
    right string
    Margin with px, in, cm, mm, or pt units.
    top string
    Margin with px, in, cm, mm, or pt units.
    bottom String
    Margin with px, in, cm, mm, or pt units.
    left String
    Margin with px, in, cm, mm, or pt units.
    right String
    Margin with px, in, cm, mm, or pt units.
    top String
    Margin with px, in, cm, mm, or pt units.
    bottom string
    Margin with px, in, cm, mm, or pt units.
    left string
    Margin with px, in, cm, mm, or pt units.
    right string
    Margin with px, in, cm, mm, or pt units.
    top string
    Margin with px, in, cm, mm, or pt units.
    bottom str
    Margin with px, in, cm, mm, or pt units.
    left str
    Margin with px, in, cm, mm, or pt units.
    right str
    Margin with px, in, cm, mm, or pt units.
    top str
    Margin with px, in, cm, mm, or pt units.
    bottom String
    Margin with px, in, cm, mm, or pt units.
    left String
    Margin with px, in, cm, mm, or pt units.
    right String
    Margin with px, in, cm, mm, or pt units.
    top String
    Margin with px, in, cm, mm, or pt units.

    ImageHtmlCssRequestOverride, ImageHtmlCssRequestOverrideArgs

    Action string
    Currently only block is supported.
    ResourceTypes List<Pulumi.HtmlCssToImage.RequestOverrideResourceType>
    Browser resource types, such as image, script, xhr, and fetch. Each value must be a supported resource type.
    Url string
    Case-sensitive URL wildcard pattern using *; at most 512 characters.
    Action string
    Currently only block is supported.
    ResourceTypes []RequestOverrideResourceType
    Browser resource types, such as image, script, xhr, and fetch. Each value must be a supported resource type.
    Url string
    Case-sensitive URL wildcard pattern using *; at most 512 characters.
    action string
    Currently only block is supported.
    resource_types list("beacon" | "document" | "stylesheet" | "image" | "image_set" | "media" | "font" | "script" | "text_track" | "xhr" | "fetch" | "event_source" | "manifest" | "ping" | "img" | "other")
    Browser resource types, such as image, script, xhr, and fetch. Each value must be a supported resource type.
    url string
    Case-sensitive URL wildcard pattern using *; at most 512 characters.
    action String
    Currently only block is supported.
    resourceTypes List<RequestOverrideResourceType>
    Browser resource types, such as image, script, xhr, and fetch. Each value must be a supported resource type.
    url String
    Case-sensitive URL wildcard pattern using *; at most 512 characters.
    action string
    Currently only block is supported.
    resourceTypes RequestOverrideResourceType[]
    Browser resource types, such as image, script, xhr, and fetch. Each value must be a supported resource type.
    url string
    Case-sensitive URL wildcard pattern using *; at most 512 characters.
    action str
    Currently only block is supported.
    resource_types Sequence[RequestOverrideResourceType]
    Browser resource types, such as image, script, xhr, and fetch. Each value must be a supported resource type.
    url str
    Case-sensitive URL wildcard pattern using *; at most 512 characters.
    action String
    Currently only block is supported.
    resourceTypes List<"beacon" | "document" | "stylesheet" | "image" | "image_set" | "media" | "font" | "script" | "text_track" | "xhr" | "fetch" | "event_source" | "manifest" | "ping" | "img" | "other">
    Browser resource types, such as image, script, xhr, and fetch. Each value must be a supported resource type.
    url String
    Case-sensitive URL wildcard pattern using *; at most 512 characters.

    RequestOverrideResourceType, RequestOverrideResourceTypeArgs

    Beacon
    beacon
    Document
    document
    Stylesheet
    stylesheet
    Image
    image
    ImageSet
    image_set
    Media
    media
    Font
    font
    Script
    script
    TextTrack
    text_track
    Xhr
    xhr
    Fetch
    fetch
    EventSource
    event_source
    Manifest
    manifest
    Ping
    ping
    Img
    img
    Other
    other
    RequestOverrideResourceTypeBeacon
    beacon
    RequestOverrideResourceTypeDocument
    document
    RequestOverrideResourceTypeStylesheet
    stylesheet
    RequestOverrideResourceTypeImage
    image
    RequestOverrideResourceTypeImageSet
    image_set
    RequestOverrideResourceTypeMedia
    media
    RequestOverrideResourceTypeFont
    font
    RequestOverrideResourceTypeScript
    script
    RequestOverrideResourceTypeTextTrack
    text_track
    RequestOverrideResourceTypeXhr
    xhr
    RequestOverrideResourceTypeFetch
    fetch
    RequestOverrideResourceTypeEventSource
    event_source
    RequestOverrideResourceTypeManifest
    manifest
    RequestOverrideResourceTypePing
    ping
    RequestOverrideResourceTypeImg
    img
    RequestOverrideResourceTypeOther
    other
    "beacon"
    beacon
    "document"
    document
    "stylesheet"
    stylesheet
    "image"
    image
    "image_set"
    image_set
    "media"
    media
    "font"
    font
    "script"
    script
    "text_track"
    text_track
    "xhr"
    xhr
    "fetch"
    fetch
    "event_source"
    event_source
    "manifest"
    manifest
    "ping"
    ping
    "img"
    img
    "other"
    other
    Beacon
    beacon
    Document
    document
    Stylesheet
    stylesheet
    Image
    image
    ImageSet
    image_set
    Media
    media
    Font
    font
    Script
    script
    TextTrack
    text_track
    Xhr
    xhr
    Fetch
    fetch
    EventSource
    event_source
    Manifest
    manifest
    Ping
    ping
    Img
    img
    Other
    other
    Beacon
    beacon
    Document
    document
    Stylesheet
    stylesheet
    Image
    image
    ImageSet
    image_set
    Media
    media
    Font
    font
    Script
    script
    TextTrack
    text_track
    Xhr
    xhr
    Fetch
    fetch
    EventSource
    event_source
    Manifest
    manifest
    Ping
    ping
    Img
    img
    Other
    other
    BEACON
    beacon
    DOCUMENT
    document
    STYLESHEET
    stylesheet
    IMAGE
    image
    IMAGE_SET
    image_set
    MEDIA
    media
    FONT
    font
    SCRIPT
    script
    TEXT_TRACK
    text_track
    XHR
    xhr
    FETCH
    fetch
    EVENT_SOURCE
    event_source
    MANIFEST
    manifest
    PING
    ping
    IMG
    img
    OTHER
    other
    "beacon"
    beacon
    "document"
    document
    "stylesheet"
    stylesheet
    "image"
    image
    "image_set"
    image_set
    "media"
    media
    "font"
    font
    "script"
    script
    "text_track"
    text_track
    "xhr"
    xhr
    "fetch"
    fetch
    "event_source"
    event_source
    "manifest"
    manifest
    "ping"
    ping
    "img"
    img
    "other"
    other

    Package Details

    Repository
    html-css-to-image htmlcsstoimage/pulumi-html-css-to-image
    License
    MIT
    Notes
    This Pulumi package is based on the html-css-to-image Terraform Provider.
    html-css-to-image logo HTML/CSS to Image
    Viewing docs for HTML/CSS to Image v0.2.0
    published on Tuesday, Sep 29, 2026 by htmlcsstoimage

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial