Class SigningBehavior
Options for which requests CloudFront signs.
Inheritance
System.Object
SigningBehavior
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class SigningBehavior : Enum
Syntax (vb)
Public NotInheritable Class SigningBehavior
Inherits
Enum
Remarks
The recommended setting is always
.
Synopsis
Fields
ALWAYS | Sign all origin requests, overwriting the Authorization header from the viewer request if one exists. |
NEVER | Do not sign any origin requests. |
NO_OVERRIDE | Sign origin requests only if the viewer request doesn't contain the Authorization header. |
value__ |
Fields
ALWAYS
Sign all origin requests, overwriting the Authorization header from the viewer request if one exists.
public const SigningBehavior ALWAYS
Field Value
Type | Description |
---|---|
SigningBehavior |
NEVER
Do not sign any origin requests.
public const SigningBehavior NEVER
Field Value
Type | Description |
---|---|
SigningBehavior |
Remarks
This value turns off origin access control for all origins in all distributions that use this origin access control.
NO_OVERRIDE
Sign origin requests only if the viewer request doesn't contain the Authorization header.
public const SigningBehavior NO_OVERRIDE
Field Value
Type | Description |
---|---|
SigningBehavior |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |