Class QueueProcessingFargateService
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.services.ecs.patterns.QueueProcessingServiceBase
software.amazon.awscdk.services.ecs.patterns.QueueProcessingFargateService
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:50:57.200Z")
@Stability(Stable)
public class QueueProcessingFargateService
extends QueueProcessingServiceBase
Class to create a queue processing Fargate 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 TypeClassDescriptionstatic final class
A fluent builder forQueueProcessingFargateService
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
QueueProcessingFargateService
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
QueueProcessingFargateService
(software.amazon.jsii.JsiiObjectRef objRef) QueueProcessingFargateService
(software.constructs.Construct scope, String id) Constructs a new instance of the QueueProcessingFargateService class.QueueProcessingFargateService
(software.constructs.Construct scope, String id, QueueProcessingFargateServiceProps props) Constructs a new instance of the QueueProcessingFargateService class. -
Method Summary
Modifier and TypeMethodDescriptionThe Fargate service in this construct.The Fargate task definition in this construct.Methods inherited from class software.amazon.awscdk.services.ecs.patterns.QueueProcessingServiceBase
configureAutoscalingForService, getCluster, getDeadLetterQueue, getDefaultCluster, getDefaultCluster, getEnvironment, getLogDriver, getMaxCapacity, getMinCapacity, getScalingSteps, getSecrets, getSqsQueue, grantPermissionsToService
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
QueueProcessingFargateService
protected QueueProcessingFargateService(software.amazon.jsii.JsiiObjectRef objRef) -
QueueProcessingFargateService
protected QueueProcessingFargateService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
QueueProcessingFargateService
@Stability(Stable) public QueueProcessingFargateService(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable QueueProcessingFargateServiceProps props) Constructs a new instance of the QueueProcessingFargateService class.- Parameters:
scope
- This parameter is required.id
- This parameter is required.props
-
-
QueueProcessingFargateService
@Stability(Stable) public QueueProcessingFargateService(@NotNull software.constructs.Construct scope, @NotNull String id) Constructs a new instance of the QueueProcessingFargateService class.- Parameters:
scope
- This parameter is required.id
- This parameter is required.
-
-
Method Details
-
getService
The Fargate service in this construct. -
getTaskDefinition
The Fargate task definition in this construct.
-