Interface ScheduledEc2TaskDefinitionOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScheduledEc2TaskDefinitionOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.286Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forScheduledEc2TaskDefinitionOptions
static final class
An 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
-