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.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCachePolicy.QueryStringsConfigProperty : CfnCachePolicy.IQueryStringsConfigProperty
Syntax (vb)
Public Class CfnCachePolicy.QueryStringsConfigProperty 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() | 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. |
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()
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.
public QueryStringsConfigProperty()
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" }
};
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
Remarks
QueryStrings
Contains a list of query string names.
public string[]? QueryStrings { get; set; }
Property Value
string[]