UNPKG

@lbrlabs/pulumi-eks

Version:

This repo provides a [multi-language](https://www.pulumi.com/blog/pulumiup-pulumi-packages-multi-language-components/) component that creates a "batteries included" cluster ready for you to attach your EKS nodes to.

46 lines (45 loc) 1.7 kB
import * as pulumi from "@pulumi/pulumi"; import * as pulumiAws from "@pulumi/aws"; export declare class IamServiceAccountRole extends pulumi.ComponentResource { /** * Returns true if the given object is an instance of IamServiceAccountRole. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is IamServiceAccountRole; readonly role: pulumi.Output<pulumiAws.iam.Role>; /** * Create a IamServiceAccountRole resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: IamServiceAccountRoleArgs, opts?: pulumi.ComponentResourceOptions); } /** * The set of arguments for constructing a IamServiceAccountRole resource. */ export interface IamServiceAccountRoleArgs { /** * The namespace to create the service account in. */ namespaceName: pulumi.Input<string>; /** * The arn of the OIDC provider attached to your EKS cluster. */ oidcProviderArn: pulumi.Input<string>; /** * The URL of the OIDC provider attached to your EKS cluster. */ oidcProviderUrl: pulumi.Input<string>; /** * The name of the service account to bind to the role */ serviceAccountName: pulumi.Input<string>; /** * Key-value map of tags to apply to the service account. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }