NetworkConfiguration and LaunchType are not supported.
ScheduleExample:
Type: AWS::Events::Rule
Properties:
Description: Run every 1 hour.
ScheduleExpression: "rate(1 hour)"
State: ENABLED
Targets:
- Arn: !GetAtt ECSCluster.Arn
Id: 'Target Example'
RoleArn: !GetAtt ECSEventRole.Arn
EcsParameters:
TaskCount: 1
TaskDefinitionArn: !Ref TaskDefinition
LaunchType: FARGATE
NetworkConfiguration:
awsvpcConfiguration:
AssignPublicIp: ENABLED
SecurityGroups: [...]
Subnets: [...]
Encountered unsupported property LaunchType
Encountered unsupported property NetworkConfiguration
https://docs.aws.amazon.com/AmazonCloudWatchEvents/latest/APIReference/API_EcsParameters.html
- Group
- LaunchType
- NetworkConfiguration
- PlatformVersion
- TaskCount
- TaskDefinitionArn
- TaskCount
- TaskDefinitionArn
- Configure NetworkConfiguration and LaunchType using the console.
- CloudWatch Event triggering a Lambda that makes a
run_task
API request to ECS.