Struct aws_sdk_eks::operation::create_cluster::CreateClusterInput
source · #[non_exhaustive]pub struct CreateClusterInput {
pub name: Option<String>,
pub version: Option<String>,
pub role_arn: Option<String>,
pub resources_vpc_config: Option<VpcConfigRequest>,
pub kubernetes_network_config: Option<KubernetesNetworkConfigRequest>,
pub logging: Option<Logging>,
pub client_request_token: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub encryption_config: Option<Vec<EncryptionConfig>>,
pub outpost_config: Option<OutpostConfigRequest>,
pub access_config: Option<CreateAccessConfigRequest>,
}
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 unique name to give to your cluster.
version: Option<String>
The desired Kubernetes version for your cluster. If you don't specify a value here, the default version available in Amazon EKS is used.
The default version might not be the latest version available.
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. For more information, see Amazon EKS Service IAM Role in the Amazon EKS User Guide .
resources_vpc_config: Option<VpcConfigRequest>
The VPC configuration that's 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. You must specify at least two subnets. You can specify up to five security groups. However, we recommend that you use a dedicated security group for your cluster control plane.
kubernetes_network_config: Option<KubernetesNetworkConfigRequest>
The Kubernetes network configuration for the cluster.
logging: Option<Logging>
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster control plane logs in the Amazon EKS User Guide .
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.
client_request_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
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.
outpost_config: Option<OutpostConfigRequest>
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. Before creating a local cluster on an Outpost, review Local clusters for Amazon EKS on Amazon Web Services Outposts in the Amazon EKS User Guide. This object isn't available for creating Amazon EKS clusters on the Amazon Web Services cloud.
access_config: Option<CreateAccessConfigRequest>
The access configuration for the cluster.
Implementations§
source§impl CreateClusterInput
impl CreateClusterInput
sourcepub fn version(&self) -> Option<&str>
pub fn version(&self) -> Option<&str>
The desired Kubernetes version for your cluster. If you don't specify a value here, the default version available in Amazon EKS is used.
The default version might not be the latest version available.
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. For more information, see Amazon EKS Service IAM Role in the Amazon EKS User Guide .
sourcepub fn resources_vpc_config(&self) -> Option<&VpcConfigRequest>
pub fn resources_vpc_config(&self) -> Option<&VpcConfigRequest>
The VPC configuration that's 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. You must specify at least two subnets. You can specify up to five security groups. However, we recommend that you use a dedicated security group for your cluster control plane.
sourcepub fn kubernetes_network_config(
&self,
) -> Option<&KubernetesNetworkConfigRequest>
pub fn kubernetes_network_config( &self, ) -> Option<&KubernetesNetworkConfigRequest>
The Kubernetes network configuration for the cluster.
sourcepub fn logging(&self) -> Option<&Logging>
pub fn logging(&self) -> Option<&Logging>
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster control plane logs in the Amazon EKS User Guide .
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
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.
sourcepub fn encryption_config(&self) -> &[EncryptionConfig]
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()
.
sourcepub fn outpost_config(&self) -> Option<&OutpostConfigRequest>
pub fn outpost_config(&self) -> Option<&OutpostConfigRequest>
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. Before creating a local cluster on an Outpost, review Local clusters for Amazon EKS on Amazon Web Services Outposts in the Amazon EKS User Guide. This object isn't available for creating Amazon EKS clusters on the Amazon Web Services cloud.
sourcepub fn access_config(&self) -> Option<&CreateAccessConfigRequest>
pub fn access_config(&self) -> Option<&CreateAccessConfigRequest>
The access configuration for the cluster.
source§impl CreateClusterInput
impl CreateClusterInput
sourcepub fn builder() -> CreateClusterInputBuilder
pub fn builder() -> CreateClusterInputBuilder
Creates a new builder-style object to manufacture CreateClusterInput
.
Trait Implementations§
source§impl Clone for CreateClusterInput
impl Clone for CreateClusterInput
source§fn clone(&self) -> CreateClusterInput
fn clone(&self) -> CreateClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateClusterInput
impl Debug for CreateClusterInput
source§impl PartialEq for CreateClusterInput
impl PartialEq for CreateClusterInput
source§fn eq(&self, other: &CreateClusterInput) -> bool
fn eq(&self, other: &CreateClusterInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateClusterInput
Auto Trait Implementations§
impl Freeze for CreateClusterInput
impl RefUnwindSafe for CreateClusterInput
impl Send for CreateClusterInput
impl Sync for CreateClusterInput
impl Unpin for CreateClusterInput
impl UnwindSafe for CreateClusterInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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