AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
New-CFOriginRequestPolicy-OriginRequestPolicyConfig_Comment <String>-CookiesConfig_CookieBehavior <OriginRequestPolicyCookieBehavior>-HeadersConfig_HeaderBehavior <OriginRequestPolicyHeaderBehavior>-Cookies_Item <String[]>-Headers_Item <String[]>-QueryStrings_Item <String[]>-OriginRequestPolicyConfig_Name <String>-Cookies_Quantity <Int32>-Headers_Quantity <Int32>-QueryStrings_Quantity <Int32>-QueryStringsConfig_QueryStringBehavior <OriginRequestPolicyQueryStringBehavior>-Select <String>-Force <SwitchParameter>-ClientConfig <AmazonCloudFrontConfig>
Host
, User-Agent
, and X-Amz-Cf-Id
. CachePolicy
.
For more information about origin request policies, see Controlling origin requests in the Amazon CloudFront Developer Guide. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OriginRequestPolicyConfig_CookiesConfig_Cookies_Items |
Items
list. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OriginRequestPolicyConfig_CookiesConfig_Cookies_Quantity |
none
– No cookies in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to none
, any cookies that are listed in a CachePolicy
are included in origin requests.whitelist
– Only the cookies in viewer requests that are listed in the CookieNames
type are included in requests that CloudFront sends to the origin.all
– All cookies in viewer requests are included in requests that CloudFront sends to the origin.allExcept
– All cookies in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in the CookieNames
type, which are not included.Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OriginRequestPolicyConfig_CookiesConfig_CookieBehavior |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OriginRequestPolicyConfig_HeadersConfig_Headers_Items |
Items
list. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OriginRequestPolicyConfig_HeadersConfig_Headers_Quantity |
none
– No HTTP headers in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to none
, any headers that are listed in a CachePolicy
are included in origin requests.whitelist
– Only the HTTP headers that are listed in the Headers
type are included in requests that CloudFront sends to the origin.allViewer
– All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.allViewerAndWhitelistCloudFront
– All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers
type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.allExcept
– All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in the Headers
type, which are not included.Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OriginRequestPolicyConfig_HeadersConfig_HeaderBehavior |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OriginRequestPolicyConfig_QueryStringsConfig_QueryStrings_Items |
Items
list. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OriginRequestPolicyConfig_QueryStringsConfig_QueryStrings_Quantity |
none
– No query strings in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to none
, any query strings that are listed in a CachePolicy
are included in origin requests.whitelist
– Only the query strings in viewer requests that are listed in the QueryStringNames
type are included in requests that CloudFront sends to the origin.all
– All query strings in viewer requests are included in requests that CloudFront sends to the origin.allExcept
– All query strings in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in the QueryStringNames
type, which are not included.Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OriginRequestPolicyConfig_QueryStringsConfig_QueryStringBehavior |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AK |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AWSProfilesLocation, ProfilesLocation |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | StoredCredentials, AWSProfileName |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | RegionToCall |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SK, SecretAccessKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ST |
AWS Tools for PowerShell: 2.x.y.z