public static BuildPolicyForSignedUrl ( string resourcePath, System.DateTime expiresOn, string limitToIpAddressCIDR ) : string | ||
resourcePath | string |
/// An optional HTTP/S or RTMP resource path that restricts which
/// distribution and resource path will be accessible in a signed
/// URL. For standard distributions the resource URL will be
/// "http://" + distributionName + "/" + path (may
/// also include URL parameters. For distributions with the HTTPS
/// required protocol, the resource URL must start with
/// "https://". RTMP resources do not take the form of a
/// URL, and instead the resource path is nothing but the stream's
/// name. The '*' and '?' characters can be used as a wildcards to
/// allow multi-character or single-character matches
/// respectively:
///
|
expiresOn | System.DateTime | The time and date when the signed URL will expire. |
limitToIpAddressCIDR | string | An optional range of client IP addresses that will be allowed /// to access the distribution, specified as a CIDR range. If /// null, the CIDR will be 0.0.0.0/0 and any client will /// be permitted. |
return | string |