Interface QueueProcessingFargateServiceProps
- All Superinterfaces:
FargateServiceBaseProps
,software.amazon.jsii.JsiiSerializable
,QueueProcessingServiceBaseProps
- All Known Implementing Classes:
QueueProcessingFargateServiceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:30.692Z")
@Stability(Stable)
public interface QueueProcessingFargateServiceProps
extends software.amazon.jsii.JsiiSerializable, QueueProcessingServiceBaseProps, FargateServiceBaseProps
The properties for the QueueProcessingFargateService service.
Example:
Cluster cluster; cluster.enableFargateCapacityProviders(); QueueProcessingFargateService queueProcessingFargateService = QueueProcessingFargateService.Builder.create(this, "Service") .cluster(cluster) .memoryLimitMiB(512) .image(ContainerImage.fromRegistry("test")) .capacityProviderStrategies(List.of(CapacityProviderStrategy.builder() .capacityProvider("FARGATE_SPOT") .weight(2) .build(), CapacityProviderStrategy.builder() .capacityProvider("FARGATE") .weight(1) .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forQueueProcessingFargateServiceProps
static final class
An implementation forQueueProcessingFargateServiceProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Boolean
Specifies whether the task's elastic network interface receives a public IP address.default String
Optional name for the container added.default HealthCheck
The health check command and associated configuration parameters for the container.default List<ISecurityGroup>
The security groups to associate with the service.default SubnetSelection
The subnets to associate with the service.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.QueueProcessingServiceBaseProps
getCapacityProviderStrategies, getCircuitBreaker, getCluster, getCommand, getCooldown, getCpuTargetUtilizationPercent, getDeploymentController, getDisableCpuBasedScaling, getEnableECSManagedTags, getEnableExecuteCommand, getEnableLogging, getEnvironment, getFamily, getImage, getLogDriver, getMaxHealthyPercent, getMaxReceiveCount, getMaxScalingCapacity, getMinHealthyPercent, getMinScalingCapacity, getPropagateTags, getQueue, getRetentionPeriod, getScalingSteps, getSecrets, getServiceName, getVisibilityTimeout, getVpc
-
Method Details
-
getAssignPublicIp
Specifies whether the task's elastic network interface receives a public IP address.If true, each task will receive a public IP address.
Default: false
-
getContainerName
Optional name for the container added.This name is not used when
taskDefinition
is provided.Default: - QueueProcessingContainer
-
getHealthCheck
The health check command and associated configuration parameters for the container.Default: - Health check configuration from container.
-
getSecurityGroups
The security groups to associate with the service.If you do not specify a security group, a new security group is created.
Default: - A new security group is created.
-
getTaskSubnets
The subnets to associate with the service.Default: - Public subnets if `assignPublicIp` is set, otherwise the first available one of Private, Isolated, Public, in that order.
-
builder
-