Interface ScheduledFargateTaskImageOptions
- All Superinterfaces:
FargateServiceBaseProps
,software.amazon.jsii.JsiiSerializable
,ScheduledTaskImageProps
- All Known Implementing Classes:
ScheduledFargateTaskImageOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.290Z")
@Stability(Stable)
public interface ScheduledFargateTaskImageOptions
extends software.amazon.jsii.JsiiSerializable, ScheduledTaskImageProps, FargateServiceBaseProps
The properties for the ScheduledFargateTask using an image.
Example:
Cluster cluster; ScheduledFargateTask scheduledFargateTask = ScheduledFargateTask.Builder.create(this, "ScheduledFargateTask") .cluster(cluster) .scheduledFargateTaskImageOptions(ScheduledFargateTaskImageOptions.builder() .image(ContainerImage.fromRegistry("amazon/amazon-ecs-sample")) .containerName("customContainerName") .memoryLimitMiB(512) .build()) .schedule(Schedule.expression("rate(1 minute)")) .platformVersion(FargatePlatformVersion.LATEST) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forScheduledFargateTaskImageOptions
static final class
An implementation forScheduledFargateTaskImageOptions
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.ecs.patterns.FargateServiceBaseProps
getCpu, getEphemeralStorageGiB, getMemoryLimitMiB, getPlatformVersion, getRuntimePlatform, getTaskDefinition
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.ecs.patterns.ScheduledTaskImageProps
getCommand, getContainerName, getEnvironment, getImage, getLogDriver, getSecrets
-
Method Details
-
builder
-