AWSTemplateFormatVersion: 2010-09-09 Description: Creates a Fargate profile (qs-1qo22qnnb). Metadata: cfn-lint: { config: { ignore_checks: [W9002, W9003, W9004, W9006] } } Parameters: ClusterName: Type: String FargateExecutionRoleArn: Type: String Namespaces: Type: String Labels: Type: String Default: '' Subnets: Type: List Conditions: UseLabels: !Not [!Equals [!Ref Labels, '']] Resources: FargateProfile: Type: Custom::FargateProfile Properties: ServiceToken: !Sub arn:${AWS::Partition}:lambda:${AWS::Region}:${AWS::AccountId}:function:eks-quickstart-FargateProfile ClusterName: !Ref ClusterName IamRole: !Ref FargateExecutionRoleArn Namespaces: !Split [',', !Ref Namespaces] Labels: !If [UseLabels, !Split [',', !Ref Labels], !Ref AWS::NoValue] Subnets: !Ref Subnets