Interface IScheduledEc2TaskDefinitionOptions
The properties for the ScheduledEc2Task using a task definition.
Namespace: Amazon.CDK.AWS.ECS.Patterns
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IScheduledEc2TaskDefinitionOptions
Syntax (vb)
Public Interface IScheduledEc2TaskDefinitionOptions
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.ECS.Patterns;
Ec2TaskDefinition ec2TaskDefinition;
var scheduledEc2TaskDefinitionOptions = new ScheduledEc2TaskDefinitionOptions {
TaskDefinition = ec2TaskDefinition
};
Synopsis
Properties
TaskDefinition | The task definition to use for tasks in the service. One of image or taskDefinition must be specified. |
Properties
TaskDefinition
The task definition to use for tasks in the service. One of image or taskDefinition must be specified.
Ec2TaskDefinition TaskDefinition { get; }
Property Value
Remarks
[disable-awslint:ref-via-interface]
Default: - none