#[non_exhaustive]pub struct OidcIdentityProviderConfigBuilder { /* private fields */ }Expand description
A builder for OidcIdentityProviderConfig.
Implementations§
source§impl OidcIdentityProviderConfigBuilder
impl OidcIdentityProviderConfigBuilder
sourcepub fn identity_provider_config_name(self, input: impl Into<String>) -> Self
pub fn identity_provider_config_name(self, input: impl Into<String>) -> Self
The name of the configuration.
sourcepub fn set_identity_provider_config_name(self, input: Option<String>) -> Self
pub fn set_identity_provider_config_name(self, input: Option<String>) -> Self
The name of the configuration.
sourcepub fn get_identity_provider_config_name(&self) -> &Option<String>
pub fn get_identity_provider_config_name(&self) -> &Option<String>
The name of the configuration.
sourcepub fn identity_provider_config_arn(self, input: impl Into<String>) -> Self
pub fn identity_provider_config_arn(self, input: impl Into<String>) -> Self
The ARN of the configuration.
sourcepub fn set_identity_provider_config_arn(self, input: Option<String>) -> Self
pub fn set_identity_provider_config_arn(self, input: Option<String>) -> Self
The ARN of the configuration.
sourcepub fn get_identity_provider_config_arn(&self) -> &Option<String>
pub fn get_identity_provider_config_arn(&self) -> &Option<String>
The ARN of the configuration.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of your cluster.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of your cluster.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The name of your cluster.
sourcepub fn issuer_url(self, input: impl Into<String>) -> Self
pub fn issuer_url(self, input: impl Into<String>) -> Self
The URL of the OIDC identity provider that allows the API server to discover public signing keys for verifying tokens.
sourcepub fn set_issuer_url(self, input: Option<String>) -> Self
pub fn set_issuer_url(self, input: Option<String>) -> Self
The URL of the OIDC identity provider that allows the API server to discover public signing keys for verifying tokens.
sourcepub fn get_issuer_url(&self) -> &Option<String>
pub fn get_issuer_url(&self) -> &Option<String>
The URL of the OIDC identity provider that allows the API server to discover public signing keys for verifying tokens.
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
This is also known as audience. The ID of the client application that makes authentication requests to the OIDC identity provider.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
This is also known as audience. The ID of the client application that makes authentication requests to the OIDC identity provider.
sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
This is also known as audience. The ID of the client application that makes authentication requests to the OIDC identity provider.
sourcepub fn username_claim(self, input: impl Into<String>) -> Self
pub fn username_claim(self, input: impl Into<String>) -> Self
The JSON Web token (JWT) claim that is used as the username.
sourcepub fn set_username_claim(self, input: Option<String>) -> Self
pub fn set_username_claim(self, input: Option<String>) -> Self
The JSON Web token (JWT) claim that is used as the username.
sourcepub fn get_username_claim(&self) -> &Option<String>
pub fn get_username_claim(&self) -> &Option<String>
The JSON Web token (JWT) claim that is used as the username.
sourcepub fn username_prefix(self, input: impl Into<String>) -> Self
pub fn username_prefix(self, input: impl Into<String>) -> Self
The prefix that is prepended to username claims to prevent clashes with existing names. The prefix can't contain system:
sourcepub fn set_username_prefix(self, input: Option<String>) -> Self
pub fn set_username_prefix(self, input: Option<String>) -> Self
The prefix that is prepended to username claims to prevent clashes with existing names. The prefix can't contain system:
sourcepub fn get_username_prefix(&self) -> &Option<String>
pub fn get_username_prefix(&self) -> &Option<String>
The prefix that is prepended to username claims to prevent clashes with existing names. The prefix can't contain system:
sourcepub fn groups_claim(self, input: impl Into<String>) -> Self
pub fn groups_claim(self, input: impl Into<String>) -> Self
The JSON web token (JWT) claim that the provider uses to return your groups.
sourcepub fn set_groups_claim(self, input: Option<String>) -> Self
pub fn set_groups_claim(self, input: Option<String>) -> Self
The JSON web token (JWT) claim that the provider uses to return your groups.
sourcepub fn get_groups_claim(&self) -> &Option<String>
pub fn get_groups_claim(&self) -> &Option<String>
The JSON web token (JWT) claim that the provider uses to return your groups.
sourcepub fn groups_prefix(self, input: impl Into<String>) -> Self
pub fn groups_prefix(self, input: impl Into<String>) -> Self
The prefix that is prepended to group claims to prevent clashes with existing names (such as system: groups). For example, the value oidc: creates group names like oidc:engineering and oidc:infra. The prefix can't contain system:
sourcepub fn set_groups_prefix(self, input: Option<String>) -> Self
pub fn set_groups_prefix(self, input: Option<String>) -> Self
The prefix that is prepended to group claims to prevent clashes with existing names (such as system: groups). For example, the value oidc: creates group names like oidc:engineering and oidc:infra. The prefix can't contain system:
sourcepub fn get_groups_prefix(&self) -> &Option<String>
pub fn get_groups_prefix(&self) -> &Option<String>
The prefix that is prepended to group claims to prevent clashes with existing names (such as system: groups). For example, the value oidc: creates group names like oidc:engineering and oidc:infra. The prefix can't contain system:
sourcepub fn required_claims(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn required_claims(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to required_claims.
To override the contents of this collection use set_required_claims.
The key-value pairs that describe required claims in the identity token. If set, each claim is verified to be present in the token with a matching value.
sourcepub fn set_required_claims(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_required_claims(self, input: Option<HashMap<String, String>>) -> Self
The key-value pairs that describe required claims in the identity token. If set, each claim is verified to be present in the token with a matching value.
sourcepub fn get_required_claims(&self) -> &Option<HashMap<String, String>>
pub fn get_required_claims(&self) -> &Option<HashMap<String, String>>
The key-value pairs that describe required claims in the identity token. If set, each claim is verified to be present in the token with a matching value.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
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.
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.
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 status(self, input: ConfigStatus) -> Self
pub fn status(self, input: ConfigStatus) -> Self
The status of the OIDC identity provider.
sourcepub fn set_status(self, input: Option<ConfigStatus>) -> Self
pub fn set_status(self, input: Option<ConfigStatus>) -> Self
The status of the OIDC identity provider.
sourcepub fn get_status(&self) -> &Option<ConfigStatus>
pub fn get_status(&self) -> &Option<ConfigStatus>
The status of the OIDC identity provider.
sourcepub fn build(self) -> OidcIdentityProviderConfig
pub fn build(self) -> OidcIdentityProviderConfig
Consumes the builder and constructs a OidcIdentityProviderConfig.
Trait Implementations§
source§impl Clone for OidcIdentityProviderConfigBuilder
impl Clone for OidcIdentityProviderConfigBuilder
source§fn clone(&self) -> OidcIdentityProviderConfigBuilder
fn clone(&self) -> OidcIdentityProviderConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for OidcIdentityProviderConfigBuilder
impl Default for OidcIdentityProviderConfigBuilder
source§fn default() -> OidcIdentityProviderConfigBuilder
fn default() -> OidcIdentityProviderConfigBuilder
source§impl PartialEq for OidcIdentityProviderConfigBuilder
impl PartialEq for OidcIdentityProviderConfigBuilder
source§fn eq(&self, other: &OidcIdentityProviderConfigBuilder) -> bool
fn eq(&self, other: &OidcIdentityProviderConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.