@Stability(value=Stable) public static final class QueueProcessingServiceBaseProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements QueueProcessingServiceBaseProps
QueueProcessingServiceBasePropssoftware.amazon.jsii.JsiiObject.InitializationModeQueueProcessingServiceBaseProps.Builder, QueueProcessingServiceBaseProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
ICluster |
getCluster()
The name of the cluster that hosts the service.
|
List<String> |
getCommand()
The command that is passed to the container.
|
Number |
getDesiredTaskCount()
The desired number of instantiations of the task definition to keep running on the service.
|
Boolean |
getEnableEcsManagedTags()
Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
|
Boolean |
getEnableLogging()
Flag to indicate whether to enable logging.
|
Map<String,String> |
getEnvironment()
The environment variables to pass to the container.
|
String |
getFamily()
The name of a family that the task definition is registered to.
|
ContainerImage |
getImage()
The image used to start a container.
|
LogDriver |
getLogDriver()
The log driver to use.
|
Number |
getMaxReceiveCount()
The maximum number of times that a message can be received by consumers.
|
Number |
getMaxScalingCapacity()
Maximum capacity to scale to.
|
PropagatedTagSource |
getPropagateTags()
Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.
|
IQueue |
getQueue()
A queue for which to process items from.
|
Duration |
getRetentionPeriod()
The number of seconds that Dead Letter Queue retains a message.
|
List<ScalingInterval> |
getScalingSteps()
The intervals for scaling based on the SQS queue's ApproximateNumberOfMessagesVisible metric.
|
Map<String,Secret> |
getSecrets()
The secret to expose to the container as an environment variable.
|
String |
getServiceName()
The name of the service.
|
IVpc |
getVpc()
The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public ContainerImage getImage()
QueueProcessingServiceBasePropsgetImage in interface QueueProcessingServiceBasePropspublic ICluster getCluster()
QueueProcessingServiceBasePropsIf a cluster is specified, the vpc construct should be omitted. Alternatively, you can omit both cluster and vpc.
Default: - create a new cluster; if both cluster and vpc are omitted, a new VPC will be created for you.
getCluster in interface QueueProcessingServiceBasePropspublic List<String> getCommand()
QueueProcessingServiceBasePropsIf you provide a shell command as a single string, you have to quote command-line arguments.
Default: - CMD value built into container image.
getCommand in interface QueueProcessingServiceBasePropspublic Number getDesiredTaskCount()
QueueProcessingServiceBasePropsDefault: 1
getDesiredTaskCount in interface QueueProcessingServiceBasePropspublic Boolean getEnableEcsManagedTags()
QueueProcessingServiceBasePropsFor more information, see Tagging Your Amazon ECS Resources
Default: false
getEnableEcsManagedTags in interface QueueProcessingServiceBasePropspublic Boolean getEnableLogging()
QueueProcessingServiceBasePropsDefault: true
getEnableLogging in interface QueueProcessingServiceBasePropspublic Map<String,String> getEnvironment()
QueueProcessingServiceBaseProps
The variable QUEUE_NAME with value queue.queueName will
always be passed.
Default: 'QUEUE_NAME: queue.queueName'
getEnvironment in interface QueueProcessingServiceBasePropspublic String getFamily()
QueueProcessingServiceBasePropsA family groups multiple versions of a task definition.
Default: - Automatically generated name.
getFamily in interface QueueProcessingServiceBasePropspublic LogDriver getLogDriver()
QueueProcessingServiceBasePropsDefault: - AwsLogDriver if enableLogging is true
getLogDriver in interface QueueProcessingServiceBasePropspublic Number getMaxReceiveCount()
QueueProcessingServiceBasePropsWhen this value is exceeded for a message the message will be automatically sent to the Dead Letter Queue.
Default: 3
getMaxReceiveCount in interface QueueProcessingServiceBasePropspublic Number getMaxScalingCapacity()
QueueProcessingServiceBasePropsDefault: (desiredTaskCount * 2)
getMaxScalingCapacity in interface QueueProcessingServiceBasePropspublic PropagatedTagSource getPropagateTags()
QueueProcessingServiceBasePropsTags can only be propagated to the tasks within the service during service creation.
Default: - none
getPropagateTags in interface QueueProcessingServiceBasePropspublic IQueue getQueue()
QueueProcessingServiceBasePropsIf specified and this is a FIFO queue, the queue name must end in the string '.fifo'. See CreateQueue
Default: 'SQSQueue with CloudFormation-generated name'
getQueue in interface QueueProcessingServiceBasePropspublic Duration getRetentionPeriod()
QueueProcessingServiceBasePropsDefault: Duration.days(14)
getRetentionPeriod in interface QueueProcessingServiceBasePropspublic List<ScalingInterval> getScalingSteps()
QueueProcessingServiceBasePropsMaps a range of metric values to a particular scaling behavior. See Simple and Step Scaling Policies for Amazon EC2 Auto Scaling
Default: [{ upper: 0, change: -1 },{ lower: 100, change: +1 },{ lower: 500, change: +5 }]
getScalingSteps in interface QueueProcessingServiceBasePropspublic Map<String,Secret> getSecrets()
QueueProcessingServiceBasePropsDefault: - No secret environment variables.
getSecrets in interface QueueProcessingServiceBasePropspublic String getServiceName()
QueueProcessingServiceBasePropsDefault: - CloudFormation-generated name.
getServiceName in interface QueueProcessingServiceBasePropspublic IVpc getVpc()
QueueProcessingServiceBasePropsIf a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster.
Default: - uses the VPC defined in the cluster or creates a new VPC.
getVpc in interface QueueProcessingServiceBasePropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.