Class CfnDistribution.CacheBehaviorProperty
CacheBehavior
is a property of the AWS::Lightsail::Distribution resource. It describes the default cache behavior of an Amazon Lightsail content delivery network (CDN) distribution.
Inheritance
System.Object
CfnDistribution.CacheBehaviorProperty
Implements
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CacheBehaviorProperty : Object, CfnDistribution.ICacheBehaviorProperty
Syntax (vb)
Public Class CacheBehaviorProperty
Inherits Object
Implements CfnDistribution.ICacheBehaviorProperty
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.Lightsail;
var cacheBehaviorProperty = new CacheBehaviorProperty {
Behavior = "behavior"
};
Synopsis
Constructors
CacheBehaviorProperty() |
Properties
Behavior | The cache behavior of the distribution. |
Constructors
CacheBehaviorProperty()
public CacheBehaviorProperty()
Properties
Behavior
The cache behavior of the distribution.
public string Behavior { get; set; }
Property Value
System.String
Remarks
The following cache behaviors can be specified: