GradientEdge CDK Utils
    Preparing search index...

    Properties for creating a Cloudflare Workers KV entry

    interface WorkersKvProps {
        accountId: Input<string>;
        expiration?: Input<number | undefined>;
        expirationTtl?: Input<number | undefined>;
        keyName: Input<string>;
        metadata?: Input<string | undefined>;
        namespaceId: Input<string>;
        value: Input<string>;
    }

    Hierarchy

    • WorkersKvArgs
      • WorkersKvProps
    Index
    accountId: Input<string>

    ID of the Cloudflare account that owns the Workers KV namespaces.

    expiration?: Input<number | undefined>

    Expires the key at a certain time, measured in number of seconds since the UNIX epoch.

    expirationTtl?: Input<number | undefined>

    Number of seconds until the key expires. Must be at least 60. Takes precedence over expiration when both are specified.

    keyName: Input<string>

    A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL.

    metadata?: Input<string | undefined>

    Associates arbitrary JSON data with a key/value pair.

    namespaceId: Input<string>

    ID of the Workers KV namespace.

    value: Input<string>

    A byte sequence to be stored, up to 25 MiB in length.