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
System.Object
CfnDistribution.QueryStringObjectProperty
Implements
CfnDistribution.IQueryStringObjectProperty
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.AWS.Lightsail.dll
Syntax (csharp)
public class QueryStringObjectProperty : Object, CfnDistribution.IQueryStringObjectProperty
Syntax (vb)
Public Class QueryStringObjectProperty
    Inherits Object
    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.

Link: 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()

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()

public QueryStringObjectProperty()

Properties

Option

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

public object Option { get; set; }
Property Value

System.Object

Remarks

Link: 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

System.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.

Link: 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