CacheControl

class aws_cdk.aws_s3_deployment.CacheControl(*args, **kwargs)

Bases: object

(experimental) Used for HTTP cache-control header, which influences downstream caches.

See

https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadata

Stability

experimental

Attributes

value

experimental

Type

stability

Return type

Any

Static Methods

classmethod from_string(s)
Parameters

s (str) –

Stability

experimental

Return type

CacheControl

classmethod max_age(t)
Parameters

t (Duration) –

Stability

experimental

Return type

CacheControl

classmethod must_revalidate()
Stability

experimental

Return type

CacheControl

classmethod no_cache()
Stability

experimental

Return type

CacheControl

classmethod no_transform()
Stability

experimental

Return type

CacheControl

classmethod proxy_revalidate()
Stability

experimental

Return type

CacheControl

classmethod s_max_age(t)
Parameters

t (Duration) –

Stability

experimental

Return type

CacheControl

classmethod set_private()
Stability

experimental

Return type

CacheControl

classmethod set_public()
Stability

experimental

Return type

CacheControl