@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:05.886Z") @Stability(value=Experimental) 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
(experimental) A fluent builder for
QueueProcessingFargateService. |
software.amazon.jsii.JsiiObject.InitializationModeIConstruct.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
QueueProcessingFargateService(software.constructs.Construct scope,
String id,
QueueProcessingFargateServiceProps props)
(experimental) 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()
(experimental) The Fargate service in this construct.
|
FargateTaskDefinition |
getTaskDefinition()
(experimental) The Fargate task definition in this construct.
|
configureAutoscalingForService, getCluster, getDeadLetterQueue, getDefaultCluster, getDefaultCluster, getDesiredCount, getEnvironment, getLogDriver, getMaxCapacity, getMinCapacity, getScalingSteps, getSecrets, getSqsQueue, grantPermissionsToServicegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, 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=Experimental)
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=Experimental) @NotNull public FargateService getService()
@Stability(value=Experimental) @NotNull public FargateTaskDefinition getTaskDefinition()
Copyright © 2022. All rights reserved.