Class CachedMethods
The HTTP methods that the Behavior will cache requests on.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CachedMethods : DeputyBase
Syntax (vb)
Public Class CachedMethods Inherits DeputyBase
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var cachedMethods = CachedMethods.CACHE_GET_HEAD;
Synopsis
Properties
CACHE_GET_HEAD | HEAD and GET. |
CACHE_GET_HEAD_OPTIONS | HEAD, GET, and OPTIONS. |
Methods | HTTP methods supported. |
Properties
CACHE_GET_HEAD
HEAD and GET.
public static CachedMethods CACHE_GET_HEAD { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
CACHE_GET_HEAD_OPTIONS
HEAD, GET, and OPTIONS.
public static CachedMethods CACHE_GET_HEAD_OPTIONS { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
Methods
HTTP methods supported.
public virtual string[] Methods { get; }
Property Value
string[]
Remarks
ExampleMetadata: fixture=_generated