EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyAddSignaturesArgs

data class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyAddSignaturesArgs(val actions: Output<String>, val copiedParameters: Output<List<String>>? = null, val keyset: Output<String>? = null, val tokenQueryParameter: Output<String>? = null, val tokenTtl: Output<String>? = null) : ConvertibleToJava<EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyAddSignaturesArgs>

Constructors

constructor(actions: Output<String>, copiedParameters: Output<List<String>>? = null, keyset: Output<String>? = null, tokenQueryParameter: Output<String>? = null, tokenTtl: Output<String>? = null)

Properties

Link copied to clipboard
val actions: Output<String>

The actions to take to add signatures to responses. Each value may be one of: GENERATE_COOKIE, GENERATE_TOKEN_HLS_COOKIELESS, PROPAGATE_TOKEN_HLS_COOKIELESS.

Link copied to clipboard
val copiedParameters: Output<List<String>>? = null

The parameters to copy from the verified token to the generated token. Only the following parameters may be copied:

Link copied to clipboard
val keyset: Output<String>? = null

The keyset to use for signature generation. The following are both valid paths to an EdgeCacheKeyset resource:

Link copied to clipboard
val tokenQueryParameter: Output<String>? = null

The query parameter in which to put the generated token. If not specified, defaults to edge-cache-token. If specified, the name must be 1-64 characters long and match the regular expression a-zA-Z* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit. This field may only be set when the GENERATE_TOKEN_HLS_COOKIELESS or PROPAGATE_TOKEN_HLS_COOKIELESS actions are specified.

Link copied to clipboard
val tokenTtl: Output<String>? = null

The duration the token is valid starting from the moment the token is first generated. Defaults to 86400s (1 day). The TTL must be >= 0 and <= 604,800 seconds (1 week). This field may only be specified when the GENERATE_COOKIE or GENERATE_TOKEN_HLS_COOKIELESS actions are specified. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

Functions

Link copied to clipboard
open override fun toJava(): EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyAddSignaturesArgs