rustack-cloudfront-model 0.7.0

CloudFront type model for Rustack
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Resource ID and ETag types.
//!
//! CloudFront resource IDs are 14-character uppercase alphanumeric strings
//! prefixed with a type letter ('E' for most resources). ETags use the same
//! character shape — they are treated as opaque version tokens; they are
//! *not* MD5 hashes of the config.

/// Generic CloudFront resource ID (14 chars, `[A-Z0-9]`, leading `E`).
pub type ResourceId = String;

/// Distribution ID (alias for `ResourceId`, for documentation clarity).
pub type DistributionId = String;

/// Invalidation ID (`I` prefix, 14 chars).
pub type InvalidationId = String;