When passing CreateDistributionRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
distribution_name: "ResourceName", origin: { name: "ResourceName",
region_name: "us-east-1", protocol_policy: "http-only", },
default_cache_behavior: { behavior: "dont-cache", },
cache_behavior_settings: {
default_ttl: 1,
minimum_ttl: 1,
maximum_ttl: 1,
allowed_http_methods: "NonEmptyString",
cached_http_methods: "NonEmptyString",
forwarded_cookies: {
option: "none", cookies_allow_list: ["string"],
},
forwarded_headers: {
option: "none", headers_allow_list: ["Accept"], },
forwarded_query_strings: {
option: false,
query_strings_allow_list: ["string"],
},
},
cache_behaviors: [
{
path: "string",
behavior: "dont-cache", },
],
bundle_id: "string", tags: [
{
key: "TagKey",
value: "TagValue",
},
],
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4