import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Policy { PolicyDocument ! : { [ key ] : any ; } ; PolicyName ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface GroupProperties { GroupName ? : Value < string > ; ManagedPolicyArns ? : List < Value < string > > ; Path ? : Value < string > ; Policies ? : List < Policy > ; } export default class Group extends ResourceBase < GroupProperties > { static Policy = Policy ; constructor ( properties ? ) { super ( 'AWS::IAM::Group' , properties || { } ) ; } }