Interface IEcsRunTaskBaseProps
(deprecated) Construction properties for the BaseRunTaskProps.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public interface IEcsRunTaskBaseProps : ICommonEcsRunTaskProps
Syntax (vb)
Public Interface IEcsRunTaskBaseProps
Inherits ICommonEcsRunTaskProps
Remarks
Stability: Deprecated
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;
using Amazon.CDK.AWS.StepFunctions.Tasks;
Cluster cluster;
ContainerDefinition containerDefinition;
var parameters;
TaskDefinition taskDefinition;
var ecsRunTaskBaseProps = new EcsRunTaskBaseProps {
Cluster = cluster,
TaskDefinition = taskDefinition,
// the properties below are optional
ContainerOverrides = new [] { new ContainerOverride {
ContainerDefinition = containerDefinition,
// the properties below are optional
Command = new [] { "command" },
Cpu = 123,
Environment = new [] { new TaskEnvironmentVariable {
Name = "name",
Value = "value"
} },
MemoryLimit = 123,
MemoryReservation = 123
} },
IntegrationPattern = ServiceIntegrationPattern.FIRE_AND_FORGET,
Parameters = new Dictionary<string, object> {
{ "parametersKey", parameters }
}
};
Synopsis
Properties
Parameters | (deprecated) Additional parameters to pass to the base task. |
Properties
Parameters
(deprecated) Additional parameters to pass to the base task.
virtual IDictionary<string, object> Parameters { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Remarks
Default: - No additional parameters passed
Stability: Deprecated