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>
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) |
Aliases | OriginRequestPolicyConfig_CookiesConfig_Cookies_Items |
Items
list. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OriginRequestPolicyConfig_CookiesConfig_Cookies_Quantity |
none
– Cookies in viewer requests are not 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
– 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.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
– HTTP headers are not 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
– 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.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
– Query strings in viewer requests are not 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
– 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.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