AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EKS::Capability

CfnCapability

An object representing a managed capability in an Amazon EKS cluster. This includes all configuration, status, and health information for the capability.

Import

import { CfnCapability } from 'aws-cdk-lib/aws-eks';

Or use the module namespace:

import * as eks from 'aws-cdk-lib/aws-eks';
// eks.CfnCapability

Properties

Configuration passed to the constructor as CfnCapabilityProps.

capabilityNameRequired
string

The unique name of the capability within the cluster.

clusterNameRequired
string

The name of the Amazon EKS cluster that contains this capability.

deletePropagationPolicyRequired
string

The delete propagation policy for the capability. Currently, the only supported value is `RETAIN` , which keeps all resources managed by the capability when the capability is deleted.

roleArnRequired
string

The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with AWS services.

typeRequired
string

The type of capability. Valid values are `ACK` , `ARGOCD` , or `KRO` .

configurationOptional
IResolvable | CapabilityConfigurationProperty

The configuration settings for the capability. The structure varies depending on the capability type.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter