Struct aws_sdk_eks::types::Cluster

source ·
#[non_exhaustive]
pub struct Cluster {
Show 21 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>, pub id: Option<String>, pub health: Option<ClusterHealth>, pub outpost_config: Option<OutpostConfigResponse>, pub access_config: Option<AccessConfigResponse>,
}
Expand description

An object representing an Amazon EKS cluster.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§name: Option<String>

The name of your cluster.

§arn: Option<String>

The Amazon Resource Name (ARN) of the cluster.

§created_at: Option<DateTime>

The Unix epoch timestamp at object creation.

§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.

§certificate_authority: Option<Certificate>

The certificate-authority-data for your cluster.

§client_request_token: Option<String>

A 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 about clusters deployed on the Amazon Web Services Cloud, see Platform versions in the Amazon EKS User Guide . For more information about local clusters deployed on an Outpost, see Amazon EKS local cluster platform versions in the Amazon EKS User Guide .

§tags: Option<HashMap<String, String>>

Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.

§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.

§id: Option<String>

The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. This property isn't available for an Amazon EKS cluster on the Amazon Web Services cloud.

§health: Option<ClusterHealth>

An object representing the health of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.

§outpost_config: Option<OutpostConfigResponse>

An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.

§access_config: Option<AccessConfigResponse>

The access configuration for the cluster.

Implementations§

source§

impl Cluster

source

pub fn name(&self) -> Option<&str>

The name of your cluster.

source

pub fn arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the cluster.

source

pub fn created_at(&self) -> Option<&DateTime>

The Unix epoch timestamp at object creation.

source

pub fn version(&self) -> Option<&str>

The Kubernetes server version for the cluster.

source

pub fn endpoint(&self) -> Option<&str>

The endpoint for your Kubernetes API server.

source

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.

source

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.

source

pub fn kubernetes_network_config( &self ) -> Option<&KubernetesNetworkConfigResponse>

The Kubernetes network configuration for the cluster.

source

pub fn logging(&self) -> Option<&Logging>

The logging configuration for your cluster.

source

pub fn identity(&self) -> Option<&Identity>

The identity provider information for the cluster.

source

pub fn status(&self) -> Option<&ClusterStatus>

The current status of the cluster.

source

pub fn certificate_authority(&self) -> Option<&Certificate>

The certificate-authority-data for your cluster.

source

pub fn client_request_token(&self) -> Option<&str>

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

source

pub fn platform_version(&self) -> Option<&str>

The platform version of your Amazon EKS cluster. For more information about clusters deployed on the Amazon Web Services Cloud, see Platform versions in the Amazon EKS User Guide . For more information about local clusters deployed on an Outpost, see Amazon EKS local cluster platform versions in the Amazon EKS User Guide .

source

pub fn tags(&self) -> Option<&HashMap<String, String>>

Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.

source

pub fn encryption_config(&self) -> &[EncryptionConfig]

The encryption configuration for the cluster.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .encryption_config.is_none().

source

pub fn connector_config(&self) -> Option<&ConnectorConfigResponse>

The configuration used to connect to a cluster for registration.

source

pub fn id(&self) -> Option<&str>

The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. This property isn't available for an Amazon EKS cluster on the Amazon Web Services cloud.

source

pub fn health(&self) -> Option<&ClusterHealth>

An object representing the health of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.

source

pub fn outpost_config(&self) -> Option<&OutpostConfigResponse>

An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.

source

pub fn access_config(&self) -> Option<&AccessConfigResponse>

The access configuration for the cluster.

source§

impl Cluster

source

pub fn builder() -> ClusterBuilder

Creates a new builder-style object to manufacture Cluster.

Trait Implementations§

source§

impl Clone for Cluster

source§

fn clone(&self) -> Cluster

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Cluster

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for Cluster

source§

fn eq(&self, other: &Cluster) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Cluster

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more