CacheControl

class aws_cdk.aws_s3_deployment.CacheControl

Bases: object

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

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

Attributes

value

stability :stability: experimental

Return type

Any

Static Methods

classmethod from_string(s)
Parameters

s (str) –

stability :stability: experimental

Return type

CacheControl

classmethod max_age(t)
Parameters

t (Duration) –

stability :stability: experimental

Return type

CacheControl

classmethod must_revalidate()

stability :stability: experimental

Return type

CacheControl

classmethod no_cache()

stability :stability: experimental

Return type

CacheControl

classmethod no_transform()

stability :stability: experimental

Return type

CacheControl

classmethod proxy_revalidate()

stability :stability: experimental

Return type

CacheControl

classmethod s_max_age(t)
Parameters

t (Duration) –

stability :stability: experimental

Return type

CacheControl

classmethod set_private()

stability :stability: experimental

Return type

CacheControl

classmethod set_public()

stability :stability: experimental

Return type

CacheControl