Interface ScheduledFargateTaskImageOptions
- All Superinterfaces:
FargateServiceBaseProps,software.amazon.jsii.JsiiSerializable,ScheduledTaskImageProps
- All Known Implementing Classes:
ScheduledFargateTaskImageOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:09.912Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forScheduledFargateTaskImageOptionsstatic final classAn implementation forScheduledFargateTaskImageOptions -
Method Summary
Static MethodsMethods inherited from interface software.amazon.awscdk.services.ecs.patterns.FargateServiceBaseProps
getCpu, getEphemeralStorageGiB, getMemoryLimitMiB, getPlatformVersion, getRuntimePlatform, getTaskDefinitionMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.ecs.patterns.ScheduledTaskImageProps
getCommand, getContainerName, getEnvironment, getImage, getLogDriver, getSecrets
-
Method Details
-
builder
-