Class QueueProcessingEc2Service
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.services.ecs.patterns.QueueProcessingServiceBase
software.amazon.awscdk.services.ecs.patterns.QueueProcessingEc2Service
- All Implemented Interfaces:
 IConstruct,IDependable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:48.768Z")
@Stability(Stable)
public class QueueProcessingEc2Service
extends QueueProcessingServiceBase
Class to create a queue processing EC2 service.
 
Example:
 Cluster cluster;
 QueueProcessingEc2Service queueProcessingEc2Service = QueueProcessingEc2Service.Builder.create(this, "Service")
         .cluster(cluster)
         .memoryLimitMiB(1024)
         .image(ContainerImage.fromRegistry("test"))
         .command(List.of("-c", "4", "amazon.com"))
         .enableLogging(false)
         .desiredTaskCount(2)
         .environment(Map.of(
                 "TEST_ENVIRONMENT_VARIABLE1", "test environment variable 1 value",
                 "TEST_ENVIRONMENT_VARIABLE2", "test environment variable 2 value"))
         .maxScalingCapacity(5)
         .containerName("test")
         .build();
 - 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forQueueProcessingEc2Service.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQueueProcessingEc2Service(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedQueueProcessingEc2Service(software.amazon.jsii.JsiiObjectRef objRef) QueueProcessingEc2Service(software.constructs.Construct scope, String id, QueueProcessingEc2ServiceProps props) Constructs a new instance of the QueueProcessingEc2Service class. - 
Method Summary
Modifier and TypeMethodDescriptionThe EC2 service in this construct.The EC2 task definition in this construct.Methods inherited from class software.amazon.awscdk.services.ecs.patterns.QueueProcessingServiceBase
configureAutoscalingForService, getCluster, getDeadLetterQueue, getDefaultCluster, getDefaultCluster, getDesiredCount, getEnvironment, getLogDriver, getMaxCapacity, getMinCapacity, getScalingSteps, getSecrets, getSqsQueue, grantPermissionsToServiceMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.Construct
toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Constructor Details
- 
QueueProcessingEc2Service
protected QueueProcessingEc2Service(software.amazon.jsii.JsiiObjectRef objRef)  - 
QueueProcessingEc2Service
protected QueueProcessingEc2Service(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  - 
QueueProcessingEc2Service
@Stability(Stable) public QueueProcessingEc2Service(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull QueueProcessingEc2ServiceProps props) Constructs a new instance of the QueueProcessingEc2Service class.- Parameters:
 scope- This parameter is required.id- This parameter is required.props- This parameter is required.
 
 - 
 - 
Method Details
- 
getService
The EC2 service in this construct. - 
getTaskDefinition
The EC2 task definition in this construct. 
 -