Interface CfnDistribution.QueryStringObjectProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDistribution.QueryStringObjectProperty.Jsii$Proxy
- Enclosing class:
CfnDistribution
@Stability(Stable)
public static interface CfnDistribution.QueryStringObjectProperty
extends software.amazon.jsii.JsiiSerializable
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.
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lightsail.*; QueryStringObjectProperty queryStringObjectProperty = QueryStringObjectProperty.builder() .option(false) .queryStringsAllowList(List.of("queryStringsAllowList")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDistribution.QueryStringObjectProperty
static final class
An implementation forCfnDistribution.QueryStringObjectProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOption
Indicates whether the distribution forwards and caches based on query strings.- See Also:
-
getQueryStringsAllowList
The specific query strings that the distribution forwards to the origin.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 theQueryStringsAllowList
parameter.- See Also:
-
builder
-