/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * An object representing an Amazon EKS IdentityProviderConfig. */ export interface AwsEksIdentityproviderconfig { /** * The name of the identity provider configuration. */ ClusterName: string; /** * The type of the identity provider configuration. */ Type: "oidc"; /** * The name of the OIDC provider configuration. */ IdentityProviderConfigName?: string; Oidc?: OidcIdentityProviderConfig; /** * An array of key-value pairs to apply to this resource. */ Tags?: Tag[]; /** * The ARN of the configuration. */ IdentityProviderConfigArn?: string; } /** * An object representing an OpenID Connect (OIDC) configuration. */ export interface OidcIdentityProviderConfig { /** * This is also known as audience. The ID for the client application that makes authentication requests to the OpenID identity provider. */ ClientId: string; /** * The JWT claim that the provider uses to return your groups. */ GroupsClaim?: string; /** * The prefix that is prepended to group claims to prevent clashes with existing names (such as system: groups). */ GroupsPrefix?: string; /** * The URL of the OpenID identity provider that allows the API server to discover public signing keys for verifying tokens. */ IssuerUrl: string; RequiredClaims?: RequiredClaim[]; /** * The JSON Web Token (JWT) claim to use as the username. The default is sub, which is expected to be a unique identifier of the end user. You can choose other claims, such as email or name, depending on the OpenID identity provider. Claims other than email are prefixed with the issuer URL to prevent naming clashes with other plug-ins. */ UsernameClaim?: string; /** * The prefix that is prepended to username claims to prevent clashes with existing names. If you do not provide this field, and username is a value other than email, the prefix defaults to issuerurl#. You can use the value - to disable all prefixing. */ UsernamePrefix?: 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. */ export interface RequiredClaim { /** * The key of the requiredClaims. */ Key: string; /** * The value for the requiredClaims. */ Value: string; } /** * A key-value pair to associate with a resource. */ export interface Tag { /** * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. */ Key: string; /** * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. */ Value: string; }