Configuration options for the cluster provider.

interface FargateClusterProviderProps {
    clusterName?: string;
    fargateProfiles?: {
        [key: string]: eks.FargateProfileOptions;
    } | Map<string, FargateProfileOptions>;
    name?: string;
    outputClusterName?: boolean;
    outputConfigCommand?: boolean;
    privateCluster?: boolean;
    role?: IRole;
    securityGroup?: ISecurityGroup;
    tags?: {
        [key: string]: string;
    };
    version?: KubernetesVersion;
    vpc?: IVpc;
    vpcSubnets?: SubnetSelection[];
}

Hierarchy

  • Partial<eks.CommonClusterOptions>
    • FargateClusterProviderProps

Properties

clusterName?: string

Name for the cluster.

Default

- Automatically generated name
fargateProfiles?: {
    [key: string]: eks.FargateProfileOptions;
} | Map<string, FargateProfileOptions>

The Fargate profiles associated with the cluster.

Note The Map<> form is deprecated and will be removed from a future release.

Type declaration

  • [key: string]: eks.FargateProfileOptions
name?: string

The name for the cluster.

outputClusterName?: boolean

Determines whether a CloudFormation output with the name of the cluster will be synthesized.

Default

false
outputConfigCommand?: boolean

Determines whether a CloudFormation output with the aws eks update-kubeconfig command will be synthesized. This command will include the cluster name and, if applicable, the ARN of the masters IAM role.

Default

true
privateCluster?: boolean

Is it a private only EKS Cluster? Defaults to private_and_public cluster, set to true for private cluster

Default

false
role?: IRole

Role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.

Default

- A role is automatically created for you
securityGroup?: ISecurityGroup

Security Group to use for Control Plane ENIs

Default

- A security group is automatically created
tags?: {
    [key: string]: string;
}

Tags for the cluster

Type declaration

  • [key: string]: string
version?: KubernetesVersion

The Kubernetes version to run in the cluster

vpc?: IVpc

The VPC in which to create the Cluster.

Default

  • a VPC with default configuration will be created and can be accessed through cluster.vpc.
vpcSubnets?: SubnetSelection[]

Subnets are passed to the cluster configuration.

Generated using TypeDoc