Watermarks
resource cloudflare_stream_watermark
optional
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.
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.
cloudflare_stream_watermark
resource "cloudflare_stream_watermark" "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
}
data cloudflare_stream_watermark
required
computed
The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.
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.
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.
The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.
cloudflare_stream_watermark
data "cloudflare_stream_watermark" "example_stream_watermark" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
identifier = "ea95132c15732412d22c1476fa83f27a"
}
data cloudflare_stream_watermarks
cloudflare_stream_watermarks
data "cloudflare_stream_watermarks" "example_stream_watermarks" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}