Skip to main content

fakecloud_codedeploy/
lib.rs

1//! AWS CodeDeploy (`codedeploy`) implementation for FakeCloud.
2//!
3//! awsJson1.1 control plane for CodeDeploy: applications, application
4//! revisions, deployment groups, deployment configurations, deployments and
5//! their targets/instances, on-premises instances, GitHub account tokens, and
6//! resource tagging. There is no real deployment engine, so a `CreateDeployment`
7//! mints a [`state`] deployment that lazily settles from `Created` through
8//! `InProgress` to a terminal `Succeeded` state on read (the same deterministic
9//! settle pattern CodeBuild, EKS, and Cloud Map use); everything else is real,
10//! persisted, account-partitioned CRUD. The predefined `CodeDeployDefault.*`
11//! deployment configurations are always resolvable.
12
13pub mod persistence;
14pub mod service;
15pub mod state;
16mod validate;
17
18pub use service::{CodeDeployService, CODEDEPLOY_ACTIONS};
19pub use state::{
20    CodeDeploySnapshot, CodeDeployState, SharedCodeDeployState, CODEDEPLOY_SNAPSHOT_SCHEMA_VERSION,
21};