@Stability(value=Stable)
public static interface CfnDistribution.QueryStringObjectProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDistribution.QueryStringObjectProperty.Builder
A builder for
CfnDistribution.QueryStringObjectProperty |
static class |
CfnDistribution.QueryStringObjectProperty.Jsii$Proxy
An implementation for
CfnDistribution.QueryStringObjectProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDistribution.QueryStringObjectProperty.Builder |
builder() |
default Object |
getOption()
Indicates whether the distribution forwards and caches based on query strings.
|
default List<String> |
getQueryStringsAllowList()
The specific query strings that the distribution forwards to the origin.
|
@Stability(value=Stable) @Nullable default Object getOption()
@Stability(value=Stable) @Nullable default List<String> getQueryStringsAllowList()
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.
@Stability(value=Stable) static CfnDistribution.QueryStringObjectProperty.Builder builder()
Copyright © 2022. All rights reserved.