Show / Hide Table of Contents

Class CfnDistribution.QueryStringObjectProperty

QueryStringObject is a property of the CacheSettings property. It describes the query string parameters that an Amazon Lightsail content delivery network (CDN) distribution to bases caching on.

Inheritance
object
CfnDistribution.QueryStringObjectProperty
Implements
CfnDistribution.IQueryStringObjectProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDistribution.QueryStringObjectProperty : CfnDistribution.IQueryStringObjectProperty
Syntax (vb)
Public Class CfnDistribution.QueryStringObjectProperty Implements CfnDistribution.IQueryStringObjectProperty
Remarks

For the query strings that you specify, your distribution caches separate versions of the specified content based on the query string values in viewer requests.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-querystringobject.html

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.Lightsail;

             var queryStringObjectProperty = new QueryStringObjectProperty {
                 Option = false,
                 QueryStringsAllowList = new [] { "queryStringsAllowList" }
             };

Synopsis

Constructors

QueryStringObjectProperty()

QueryStringObject is a property of the CacheSettings property. It describes the query string parameters that an Amazon Lightsail content delivery network (CDN) distribution to bases caching on.

Properties

Option

Indicates whether the distribution forwards and caches based on query strings.

QueryStringsAllowList

The specific query strings that the distribution forwards to the origin.

Constructors

QueryStringObjectProperty()

QueryStringObject is a property of the CacheSettings property. It describes the query string parameters that an Amazon Lightsail content delivery network (CDN) distribution to bases caching on.

public QueryStringObjectProperty()
Remarks

For the query strings that you specify, your distribution caches separate versions of the specified content based on the query string values in viewer requests.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-querystringobject.html

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.Lightsail;

             var queryStringObjectProperty = new QueryStringObjectProperty {
                 Option = false,
                 QueryStringsAllowList = new [] { "queryStringsAllowList" }
             };

Properties

Option

Indicates whether the distribution forwards and caches based on query strings.

public object? Option { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-querystringobject.html#cfn-lightsail-distribution-querystringobject-option

QueryStringsAllowList

The specific query strings that the distribution forwards to the origin.

public string[]? QueryStringsAllowList { get; set; }
Property Value

string[]

Remarks

Your distribution caches content based on the specified query strings.

If the option parameter is true, then your distribution forwards all query strings, regardless of what you specify using the QueryStringsAllowList parameter.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-querystringobject.html#cfn-lightsail-distribution-querystringobject-querystringsallowlist

Implements

CfnDistribution.IQueryStringObjectProperty
Back to top Generated by DocFX