pub struct CloudFormationState {
pub account_id: String,
pub region: String,
pub stacks: HashMap<String, Stack>,
pub extras: HashMap<String, HashMap<String, Value>>,
pub events: HashMap<String, Vec<Value>>,
pub stack_policies: HashMap<String, String>,
pub termination_protection: HashMap<String, bool>,
pub orgs_access_enabled: bool,
}Fields§
§account_id: String§region: String§stacks: HashMap<String, Stack>§extras: HashMap<String, HashMap<String, Value>>Generic stores keyed by category (change_sets, stack_sets, types,
generated_templates, resource_scans, refactors, etc.) so the
extras handlers can keep state alive without proliferating
per-category fields.
events: HashMap<String, Vec<Value>>§stack_policies: HashMap<String, String>§termination_protection: HashMap<String, bool>§orgs_access_enabled: boolImplementations§
Trait Implementations§
Source§impl AccountState for CloudFormationState
impl AccountState for CloudFormationState
Source§fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
Create a fresh, empty state for the given account.
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
Called after a new account state is created via
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl Clone for CloudFormationState
impl Clone for CloudFormationState
Source§fn clone(&self) -> CloudFormationState
fn clone(&self) -> CloudFormationState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloudFormationState
impl Debug for CloudFormationState
Source§impl<'de> Deserialize<'de> for CloudFormationState
impl<'de> Deserialize<'de> for CloudFormationState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CloudFormationState
impl RefUnwindSafe for CloudFormationState
impl Send for CloudFormationState
impl Sync for CloudFormationState
impl Unpin for CloudFormationState
impl UnsafeUnpin for CloudFormationState
impl UnwindSafe for CloudFormationState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more