pub struct CodeDeployState {
pub applications: BTreeMap<String, Value>,
pub application_order: Vec<String>,
pub app_revisions: BTreeMap<String, Vec<Value>>,
pub deployment_groups: BTreeMap<String, BTreeMap<String, Value>>,
pub deployment_configs: BTreeMap<String, Value>,
pub deployment_config_order: Vec<String>,
pub deployments: BTreeMap<String, Value>,
pub deployment_order: Vec<String>,
pub deployment_settle: BTreeMap<String, u8>,
pub on_premises_instances: BTreeMap<String, Value>,
pub on_premises_order: Vec<String>,
pub tags: BTreeMap<String, Vec<Value>>,
}Expand description
The account-scoped CodeDeploy state for one AWS account.
Fields§
§applications: BTreeMap<String, Value>Applications keyed by application name; value is an ApplicationInfo JSON.
application_order: Vec<String>Insertion order of application names (most-recent last).
app_revisions: BTreeMap<String, Vec<Value>>Registered application revisions keyed by application name; value is an
ordered list of RevisionInfo JSON objects.
deployment_groups: BTreeMap<String, BTreeMap<String, Value>>Deployment groups keyed by application name then group name; value is a
DeploymentGroupInfo JSON.
deployment_configs: BTreeMap<String, Value>User-created deployment configurations keyed by name; value is a
DeploymentConfigInfo JSON. The predefined CodeDeployDefault.*
configs are synthesized on read and never stored here.
deployment_config_order: Vec<String>Insertion order of user deployment-config names.
deployments: BTreeMap<String, Value>Deployments keyed by deployment id (d-XXXXXXXXX); value is a
DeploymentInfo JSON.
deployment_order: Vec<String>Insertion order of deployment ids (most-recent last).
deployment_settle: BTreeMap<String, u8>Per-deployment settle step, used to advance a deployment from
Created -> InProgress -> Succeeded across successive reads.
on_premises_instances: BTreeMap<String, Value>On-premises instances keyed by instance name; value is an InstanceInfo JSON.
on_premises_order: Vec<String>Insertion order of on-premises instance names.
Resource tags keyed by resource ARN; value is a TagList (list of
{Key,Value} objects).
Trait Implementations§
Source§impl AccountState for CodeDeployState
impl AccountState for CodeDeployState
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
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
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 CodeDeployState
impl Clone for CodeDeployState
Source§fn clone(&self) -> CodeDeployState
fn clone(&self) -> CodeDeployState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more