Interface ILaunchTargetBindOptions
Options for binding a launch target to an ECS run job task.
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILaunchTargetBindOptions
Syntax (vb)
Public Interface ILaunchTargetBindOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
using Amazon.CDK.AWS.StepFunctions.Tasks;
Cluster cluster;
TaskDefinition taskDefinition;
var launchTargetBindOptions = new LaunchTargetBindOptions {
TaskDefinition = taskDefinition,
// the properties below are optional
Cluster = cluster
};
Synopsis
Properties
Cluster | A regional grouping of one or more container instances on which you can run tasks and services. |
TaskDefinition | Task definition to run Docker containers in Amazon ECS. |
Properties
Cluster
A regional grouping of one or more container instances on which you can run tasks and services.
virtual ICluster Cluster { get; }
Property Value
Remarks
Default: - No cluster
TaskDefinition
Task definition to run Docker containers in Amazon ECS.
ITaskDefinition TaskDefinition { get; }
Property Value