Class CfnCachePolicy.QueryStringsConfigProperty
An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and in requests that CloudFront sends to the origin.
Inheritance
System.Object
CfnCachePolicy.QueryStringsConfigProperty
Implements
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class QueryStringsConfigProperty : Object, CfnCachePolicy.IQueryStringsConfigProperty
Syntax (vb)
Public Class QueryStringsConfigProperty
Inherits Object
Implements CfnCachePolicy.IQueryStringsConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var queryStringsConfigProperty = new QueryStringsConfigProperty {
QueryStringBehavior = "queryStringBehavior",
// the properties below are optional
QueryStrings = new [] { "queryStrings" }
};
Synopsis
Constructors
QueryStringsConfigProperty() |
Properties
QueryStringBehavior | Determines whether any URL query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. |
QueryStrings | Contains a list of query string names. |
Constructors
QueryStringsConfigProperty()
public QueryStringsConfigProperty()
Properties
QueryStringBehavior
Determines whether any URL query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin.
public string QueryStringBehavior { get; set; }
Property Value
System.String
Remarks
QueryStrings
Contains a list of query string names.
public string[] QueryStrings { get; set; }
Property Value
System.String[]