Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data EcsParameters = EcsParameters' {
- capacityProviderStrategy :: Maybe [CapacityProviderStrategyItem]
- enableECSManagedTags :: Maybe Bool
- enableExecuteCommand :: Maybe Bool
- group' :: Maybe Text
- launchType :: Maybe LaunchType
- networkConfiguration :: Maybe NetworkConfiguration
- placementConstraints :: Maybe [PlacementConstraint]
- placementStrategy :: Maybe [PlacementStrategy]
- platformVersion :: Maybe Text
- propagateTags :: Maybe PropagateTags
- referenceId :: Maybe Text
- tags :: Maybe [HashMap Text Text]
- taskCount :: Maybe Natural
- taskDefinitionArn :: Text
- newEcsParameters :: Text -> EcsParameters
- ecsParameters_capacityProviderStrategy :: Lens' EcsParameters (Maybe [CapacityProviderStrategyItem])
- ecsParameters_enableECSManagedTags :: Lens' EcsParameters (Maybe Bool)
- ecsParameters_enableExecuteCommand :: Lens' EcsParameters (Maybe Bool)
- ecsParameters_group :: Lens' EcsParameters (Maybe Text)
- ecsParameters_launchType :: Lens' EcsParameters (Maybe LaunchType)
- ecsParameters_networkConfiguration :: Lens' EcsParameters (Maybe NetworkConfiguration)
- ecsParameters_placementConstraints :: Lens' EcsParameters (Maybe [PlacementConstraint])
- ecsParameters_placementStrategy :: Lens' EcsParameters (Maybe [PlacementStrategy])
- ecsParameters_platformVersion :: Lens' EcsParameters (Maybe Text)
- ecsParameters_propagateTags :: Lens' EcsParameters (Maybe PropagateTags)
- ecsParameters_referenceId :: Lens' EcsParameters (Maybe Text)
- ecsParameters_tags :: Lens' EcsParameters (Maybe [HashMap Text Text])
- ecsParameters_taskCount :: Lens' EcsParameters (Maybe Natural)
- ecsParameters_taskDefinitionArn :: Lens' EcsParameters Text
Documentation
data EcsParameters Source #
The templated target type for the Amazon ECS RunTask API operation.
See: newEcsParameters
smart constructor.
EcsParameters' | |
|
Instances
Create a value of EcsParameters
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:capacityProviderStrategy:EcsParameters'
, ecsParameters_capacityProviderStrategy
- The capacity provider strategy to use for the task.
$sel:enableECSManagedTags:EcsParameters'
, ecsParameters_enableECSManagedTags
- Specifies whether to enable Amazon ECS managed tags for the task. For
more information, see
Tagging Your Amazon ECS Resources
in the Amazon ECS Developer Guide.
$sel:enableExecuteCommand:EcsParameters'
, ecsParameters_enableExecuteCommand
- Whether or not to enable the execute command functionality for the
containers in this task. If true, this enables execute command
functionality on all containers in the task.
$sel:group':EcsParameters'
, ecsParameters_group
- Specifies an ECS task group for the task. The maximum length is 255
characters.
$sel:launchType:EcsParameters'
, ecsParameters_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 Fargate with Amazon ECS is supported. For more
information, see
AWS Fargate on Amazon ECS
in the Amazon ECS Developer Guide.
$sel:networkConfiguration:EcsParameters'
, ecsParameters_networkConfiguration
- This structure specifies the network configuration for an ECS task.
$sel:placementConstraints:EcsParameters'
, ecsParameters_placementConstraints
- An array of placement constraint objects to use for the task. You can
specify up to 10 constraints per task (including constraints in the task
definition and those specified at runtime).
$sel:placementStrategy:EcsParameters'
, ecsParameters_placementStrategy
- The task placement strategy for a task or service.
$sel:platformVersion:EcsParameters'
, ecsParameters_platformVersion
- Specifies the platform version for the task. Specify only the numeric
portion of the platform version, such as 1.1.0
.
$sel:propagateTags:EcsParameters'
, ecsParameters_propagateTags
- Specifies whether to propagate the tags from the task definition to the
task. If no value is specified, the tags are not propagated. Tags can
only be propagated to the task during task creation. To add tags to a
task after task creation, use Amazon ECS's
TagResource
API action.
$sel:referenceId:EcsParameters'
, ecsParameters_referenceId
- The reference ID to use for the task.
$sel:tags:EcsParameters'
, ecsParameters_tags
- The metadata that you apply to the task to help you categorize and
organize them. Each tag consists of a key and an optional value, both of
which you define. For more information, see
RunTask
in the Amazon ECS API Reference.
$sel:taskCount:EcsParameters'
, ecsParameters_taskCount
- The number of tasks to create based on TaskDefinition
. The default is
1
.
$sel:taskDefinitionArn:EcsParameters'
, ecsParameters_taskDefinitionArn
- The Amazon Resource Name (ARN) of the task definition to use if the
event target is an Amazon ECS task.
ecsParameters_capacityProviderStrategy :: Lens' EcsParameters (Maybe [CapacityProviderStrategyItem]) Source #
The capacity provider strategy to use for the task.
ecsParameters_enableECSManagedTags :: Lens' EcsParameters (Maybe Bool) Source #
Specifies whether to enable Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon ECS Developer Guide.
ecsParameters_enableExecuteCommand :: Lens' EcsParameters (Maybe Bool) Source #
Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.
ecsParameters_group :: Lens' EcsParameters (Maybe Text) Source #
Specifies an ECS task group for the task. The maximum length is 255 characters.
ecsParameters_launchType :: Lens' EcsParameters (Maybe LaunchType) Source #
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 Fargate with Amazon ECS is supported. For more
information, see
AWS Fargate on Amazon ECS
in the Amazon ECS Developer Guide.
ecsParameters_networkConfiguration :: Lens' EcsParameters (Maybe NetworkConfiguration) Source #
This structure specifies the network configuration for an ECS task.
ecsParameters_placementConstraints :: Lens' EcsParameters (Maybe [PlacementConstraint]) Source #
An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime).
ecsParameters_placementStrategy :: Lens' EcsParameters (Maybe [PlacementStrategy]) Source #
The task placement strategy for a task or service.
ecsParameters_platformVersion :: Lens' EcsParameters (Maybe Text) Source #
Specifies the platform version for the task. Specify only the numeric
portion of the platform version, such as 1.1.0
.
ecsParameters_propagateTags :: Lens' EcsParameters (Maybe PropagateTags) Source #
Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use Amazon ECS's TagResource API action.
ecsParameters_referenceId :: Lens' EcsParameters (Maybe Text) Source #
The reference ID to use for the task.
ecsParameters_tags :: Lens' EcsParameters (Maybe [HashMap Text Text]) Source #
The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. For more information, see RunTask in the Amazon ECS API Reference.
ecsParameters_taskCount :: Lens' EcsParameters (Maybe Natural) Source #
The number of tasks to create based on TaskDefinition
. The default is
1
.
ecsParameters_taskDefinitionArn :: Lens' EcsParameters Text Source #
The Amazon Resource Name (ARN) of the task definition to use if the event target is an Amazon ECS task.