1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. StreamWatermark
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.StreamWatermark

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleStreamWatermark = new cloudflare.StreamWatermark("example_stream_watermark", {
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        file: "@/Users/rchen/Downloads/watermark.png",
        name: "Marketing Videos",
        opacity: 0.75,
        padding: 0.1,
        position: "center",
        scale: 0.1,
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_stream_watermark = cloudflare.StreamWatermark("example_stream_watermark",
        account_id="023e105f4ecef8ad9ca31a8372d0c353",
        file="@/Users/rchen/Downloads/watermark.png",
        name="Marketing Videos",
        opacity=0.75,
        padding=0.1,
        position="center",
        scale=0.1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.NewStreamWatermark(ctx, "example_stream_watermark", &cloudflare.StreamWatermarkArgs{
    			AccountId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
    			File:      pulumi.String("@/Users/rchen/Downloads/watermark.png"),
    			Name:      pulumi.String("Marketing Videos"),
    			Opacity:   pulumi.Float64(0.75),
    			Padding:   pulumi.Float64(0.1),
    			Position:  pulumi.String("center"),
    			Scale:     pulumi.Float64(0.1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleStreamWatermark = new Cloudflare.StreamWatermark("example_stream_watermark", new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            File = "@/Users/rchen/Downloads/watermark.png",
            Name = "Marketing Videos",
            Opacity = 0.75,
            Padding = 0.1,
            Position = "center",
            Scale = 0.1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.StreamWatermark;
    import com.pulumi.cloudflare.StreamWatermarkArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleStreamWatermark = new StreamWatermark("exampleStreamWatermark", StreamWatermarkArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .file("@/Users/rchen/Downloads/watermark.png")
                .name("Marketing Videos")
                .opacity(0.75)
                .padding(0.1)
                .position("center")
                .scale(0.1)
                .build());
    
        }
    }
    
    resources:
      exampleStreamWatermark:
        type: cloudflare:StreamWatermark
        name: example_stream_watermark
        properties:
          accountId: 023e105f4ecef8ad9ca31a8372d0c353
          file: '@/Users/rchen/Downloads/watermark.png'
          name: Marketing Videos
          opacity: 0.75
          padding: 0.1
          position: center
          scale: 0.1
    

    Create StreamWatermark Resource

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

    Constructor syntax

    new StreamWatermark(name: string, args: StreamWatermarkArgs, opts?: CustomResourceOptions);
    @overload
    def StreamWatermark(resource_name: str,
                        args: StreamWatermarkInitArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def StreamWatermark(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        account_id: Optional[str] = None,
                        file: Optional[str] = None,
                        identifier: Optional[str] = None,
                        name: Optional[str] = None,
                        opacity: Optional[float] = None,
                        padding: Optional[float] = None,
                        position: Optional[str] = None,
                        scale: Optional[float] = None)
    func NewStreamWatermark(ctx *Context, name string, args StreamWatermarkArgs, opts ...ResourceOption) (*StreamWatermark, error)
    public StreamWatermark(string name, StreamWatermarkArgs args, CustomResourceOptions? opts = null)
    public StreamWatermark(String name, StreamWatermarkArgs args)
    public StreamWatermark(String name, StreamWatermarkArgs args, CustomResourceOptions options)
    
    type: cloudflare:StreamWatermark
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args StreamWatermarkArgs
    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 StreamWatermarkInitArgs
    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 StreamWatermarkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StreamWatermarkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StreamWatermarkArgs
    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 streamWatermarkResource = new Cloudflare.StreamWatermark("streamWatermarkResource", new()
    {
        AccountId = "string",
        File = "string",
        Identifier = "string",
        Name = "string",
        Opacity = 0,
        Padding = 0,
        Position = "string",
        Scale = 0,
    });
    
    example, err := cloudflare.NewStreamWatermark(ctx, "streamWatermarkResource", &cloudflare.StreamWatermarkArgs{
    	AccountId:  pulumi.String("string"),
    	File:       pulumi.String("string"),
    	Identifier: pulumi.String("string"),
    	Name:       pulumi.String("string"),
    	Opacity:    pulumi.Float64(0),
    	Padding:    pulumi.Float64(0),
    	Position:   pulumi.String("string"),
    	Scale:      pulumi.Float64(0),
    })
    
    var streamWatermarkResource = new StreamWatermark("streamWatermarkResource", StreamWatermarkArgs.builder()
        .accountId("string")
        .file("string")
        .identifier("string")
        .name("string")
        .opacity(0)
        .padding(0)
        .position("string")
        .scale(0)
        .build());
    
    stream_watermark_resource = cloudflare.StreamWatermark("streamWatermarkResource",
        account_id="string",
        file="string",
        identifier="string",
        name="string",
        opacity=0,
        padding=0,
        position="string",
        scale=0)
    
    const streamWatermarkResource = new cloudflare.StreamWatermark("streamWatermarkResource", {
        accountId: "string",
        file: "string",
        identifier: "string",
        name: "string",
        opacity: 0,
        padding: 0,
        position: "string",
        scale: 0,
    });
    
    type: cloudflare:StreamWatermark
    properties:
        accountId: string
        file: string
        identifier: string
        name: string
        opacity: 0
        padding: 0
        position: string
        scale: 0
    

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

    AccountId string
    The account identifier tag.
    File string
    The image file to upload.
    Identifier string
    The unique identifier for a watermark profile.
    Name string
    A short description of the watermark profile.
    Opacity double
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    Padding double
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    Position string
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    Scale double
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.
    AccountId string
    The account identifier tag.
    File string
    The image file to upload.
    Identifier string
    The unique identifier for a watermark profile.
    Name string
    A short description of the watermark profile.
    Opacity float64
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    Padding float64
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    Position string
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    Scale float64
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.
    accountId String
    The account identifier tag.
    file String
    The image file to upload.
    identifier String
    The unique identifier for a watermark profile.
    name String
    A short description of the watermark profile.
    opacity Double
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    padding Double
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    position String
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    scale Double
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.
    accountId string
    The account identifier tag.
    file string
    The image file to upload.
    identifier string
    The unique identifier for a watermark profile.
    name string
    A short description of the watermark profile.
    opacity number
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    padding number
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    position string
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    scale number
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.
    account_id str
    The account identifier tag.
    file str
    The image file to upload.
    identifier str
    The unique identifier for a watermark profile.
    name str
    A short description of the watermark profile.
    opacity float
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    padding float
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    position str
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    scale float
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.
    accountId String
    The account identifier tag.
    file String
    The image file to upload.
    identifier String
    The unique identifier for a watermark profile.
    name String
    A short description of the watermark profile.
    opacity Number
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    padding Number
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    position String
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    scale Number
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.

    Outputs

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

    Created string
    The date and a time a watermark profile was created.
    DownloadedFrom string
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    Height int
    The height of the image in pixels.
    Id string
    The provider-assigned unique ID for this managed resource.
    Size double
    The size of the image in bytes.
    Uid string
    The unique identifier for a watermark profile.
    Width int
    The width of the image in pixels.
    Created string
    The date and a time a watermark profile was created.
    DownloadedFrom string
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    Height int
    The height of the image in pixels.
    Id string
    The provider-assigned unique ID for this managed resource.
    Size float64
    The size of the image in bytes.
    Uid string
    The unique identifier for a watermark profile.
    Width int
    The width of the image in pixels.
    created String
    The date and a time a watermark profile was created.
    downloadedFrom String
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    height Integer
    The height of the image in pixels.
    id String
    The provider-assigned unique ID for this managed resource.
    size Double
    The size of the image in bytes.
    uid String
    The unique identifier for a watermark profile.
    width Integer
    The width of the image in pixels.
    created string
    The date and a time a watermark profile was created.
    downloadedFrom string
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    height number
    The height of the image in pixels.
    id string
    The provider-assigned unique ID for this managed resource.
    size number
    The size of the image in bytes.
    uid string
    The unique identifier for a watermark profile.
    width number
    The width of the image in pixels.
    created str
    The date and a time a watermark profile was created.
    downloaded_from str
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    height int
    The height of the image in pixels.
    id str
    The provider-assigned unique ID for this managed resource.
    size float
    The size of the image in bytes.
    uid str
    The unique identifier for a watermark profile.
    width int
    The width of the image in pixels.
    created String
    The date and a time a watermark profile was created.
    downloadedFrom String
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    height Number
    The height of the image in pixels.
    id String
    The provider-assigned unique ID for this managed resource.
    size Number
    The size of the image in bytes.
    uid String
    The unique identifier for a watermark profile.
    width Number
    The width of the image in pixels.

    Look up Existing StreamWatermark Resource

    Get an existing StreamWatermark 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?: StreamWatermarkState, opts?: CustomResourceOptions): StreamWatermark
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            created: Optional[str] = None,
            downloaded_from: Optional[str] = None,
            file: Optional[str] = None,
            height: Optional[int] = None,
            identifier: Optional[str] = None,
            name: Optional[str] = None,
            opacity: Optional[float] = None,
            padding: Optional[float] = None,
            position: Optional[str] = None,
            scale: Optional[float] = None,
            size: Optional[float] = None,
            uid: Optional[str] = None,
            width: Optional[int] = None) -> StreamWatermark
    func GetStreamWatermark(ctx *Context, name string, id IDInput, state *StreamWatermarkState, opts ...ResourceOption) (*StreamWatermark, error)
    public static StreamWatermark Get(string name, Input<string> id, StreamWatermarkState? state, CustomResourceOptions? opts = null)
    public static StreamWatermark get(String name, Output<String> id, StreamWatermarkState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:StreamWatermark    get:      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:
    AccountId string
    The account identifier tag.
    Created string
    The date and a time a watermark profile was created.
    DownloadedFrom string
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    File string
    The image file to upload.
    Height int
    The height of the image in pixels.
    Identifier string
    The unique identifier for a watermark profile.
    Name string
    A short description of the watermark profile.
    Opacity double
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    Padding double
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    Position string
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    Scale double
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.
    Size double
    The size of the image in bytes.
    Uid string
    The unique identifier for a watermark profile.
    Width int
    The width of the image in pixels.
    AccountId string
    The account identifier tag.
    Created string
    The date and a time a watermark profile was created.
    DownloadedFrom string
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    File string
    The image file to upload.
    Height int
    The height of the image in pixels.
    Identifier string
    The unique identifier for a watermark profile.
    Name string
    A short description of the watermark profile.
    Opacity float64
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    Padding float64
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    Position string
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    Scale float64
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.
    Size float64
    The size of the image in bytes.
    Uid string
    The unique identifier for a watermark profile.
    Width int
    The width of the image in pixels.
    accountId String
    The account identifier tag.
    created String
    The date and a time a watermark profile was created.
    downloadedFrom String
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    file String
    The image file to upload.
    height Integer
    The height of the image in pixels.
    identifier String
    The unique identifier for a watermark profile.
    name String
    A short description of the watermark profile.
    opacity Double
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    padding Double
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    position String
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    scale Double
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.
    size Double
    The size of the image in bytes.
    uid String
    The unique identifier for a watermark profile.
    width Integer
    The width of the image in pixels.
    accountId string
    The account identifier tag.
    created string
    The date and a time a watermark profile was created.
    downloadedFrom string
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    file string
    The image file to upload.
    height number
    The height of the image in pixels.
    identifier string
    The unique identifier for a watermark profile.
    name string
    A short description of the watermark profile.
    opacity number
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    padding number
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    position string
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    scale number
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.
    size number
    The size of the image in bytes.
    uid string
    The unique identifier for a watermark profile.
    width number
    The width of the image in pixels.
    account_id str
    The account identifier tag.
    created str
    The date and a time a watermark profile was created.
    downloaded_from str
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    file str
    The image file to upload.
    height int
    The height of the image in pixels.
    identifier str
    The unique identifier for a watermark profile.
    name str
    A short description of the watermark profile.
    opacity float
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    padding float
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    position str
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    scale float
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.
    size float
    The size of the image in bytes.
    uid str
    The unique identifier for a watermark profile.
    width int
    The width of the image in pixels.
    accountId String
    The account identifier tag.
    created String
    The date and a time a watermark profile was created.
    downloadedFrom String
    The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
    file String
    The image file to upload.
    height Number
    The height of the image in pixels.
    identifier String
    The unique identifier for a watermark profile.
    name String
    A short description of the watermark profile.
    opacity Number
    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.
    padding Number
    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.
    position String
    The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
    scale Number
    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.
    size Number
    The size of the image in bytes.
    uid String
    The unique identifier for a watermark profile.
    width Number
    The width of the image in pixels.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi