Class ScheduledFargateTaskDefinitionOptions
The properties for the ScheduledFargateTask using a task definition.
Inheritance
System.Object
ScheduledFargateTaskDefinitionOptions
Implements
Namespace: Amazon.CDK.AWS.ECS.Patterns
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ScheduledFargateTaskDefinitionOptions : Object, IScheduledFargateTaskDefinitionOptions
Syntax (vb)
Public Class ScheduledFargateTaskDefinitionOptions
Inherits Object
Implements IScheduledFargateTaskDefinitionOptions
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;
FargateTaskDefinition fargateTaskDefinition;
var scheduledFargateTaskDefinitionOptions = new ScheduledFargateTaskDefinitionOptions {
TaskDefinition = fargateTaskDefinition
};
Synopsis
Constructors
ScheduledFargateTaskDefinitionOptions() |
Properties
TaskDefinition | The task definition to use for tasks in the service. Image or taskDefinition must be specified, but not both. |
Constructors
ScheduledFargateTaskDefinitionOptions()
public ScheduledFargateTaskDefinitionOptions()
Properties
TaskDefinition
The task definition to use for tasks in the service. Image or taskDefinition must be specified, but not both.
public FargateTaskDefinition TaskDefinition { get; set; }
Property Value
Remarks
[disable-awslint:ref-via-interface]
Default: - none