Struct aws_sdk_eks::input::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>>,
}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 latest version available in Amazon EKS is used.
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>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.
encryption_config: Option<Vec<EncryptionConfig>>The encryption configuration for the cluster.
Implementations
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateCluster, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateCluster, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateCluster>
Creates a new builder-style object to manufacture CreateClusterInput
The desired Kubernetes version for your cluster. If you don't specify a value here, the latest version available in Amazon EKS is used.
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 .
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.
The Kubernetes network configuration for the cluster.
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.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.
The encryption configuration for the cluster.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CreateClusterInput
impl Send for CreateClusterInput
impl Sync for CreateClusterInput
impl Unpin for CreateClusterInput
impl UnwindSafe for CreateClusterInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more