UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

62 lines (61 loc) 2.89 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for EKS Capability. */ export declare function getCapability(args: GetCapabilityArgs, opts?: pulumi.InvokeOptions): Promise<GetCapabilityResult>; export interface GetCapabilityArgs { /** * The Amazon Resource Name (ARN) of the capability. */ arn: string; } export interface GetCapabilityResult { /** * The Amazon Resource Name (ARN) of the capability. */ readonly arn?: string; /** * The configuration settings for the capability. The structure of this object varies depending on the capability type. For Argo CD capabilities, you can configure IAM Identity Center integration, RBAC role mappings, and network access settings. */ readonly configuration?: outputs.eks.CapabilityConfiguration; /** * The Unix epoch timestamp in seconds for when the capability was created. */ readonly createdAt?: string; /** * Specifies how Kubernetes resources managed by the capability should be handled when the capability is deleted. Currently, the only supported value is RETAIN which retains all Kubernetes resources managed by the capability when the capability is deleted. */ readonly deletePropagationPolicy?: enums.eks.CapabilityDeletePropagationPolicy; /** * The Unix epoch timestamp in seconds for when the capability was last modified. */ readonly modifiedAt?: string; /** * The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with AWS services. This role must have a trust policy that allows the EKS service principal to assume it, and it must have the necessary permissions for the capability type you're creating. */ readonly roleArn?: string; /** * The current status of the capability. Valid values include: CREATING (the capability is being created), ACTIVE (the capability is running and available), UPDATING (the capability is being updated), DELETING (the capability is being deleted), CREATE_FAILED (the capability creation failed), UPDATE_FAILED (the capability update failed), or DELETE_FAILED (the capability deletion failed). */ readonly status?: string; /** * An array of key-value pairs to apply to this resource. */ readonly tags?: outputs.Tag[]; /** * The version of the capability software that is currently running. */ readonly version?: string; } /** * Resource Type definition for EKS Capability. */ export declare function getCapabilityOutput(args: GetCapabilityOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCapabilityResult>; export interface GetCapabilityOutputArgs { /** * The Amazon Resource Name (ARN) of the capability. */ arn: pulumi.Input<string>; }