{"Version": "2012-10-17", "Statement": [{"Sid": "", "Effect": "Allow", "Action": ["swf:ListWorkflowTypes", "swf:ListTagsForResource", "swf:ListOpenWorkflowExecutions", "swf:ListDomains", "swf:ListClosedWorkflowExecutions", "swf:ListActivityTypes", "swf:GetWorkflowExecutionHistory", "swf:DescribeWorkflowType", "swf:DescribeWorkflowExecution", "swf:DescribeDomain", "swf:DescribeActivityType", "swf:CountPendingDecisionTasks", "swf:CountPendingActivityTasks", "swf:CountOpenWorkflowExecutions", "swf:CountClosedWorkflowExecutions"], "Resource": "*"}, {"Sid": "", "Effect": "Allow", "Action": ["ecs:UpdateContainerInstancesState", "ecs:SubmitTaskStateChange", "ecs:SubmitContainerStateChange", "ecs:SubmitAttachmentStateChanges", "ecs:StopTask", "ecs:PutAttributes", "ecs:Poll", "ecs:ListTasks", "ecs:ListTaskDefinitions", "ecs:ListTaskDefinitionFamilies", "ecs:ListTagsForResource", "ecs:ListServices", "ecs:ListContainerInstances", "ecs:ListClusters", "ecs:ListAttributes", "ecs:ListAccountSettings", "ecs:DiscoverPollEndpoint", "ecs:DescribeTasks", "ecs:DescribeTaskSets", "ecs:DescribeTaskDefinition", "ecs:DescribeServices", "ecs:DescribeContainerInstances", "ecs:DescribeClusters", "ecs:DescribeCapacityProviders"], "Resource": "*"}]}