Struct aws_sdk_eks::model::Cluster
source · [−]#[non_exhaustive]pub struct Cluster {Show 17 fields
pub name: Option<String>,
pub arn: Option<String>,
pub created_at: Option<DateTime>,
pub version: Option<String>,
pub endpoint: Option<String>,
pub role_arn: Option<String>,
pub resources_vpc_config: Option<VpcConfigResponse>,
pub kubernetes_network_config: Option<KubernetesNetworkConfigResponse>,
pub logging: Option<Logging>,
pub identity: Option<Identity>,
pub status: Option<ClusterStatus>,
pub certificate_authority: Option<Certificate>,
pub client_request_token: Option<String>,
pub platform_version: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub encryption_config: Option<Vec<EncryptionConfig>>,
pub connector_config: Option<ConnectorConfigResponse>,
}
Expand description
An object representing an Amazon EKS cluster.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the cluster.
arn: Option<String>
The Amazon Resource Name (ARN) of the cluster.
created_at: Option<DateTime>
The Unix epoch timestamp in seconds for when the cluster was created.
version: Option<String>
The Kubernetes server version for the cluster.
endpoint: Option<String>
The endpoint for your Kubernetes API server.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to Amazon Web Services API operations on your behalf.
resources_vpc_config: Option<VpcConfigResponse>
The VPC configuration used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide.
kubernetes_network_config: Option<KubernetesNetworkConfigResponse>
The Kubernetes network configuration for the cluster.
logging: Option<Logging>
The logging configuration for your cluster.
identity: Option<Identity>
The identity provider information for the cluster.
status: Option<ClusterStatus>
The current status of the cluster.
The certificate-authority-data
for your cluster.
client_request_token: Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
platform_version: Option<String>
The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .
The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Cluster tags do not propagate to any other resources associated with the cluster.
encryption_config: Option<Vec<EncryptionConfig>>
The encryption configuration for the cluster.
connector_config: Option<ConnectorConfigResponse>
The configuration used to connect to a cluster for registration.
Implementations
sourceimpl Cluster
impl Cluster
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The Unix epoch timestamp in seconds for when the cluster was created.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to Amazon Web Services API operations on your behalf.
sourcepub fn resources_vpc_config(&self) -> Option<&VpcConfigResponse>
pub fn resources_vpc_config(&self) -> Option<&VpcConfigResponse>
The VPC configuration used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide.
sourcepub fn kubernetes_network_config(
&self
) -> Option<&KubernetesNetworkConfigResponse>
pub fn kubernetes_network_config(
&self
) -> Option<&KubernetesNetworkConfigResponse>
The Kubernetes network configuration for the cluster.
sourcepub fn status(&self) -> Option<&ClusterStatus>
pub fn status(&self) -> Option<&ClusterStatus>
The current status of the cluster.
The certificate-authority-data
for your cluster.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn platform_version(&self) -> Option<&str>
pub fn platform_version(&self) -> Option<&str>
The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .
The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Cluster tags do not propagate to any other resources associated with the cluster.
sourcepub fn encryption_config(&self) -> Option<&[EncryptionConfig]>
pub fn encryption_config(&self) -> Option<&[EncryptionConfig]>
The encryption configuration for the cluster.
sourcepub fn connector_config(&self) -> Option<&ConnectorConfigResponse>
pub fn connector_config(&self) -> Option<&ConnectorConfigResponse>
The configuration used to connect to a cluster for registration.
Trait Implementations
impl StructuralPartialEq for Cluster
Auto Trait Implementations
impl RefUnwindSafe for Cluster
impl Send for Cluster
impl Sync for Cluster
impl Unpin for Cluster
impl UnwindSafe for Cluster
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more