Class CacheControl
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codepipeline.actions.CacheControl
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:17.045Z")
@Stability(Stable)
public class CacheControl
extends software.amazon.jsii.JsiiObject
Used for HTTP cache-control header, which influences downstream caches.
Use the provided static factory methods to construct instances of this class.
Used in the S3DeployActionProps.cacheControl property.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.actions.*;
CacheControl cacheControl = CacheControl.fromString("s");
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCacheControl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCacheControl(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic CacheControlfromString(String s) Allows you to create an arbitrary cache control directive, in case our support is missing a method for a particular directive.getValue()the actual text value of the created directive.static CacheControlThe 'immutable' cache control directive.static CacheControlThe 'max-age' cache control directive.static CacheControlThe 'must-revalidate' cache control directive.static CacheControlThe 'must-understand' cache control directive.static CacheControlnoCache()The 'no-cache' cache control directive.static CacheControlnoStore()The 'no-store' cache control directive.static CacheControlThe 'no-transform' cache control directive.static CacheControlThe 'proxy-revalidate' cache control directive.static CacheControlThe 'private' cache control directive.static CacheControlThe 'public' cache control directive.voidthe actual text value of the created directive.static CacheControlThe 's-max-age' cache control directive.static CacheControlThe 'stale-if-error' cache control directive.static CacheControlThe 'stale-while-revalidate' cache control directive.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CacheControl
protected CacheControl(software.amazon.jsii.JsiiObjectRef objRef) -
CacheControl
protected CacheControl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
fromString
Allows you to create an arbitrary cache control directive, in case our support is missing a method for a particular directive.- Parameters:
s- This parameter is required.
-
immutable
The 'immutable' cache control directive. -
maxAge
The 'max-age' cache control directive.- Parameters:
t- This parameter is required.
-
mustRevalidate
The 'must-revalidate' cache control directive. -
mustUnderstand
The 'must-understand' cache control directive. -
noCache
The 'no-cache' cache control directive. -
noStore
The 'no-store' cache control directive. -
noTransform
The 'no-transform' cache control directive. -
proxyRevalidate
The 'proxy-revalidate' cache control directive. -
setPrivate
The 'private' cache control directive. -
setPublic
The 'public' cache control directive. -
sMaxAge
The 's-max-age' cache control directive.- Parameters:
t- This parameter is required.
-
staleIfError
The 'stale-if-error' cache control directive.- Parameters:
t- This parameter is required.
-
staleWhileRevalidate
The 'stale-while-revalidate' cache control directive.- Parameters:
t- This parameter is required.
-
getValue
the actual text value of the created directive. -
setValue
the actual text value of the created directive.
-