Struct aws_sdk_eks::input::CreateAddonInput
source · [−]#[non_exhaustive]pub struct CreateAddonInput {
pub cluster_name: Option<String>,
pub addon_name: Option<String>,
pub addon_version: Option<String>,
pub service_account_role_arn: Option<String>,
pub resolve_conflicts: Option<ResolveConflicts>,
pub client_request_token: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
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.cluster_name: Option<String>
The name of the cluster to create the add-on for.
addon_name: Option<String>
The name of the add-on. The name must match one of the names returned by DescribeAddonVersions
.
addon_version: Option<String>
The version of the add-on. The version must match one of the versions returned by DescribeAddonVersions
.
service_account_role_arn: Option<String>
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role in the Amazon EKS User Guide.
To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
resolve_conflicts: Option<ResolveConflicts>
How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.
client_request_token: Option<String>
A 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.
Implementations
sourceimpl CreateAddonInput
impl CreateAddonInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateAddon, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateAddon, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateAddon
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateAddonInput
sourceimpl CreateAddonInput
impl CreateAddonInput
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of the cluster to create the add-on for.
sourcepub fn addon_name(&self) -> Option<&str>
pub fn addon_name(&self) -> Option<&str>
The name of the add-on. The name must match one of the names returned by DescribeAddonVersions
.
sourcepub fn addon_version(&self) -> Option<&str>
pub fn addon_version(&self) -> Option<&str>
The version of the add-on. The version must match one of the versions returned by DescribeAddonVersions
.
sourcepub fn service_account_role_arn(&self) -> Option<&str>
pub fn service_account_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role in the Amazon EKS User Guide.
To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
sourcepub fn resolve_conflicts(&self) -> Option<&ResolveConflicts>
pub fn resolve_conflicts(&self) -> Option<&ResolveConflicts>
How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.
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.
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.
Trait Implementations
sourceimpl Clone for CreateAddonInput
impl Clone for CreateAddonInput
sourcefn clone(&self) -> CreateAddonInput
fn clone(&self) -> CreateAddonInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateAddonInput
impl Debug for CreateAddonInput
sourceimpl PartialEq<CreateAddonInput> for CreateAddonInput
impl PartialEq<CreateAddonInput> for CreateAddonInput
sourcefn eq(&self, other: &CreateAddonInput) -> bool
fn eq(&self, other: &CreateAddonInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateAddonInput) -> bool
fn ne(&self, other: &CreateAddonInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateAddonInput
Auto Trait Implementations
impl RefUnwindSafe for CreateAddonInput
impl Send for CreateAddonInput
impl Sync for CreateAddonInput
impl Unpin for CreateAddonInput
impl UnwindSafe for CreateAddonInput
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