Class LaunchTargetBindOptions
Options for binding a launch target to an ECS run job task.
Inheritance
System.Object
LaunchTargetBindOptions
Implements
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LaunchTargetBindOptions : Object, ILaunchTargetBindOptions
Syntax (vb)
Public Class LaunchTargetBindOptions
Inherits Object
Implements 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
Constructors
LaunchTargetBindOptions() |
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. |
Constructors
LaunchTargetBindOptions()
public LaunchTargetBindOptions()
Properties
Cluster
A regional grouping of one or more container instances on which you can run tasks and services.
public ICluster Cluster { get; set; }
Property Value
Remarks
Default: - No cluster
TaskDefinition
Task definition to run Docker containers in Amazon ECS.
public ITaskDefinition TaskDefinition { get; set; }
Property Value