-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDistribution_QueryStringObjectProperty.go
36 lines (33 loc) · 2.03 KB
/
CfnDistribution_QueryStringObjectProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package awslightsail
// `QueryStringObject` is a property of the [CacheSettings](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-cachesettings.html) 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 "github.com/aws/aws-cdk-go/awscdk"
//
// queryStringObjectProperty := &QueryStringObjectProperty{
// Option: jsii.Boolean(false),
// QueryStringsAllowList: []*string{
// jsii.String("queryStringsAllowList"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-querystringobject.html
//
type CfnDistribution_QueryStringObjectProperty struct {
// Indicates whether the distribution forwards and caches based on query strings.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-querystringobject.html#cfn-lightsail-distribution-querystringobject-option
//
Option interface{} `field:"optional" json:"option" yaml:"option"`
// 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 the `QueryStringsAllowList` parameter.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-querystringobject.html#cfn-lightsail-distribution-querystringobject-querystringsallowlist
//
QueryStringsAllowList *[]*string `field:"optional" json:"queryStringsAllowList" yaml:"queryStringsAllowList"`
}