EcsParameters class

The custom parameters to be used when the target is an Amazon ECS task.

Constructors

EcsParameters({required String taskDefinitionArn, String? group, LaunchType? launchType, NetworkConfiguration? networkConfiguration, String? platformVersion, int? taskCount})
EcsParameters.fromJson(Map<String, dynamic> json)
factory

Properties

group String?
Specifies an ECS task group for the task. The maximum length is 255 characters.
final
hashCode int
The hash code for this object.
no setterinherited
launchType LaunchType?
Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. The FARGATE value is supported only in the Regions where AWS Fargate with Amazon ECS is supported. For more information, see AWS Fargate on Amazon ECS in the Amazon Elastic Container Service Developer Guide.
final
networkConfiguration NetworkConfiguration?
Use this structure if the ECS task uses the awsvpc network mode. This structure specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This structure is required if LaunchType is FARGATE because the awsvpc mode is required for Fargate tasks.
final
platformVersion String?
Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskCount int?
The number of tasks to create based on TaskDefinition. The default is 1.
final
taskDefinitionArn String
The ARN of the task definition to use if the event target is an Amazon ECS task.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited