amazonka-scheduler-2.0: Amazon EventBridge Scheduler SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Scheduler.Types.EcsParameters

Description

 
Synopsis

Documentation

data EcsParameters Source #

The templated target type for the Amazon ECS RunTask API operation.

See: newEcsParameters smart constructor.

Constructors

EcsParameters' 

Fields

Instances

Instances details
FromJSON EcsParameters Source # 
Instance details

Defined in Amazonka.Scheduler.Types.EcsParameters

ToJSON EcsParameters Source # 
Instance details

Defined in Amazonka.Scheduler.Types.EcsParameters

Generic EcsParameters Source # 
Instance details

Defined in Amazonka.Scheduler.Types.EcsParameters

Associated Types

type Rep EcsParameters :: Type -> Type #

Read EcsParameters Source # 
Instance details

Defined in Amazonka.Scheduler.Types.EcsParameters

Show EcsParameters Source # 
Instance details

Defined in Amazonka.Scheduler.Types.EcsParameters

NFData EcsParameters Source # 
Instance details

Defined in Amazonka.Scheduler.Types.EcsParameters

Methods

rnf :: EcsParameters -> () #

Eq EcsParameters Source # 
Instance details

Defined in Amazonka.Scheduler.Types.EcsParameters

Hashable EcsParameters Source # 
Instance details

Defined in Amazonka.Scheduler.Types.EcsParameters

type Rep EcsParameters Source # 
Instance details

Defined in Amazonka.Scheduler.Types.EcsParameters

type Rep EcsParameters = D1 ('MetaData "EcsParameters" "Amazonka.Scheduler.Types.EcsParameters" "amazonka-scheduler-2.0-8LKlva3Whvt7TpHIvtcn6a" 'False) (C1 ('MetaCons "EcsParameters'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "capacityProviderStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CapacityProviderStrategyItem])) :*: (S1 ('MetaSel ('Just "enableECSManagedTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "enableExecuteCommand") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "launchType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchType))) :*: (S1 ('MetaSel ('Just "networkConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkConfiguration)) :*: S1 ('MetaSel ('Just "placementConstraints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PlacementConstraint]))))) :*: ((S1 ('MetaSel ('Just "placementStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PlacementStrategy])) :*: (S1 ('MetaSel ('Just "platformVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "propagateTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PropagateTags)))) :*: ((S1 ('MetaSel ('Just "referenceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HashMap Text Text]))) :*: (S1 ('MetaSel ('Just "taskCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "taskDefinitionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newEcsParameters Source #

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.