"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.FargateCluster=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),cluster_1=require("./cluster");class FargateCluster extends cluster_1.Cluster{constructor(scope,id,props){var _b,_c,_d,_e;super(scope,id,{...props,defaultCapacity:0,coreDnsComputeType:(_b=props.coreDnsComputeType)!==null&&_b!==void 0?_b:cluster_1.CoreDnsComputeType.FARGATE,version:props.version});jsiiDeprecationWarnings.aws_cdk_lib_aws_eks_FargateClusterProps(props),this.defaultProfile=this.addFargateProfile((_d=(_c=props.defaultProfile)===null||_c===void 0?void 0:_c.fargateProfileName)!==null&&_d!==void 0?_d:props.defaultProfile?"custom":"default",(_e=props.defaultProfile)!==null&&_e!==void 0?_e:{selectors:[{namespace:"default"},{namespace:"kube-system"}]})}}exports.FargateCluster=FargateCluster,_a=JSII_RTTI_SYMBOL_1,FargateCluster[_a]={fqn:"aws-cdk-lib.aws_eks.FargateCluster",version:"2.13.0"};
//# sourceMappingURL=fargate-cluster.js.map
