amazonka-eks-2.0: Amazon Elastic Kubernetes Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EKS.AssociateIdentityProviderConfig

Description

Associate an identity provider configuration to a cluster.

If you want to authenticate identities using an identity provider, you can create an identity provider configuration and associate it to your cluster. After configuring authentication to your cluster you can create Kubernetes roles and clusterroles to assign permissions to the roles, and then bind the roles to the identities using Kubernetes rolebindings and clusterrolebindings. For more information see Using RBAC Authorization in the Kubernetes documentation.

Synopsis

Creating a Request

data AssociateIdentityProviderConfig Source #

See: newAssociateIdentityProviderConfig smart constructor.

Constructors

AssociateIdentityProviderConfig' 

Fields

Instances

Instances details
ToJSON AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

ToHeaders AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

ToPath AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

ToQuery AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

AWSRequest AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

Generic AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

Associated Types

type Rep AssociateIdentityProviderConfig :: Type -> Type #

Read AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

Show AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

NFData AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

Eq AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

Hashable AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

type AWSResponse AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

type Rep AssociateIdentityProviderConfig Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

type Rep AssociateIdentityProviderConfig = D1 ('MetaData "AssociateIdentityProviderConfig" "Amazonka.EKS.AssociateIdentityProviderConfig" "amazonka-eks-2.0-7cAibD4zEbE2zPO6gnUh5m" 'False) (C1 ('MetaCons "AssociateIdentityProviderConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "oidc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OidcIdentityProviderConfigRequest))))

newAssociateIdentityProviderConfig Source #

Create a value of AssociateIdentityProviderConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

AssociateIdentityProviderConfig, associateIdentityProviderConfig_clientRequestToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

AssociateIdentityProviderConfig, associateIdentityProviderConfig_tags - The metadata to apply to the configuration to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.

AssociateIdentityProviderConfig, associateIdentityProviderConfig_clusterName - The name of the cluster to associate the configuration to.

AssociateIdentityProviderConfig, associateIdentityProviderConfig_oidc - An object representing an OpenID Connect (OIDC) identity provider configuration.

Request Lenses

associateIdentityProviderConfig_clientRequestToken :: Lens' AssociateIdentityProviderConfig (Maybe Text) Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

associateIdentityProviderConfig_tags :: Lens' AssociateIdentityProviderConfig (Maybe (HashMap Text Text)) Source #

The metadata to apply to the configuration to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.

associateIdentityProviderConfig_clusterName :: Lens' AssociateIdentityProviderConfig Text Source #

The name of the cluster to associate the configuration to.

associateIdentityProviderConfig_oidc :: Lens' AssociateIdentityProviderConfig OidcIdentityProviderConfigRequest Source #

An object representing an OpenID Connect (OIDC) identity provider configuration.

Destructuring the Response

data AssociateIdentityProviderConfigResponse Source #

Constructors

AssociateIdentityProviderConfigResponse' 

Fields

Instances

Instances details
Generic AssociateIdentityProviderConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

Read AssociateIdentityProviderConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

Show AssociateIdentityProviderConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

NFData AssociateIdentityProviderConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

Eq AssociateIdentityProviderConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

type Rep AssociateIdentityProviderConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.AssociateIdentityProviderConfig

type Rep AssociateIdentityProviderConfigResponse = D1 ('MetaData "AssociateIdentityProviderConfigResponse" "Amazonka.EKS.AssociateIdentityProviderConfig" "amazonka-eks-2.0-7cAibD4zEbE2zPO6gnUh5m" 'False) (C1 ('MetaCons "AssociateIdentityProviderConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "update") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Update)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses