Interface ScheduledEc2TaskDefinitionOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScheduledEc2TaskDefinitionOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:41.140Z")
@Stability(Stable)
public interface ScheduledEc2TaskDefinitionOptions
extends software.amazon.jsii.JsiiSerializable
The properties for the ScheduledEc2Task using a task definition.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
import software.amazon.awscdk.services.ecs.patterns.*;
Ec2TaskDefinition ec2TaskDefinition;
ScheduledEc2TaskDefinitionOptions scheduledEc2TaskDefinitionOptions = ScheduledEc2TaskDefinitionOptions.builder()
.taskDefinition(ec2TaskDefinition)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forScheduledEc2TaskDefinitionOptionsstatic final classAn implementation forScheduledEc2TaskDefinitionOptions -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTaskDefinition
The task definition to use for tasks in the service. One of image or taskDefinition must be specified.[disable-awslint:ref-via-interface]
Default: - none
-
builder
-