#[non_exhaustive]pub struct ModifyClusterIamRolesInput {
pub cluster_identifier: Option<String>,
pub add_iam_roles: Option<Vec<String>>,
pub remove_iam_roles: Option<Vec<String>>,
pub default_iam_role_arn: Option<String>,
}
Expand description
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_identifier: Option<String>
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
add_iam_roles: Option<Vec<String>>
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.
remove_iam_roles: Option<Vec<String>>
Zero or more IAM roles in ARN format to disassociate from the cluster.
default_iam_role_arn: Option<String>
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
Implementations§
source§impl ModifyClusterIamRolesInput
impl ModifyClusterIamRolesInput
sourcepub fn cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
sourcepub fn add_iam_roles(&self) -> &[String]
pub fn add_iam_roles(&self) -> &[String]
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .add_iam_roles.is_none()
.
sourcepub fn remove_iam_roles(&self) -> &[String]
pub fn remove_iam_roles(&self) -> &[String]
Zero or more IAM roles in ARN format to disassociate from 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 .remove_iam_roles.is_none()
.
sourcepub fn default_iam_role_arn(&self) -> Option<&str>
pub fn default_iam_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
source§impl ModifyClusterIamRolesInput
impl ModifyClusterIamRolesInput
sourcepub fn builder() -> ModifyClusterIamRolesInputBuilder
pub fn builder() -> ModifyClusterIamRolesInputBuilder
Creates a new builder-style object to manufacture ModifyClusterIamRolesInput
.
Trait Implementations§
source§impl Clone for ModifyClusterIamRolesInput
impl Clone for ModifyClusterIamRolesInput
source§fn clone(&self) -> ModifyClusterIamRolesInput
fn clone(&self) -> ModifyClusterIamRolesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyClusterIamRolesInput
impl Debug for ModifyClusterIamRolesInput
source§impl PartialEq for ModifyClusterIamRolesInput
impl PartialEq for ModifyClusterIamRolesInput
source§fn eq(&self, other: &ModifyClusterIamRolesInput) -> bool
fn eq(&self, other: &ModifyClusterIamRolesInput) -> bool
self
and other
values to be equal, and is used
by ==
.