Skip to main content

identity_provider_configs

Creates, updates, deletes or gets an identity_provider_config resource or lists identity_provider_configs in a region

Overview

Nameidentity_provider_configs
TypeResource
DescriptionAn object representing an Amazon EKS IdentityProviderConfig.
Idaws.eks.identity_provider_configs

Fields

NameDatatypeDescription
cluster_namestringThe name of the identity provider configuration.
typestringThe type of the identity provider configuration.
identity_provider_config_namestringThe name of the OIDC provider configuration.
oidcobjectAn object representing an OpenID Connect (OIDC) configuration.
tagsarrayAn array of key-value pairs to apply to this resource.
identity_provider_config_arnstringThe ARN of the configuration.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTType, ClusterName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all identity_provider_configs in a region.

SELECT
region,
cluster_name,
type,
identity_provider_config_name,
oidc,
tags,
identity_provider_config_arn
FROM aws.eks.identity_provider_configs
WHERE region = 'us-east-1';

Gets all properties from an individual identity_provider_config.

SELECT
region,
cluster_name,
type,
identity_provider_config_name,
oidc,
tags,
identity_provider_config_arn
FROM aws.eks.identity_provider_configs
WHERE region = 'us-east-1' AND data__Identifier = '<IdentityProviderConfigName>|<ClusterName>|<Type>';

INSERT example

Use the following StackQL query and manifest file to create a new identity_provider_config resource, using stack-deploy.

/*+ create */
INSERT INTO aws.eks.identity_provider_configs (
ClusterName,
Type,
region
)
SELECT
'{{ ClusterName }}',
'{{ Type }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.eks.identity_provider_configs
WHERE data__Identifier = '<IdentityProviderConfigName|ClusterName|Type>'
AND region = 'us-east-1';

Permissions

To operate on the identity_provider_configs resource, the following permissions are required:

Create

eks:DescribeUpdate,
eks:AssociateIdentityProviderConfig,
eks:DescribeIdentityProviderConfig,
eks:TagResource

Read

eks:DescribeIdentityProviderConfig

Update

eks:DescribeIdentityProviderConfig,
eks:TagResource,
eks:UntagResource

Delete

eks:DisassociateIdentityProviderConfig,
eks:DescribeIdentityProviderConfig

List

eks:ListIdentityProviderConfigs