Skip to main content

Crate fakecloud_cloudcontrol

Crate fakecloud_cloudcontrol 

Source
Expand description

AWS Cloud Control API (cloudcontrolapi) awsJson1.0 service for fakecloud.

Cloud Control is a uniform CRUD+L facade over every CloudFormation resource type. Rather than reimplement per-type handlers, this service drives the EXISTING CloudFormation ResourceProvisioner one resource at a time via the CloudControlOutcome bridge on CloudFormationService: a CreateResource with a DesiredState of AWS::S3::Bucket properties provisions a real bucket through the same handler CreateStack would use (real container for container-backed types included). This is what unblocks the IaC tools that speak Cloud Control instead of CloudFormation templates – Terraform’s awscc provider and Pulumi’s aws-native.

All eight operations are implemented against real, account-partitioned, persisted state: the created-resource registry (so Get/List/Update/Delete resolve) and the resource-request ledger (so GetResourceRequestStatus / ListResourceRequests return real ProgressEvents). Provisioning is synchronous here, so requests reach a terminal SUCCESS/FAILED status immediately, and the returned ProgressEvent reflects that.

Re-exports§

pub use service::CloudControlService;
pub use state::CloudControlState;
pub use state::SharedCloudControlState;
pub use state::CLOUDCONTROL_SNAPSHOT_SCHEMA_VERSION;

Modules§

patch
Minimal RFC 6902 JSON Patch applied to Cloud Control desired state.
persistence
Snapshot save/load for Cloud Control API state.
service
Cloud Control API awsJson1.0 dispatch + provisioner bridge.
state
Account-partitioned, serializable state for Cloud Control API.