import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Label { Key ! : Value < string > ; Value ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Selector { Namespace ! : Value < string > ; Labels ? : List < Label > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface FargateProfileProperties { ClusterName : Value < string > ; FargateProfileName ? : Value < string > ; PodExecutionRoleArn : Value < string > ; Subnets ? : List < Value < string > > ; Selectors : List < Selector > ; Tags ? : List < ResourceTag > ; } export default class FargateProfile extends ResourceBase < FargateProfileProperties > { static Label = Label ; static Selector = Selector ; constructor ( properties ) { super ( 'AWS::EKS::FargateProfile' , properties ) ; } }