pub struct EksState {
pub clusters: BTreeMap<String, Cluster>,
pub tags: BTreeMap<String, TagMap>,
pub nodegroups: BTreeMap<String, BTreeMap<String, Nodegroup>>,
pub fargate_profiles: BTreeMap<String, BTreeMap<String, FargateProfile>>,
pub addons: BTreeMap<String, BTreeMap<String, Addon>>,
pub access_entries: BTreeMap<String, BTreeMap<String, AccessEntry>>,
pub identity_provider_configs: BTreeMap<String, BTreeMap<String, IdentityProviderConfig>>,
pub pod_identity_associations: BTreeMap<String, BTreeMap<String, PodIdentityAssociation>>,
pub insights: BTreeMap<String, BTreeMap<String, Insight>>,
pub insights_refresh: BTreeMap<String, InsightsRefresh>,
pub capabilities: BTreeMap<String, BTreeMap<String, Capability>>,
pub eks_anywhere_subscriptions: BTreeMap<String, EksAnywhereSubscription>,
}Fields§
§clusters: BTreeMap<String, Cluster>Tags keyed by resource ARN. Cluster tags live on the cluster itself;
this map holds tags applied to any other EKS ARN via TagResource.
nodegroups: BTreeMap<String, BTreeMap<String, Nodegroup>>Node groups nested as cluster name -> nodegroup name -> node group.
Nesting (rather than a (String, String) tuple key) keeps the map
JSON-serializable through the snapshot and scopes node groups per
cluster for natural cross-cluster isolation.
fargate_profiles: BTreeMap<String, BTreeMap<String, FargateProfile>>Fargate profiles nested as cluster name -> profile name -> profile.
addons: BTreeMap<String, BTreeMap<String, Addon>>Add-ons nested as cluster name -> addon name -> addon.
access_entries: BTreeMap<String, BTreeMap<String, AccessEntry>>Access entries nested as cluster name -> principal ARN -> access entry.
identity_provider_configs: BTreeMap<String, BTreeMap<String, IdentityProviderConfig>>Identity-provider configs nested as cluster name -> config name -> config.
pod_identity_associations: BTreeMap<String, BTreeMap<String, PodIdentityAssociation>>Pod identity associations nested as cluster name -> associationId -> assoc.
insights: BTreeMap<String, BTreeMap<String, Insight>>Auto-generated Insights nested as cluster name -> insight id -> insight.
insights_refresh: BTreeMap<String, InsightsRefresh>The most recent insights-refresh state, keyed by cluster name.
capabilities: BTreeMap<String, BTreeMap<String, Capability>>Capabilities nested as cluster name -> capability name -> capability.
eks_anywhere_subscriptions: BTreeMap<String, EksAnywhereSubscription>EKS Anywhere subscriptions (account-scoped) keyed by subscription id.
Trait Implementations§
Source§impl AccountState for EksState
impl AccountState for EksState
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.