GetTaskDefinitionResult constructor

const GetTaskDefinitionResult({
  1. String? arn,
  2. String? arnWithoutRevision,
  3. String? containerDefinitions,
  4. String? cpu,
  5. bool? enableFaultInjection,
  6. List<GetTaskDefinitionEphemeralStorage>? ephemeralStorages,
  7. String? executionRoleArn,
  8. String? family,
  9. String? id,
  10. String? ipcMode,
  11. String? memory,
  12. String? networkMode,
  13. String? pidMode,
  14. List<GetTaskDefinitionPlacementConstraint>? placementConstraints,
  15. List<GetTaskDefinitionProxyConfiguration>? proxyConfigurations,
  16. String? region,
  17. List<String>? requiresCompatibilities,
  18. int? revision,
  19. List<GetTaskDefinitionRuntimePlatform>? runtimePlatforms,
  20. String? status,
  21. String? taskDefinition,
  22. String? taskRoleArn,
  23. List<GetTaskDefinitionVolume>? volumes,
})

Creates a new GetTaskDefinitionResult. arn ARN of the task definition. arnWithoutRevision ARN of the Task Definition with the trailing revision removed. This may be useful for situations where the latest task definition is always desired. If a revision isn't specified, the latest ACTIVE revision is used. See the AWS documentation for details. containerDefinitions List of valid container definitions provided as a single valid JSON document. Please note that you should only provide values that are part of the container definition document. For a detailed description of what parameters are available, see the Task Definition Parameters section from the official Developer Guide. cpu Number of cpu units used by the task. If the requiresCompatibilities is FARGATE this field is required. enableFaultInjection Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is false. ephemeralStorages Amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See ephemeralStorage Block. executionRoleArn ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume. family Unique name for your task definition. id The provider-assigned unique ID for this managed resource. ipcMode IPC resource namespace to be used for the containers in the task The valid values are host, task, and none. memory Amount (in MiB) of memory used by the task. If the requiresCompatibilities is FARGATE this field is required. networkMode Docker networking mode to use for the containers in the task. Valid values are none, bridge, awsvpc, and host. pidMode Process namespace to use for the containers in the task. The valid values are host and task. placementConstraints Configuration block for rules that are taken into consideration during task placement. Maximum number of placementConstraints is 10. See placementConstraints Block. proxyConfigurations Configuration block for the App Mesh proxy. See proxyConfiguration Block. region Optional. requiresCompatibilities Set of launch types required by the task. The valid values are EC2 and FARGATE. revision Revision of the task in a particular family. runtimePlatforms Configuration block for runtimePlatform that containers in your task may use. status Status of the task definition. taskDefinition Optional. taskRoleArn ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services. volumes Configuration block for volumes that containers in your task may use. See volume Block for details.

Implementation

const GetTaskDefinitionResult({
  this.arn,
  this.arnWithoutRevision,
  this.containerDefinitions,
  this.cpu,
  this.enableFaultInjection,
  this.ephemeralStorages,
  this.executionRoleArn,
  this.family,
  this.id,
  this.ipcMode,
  this.memory,
  this.networkMode,
  this.pidMode,
  this.placementConstraints,
  this.proxyConfigurations,
  this.region,
  this.requiresCompatibilities,
  this.revision,
  this.runtimePlatforms,
  this.status,
  this.taskDefinition,
  this.taskRoleArn,
  this.volumes,
});