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.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDistribution.CacheBehaviorProperty : CfnDistribution.ICacheBehaviorProperty
Syntax (vb)
Public Class CfnDistribution.CacheBehaviorProperty 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()
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.
public CacheBehaviorProperty()
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"
};
Properties
Behavior
The cache behavior of the distribution.
public string? Behavior { get; set; }
Property Value
Remarks
The following cache behaviors can be specified: