@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.822Z") @Stability(value=Stable) public class QueueProcessingFargateService extends QueueProcessingServiceBase
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
QueueProcessingFargateService.Builder
A fluent builder for
QueueProcessingFargateService. |
| Modifier | Constructor and Description |
|---|---|
|
QueueProcessingFargateService(software.constructs.Construct scope,
String id,
QueueProcessingFargateServiceProps props)
Constructs a new instance of the QueueProcessingFargateService class.
|
protected |
QueueProcessingFargateService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
QueueProcessingFargateService(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
FargateService |
getService()
The Fargate service in this construct.
|
FargateTaskDefinition |
getTaskDefinition()
The Fargate task definition in this construct.
|
configureAutoscalingForService, getCluster, getDeadLetterQueue, getDefaultCluster, getDefaultCluster, getEnvironment, getLogDriver, getMaxCapacity, getMinCapacity, getScalingSteps, getSecrets, getSqsQueue, grantPermissionsToServicejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected QueueProcessingFargateService(software.amazon.jsii.JsiiObjectRef objRef)
protected QueueProcessingFargateService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public QueueProcessingFargateService(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
QueueProcessingFargateServiceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public FargateService getService()
@Stability(value=Stable) @NotNull public FargateTaskDefinition getTaskDefinition()
Copyright © 2022. All rights reserved.