Creates a new capability instance with validation
Configuration properties for the capability
ReadonlyDEFAULT_Default AWS managed policy name for this capability type. Set to undefined in base class for security - subclasses should override.
ReadonlypropsConfiguration properties for the capability
ReadonlytypeCapabilityType
Creates the EKS capability CloudFormation resource
Information about the target EKS cluster
The created CfnCapability resource
Sets up IAM role for the capability with appropriate policies. Creates managed policy references within stack context to avoid CDK v2.224.0+ issues.
Information about the target EKS cluster
Type of capability being created
OptionalpolicyName: string
Optional custom managed policy name
OptionalpolicyDocument: PolicyDocument
Optional inline policy document
ARN of the created or configured IAM role
Base class for EKS capabilities that provides common functionality for creating and configuring EKS capabilities with proper IAM roles and policies.
This class handles the CDK v2.224.0+ compatibility by ensuring managed policies are created within proper construct scope to avoid UnscopedValidationError.