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