Expires

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

Bases: object

(deprecated) Used for HTTP expires header, which influences downstream caches.

Does NOT influence deletion of the object.

Deprecated

use core.Expiration

See

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

Stability

deprecated

Attributes

value

deprecated

Type

stability

Return type

Any

Static Methods

classmethod after(t)

(deprecated) Expire once the specified duration has passed since deployment time.

Parameters

t (Duration) – the duration to wait before expiring.

Stability

deprecated

Return type

Expires

classmethod at_date(d)

(deprecated) Expire at the specified date.

Parameters

d (datetime) – date to expire at.

Stability

deprecated

Return type

Expires

classmethod at_timestamp(t)

(deprecated) Expire at the specified timestamp.

Parameters

t (Union[int, float]) – timestamp in unix milliseconds.

Stability

deprecated

Return type

Expires

classmethod from_string(s)
Parameters

s (str) –

Stability

deprecated

Return type

Expires