@Stability(value=Experimental) @Internal public static final class QueueProcessingFargateServiceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements QueueProcessingFargateServiceProps
QueueProcessingFargateServicePropssoftware.amazon.jsii.JsiiObject.InitializationModeQueueProcessingFargateServiceProps.Builder, QueueProcessingFargateServiceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Boolean assignPublicIp,
String containerName,
Number cpu,
Number memoryLimitMiB,
FargatePlatformVersion platformVersion,
List<? extends ISecurityGroup> securityGroups,
SubnetSelection taskSubnets,
ContainerImage image,
DeploymentCircuitBreaker circuitBreaker,
ICluster cluster,
List<String> command,
DeploymentController deploymentController,
Boolean enableEcsManagedTags,
Boolean enableLogging,
Map<String,String> environment,
String family,
LogDriver logDriver,
Number maxHealthyPercent,
Number maxReceiveCount,
Number maxScalingCapacity,
Number minHealthyPercent,
Number minScalingCapacity,
PropagatedTagSource propagateTags,
IQueue queue,
Duration retentionPeriod,
List<? extends ScalingInterval> scalingSteps,
Map<String,? extends Secret> secrets,
String serviceName,
IVpc vpc)
Constructor that initializes the object based on literal property values passed by the
QueueProcessingFargateServiceProps.Builder. |
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) |
Boolean |
getAssignPublicIp()
(experimental) Specifies whether the task's elastic network interface receives a public IP address.
|
DeploymentCircuitBreaker |
getCircuitBreaker()
(experimental) Whether to enable the deployment circuit breaker.
|
ICluster |
getCluster()
(experimental) The name of the cluster that hosts the service.
|
List<String> |
getCommand()
(experimental) The command that is passed to the container.
|
String |
getContainerName()
(experimental) Optional name for the container added.
|
Number |
getCpu()
(experimental) The number of cpu units used by the task.
|
DeploymentController |
getDeploymentController()
(experimental) Specifies which deployment controller to use for the service.
|
Boolean |
getEnableECSManagedTags()
(experimental) Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
|
Boolean |
getEnableLogging()
(experimental) Flag to indicate whether to enable logging.
|
Map<String,String> |
getEnvironment()
(experimental) The environment variables to pass to the container.
|
String |
getFamily()
(experimental) The name of a family that the task definition is registered to.
|
ContainerImage |
getImage()
(experimental) The image used to start a container.
|
LogDriver |
getLogDriver()
(experimental) The log driver to use.
|
Number |
getMaxHealthyPercent()
(experimental) The maximum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that can run in a service during a deployment.
|
Number |
getMaxReceiveCount()
(experimental) The maximum number of times that a message can be received by consumers.
|
Number |
getMaxScalingCapacity()
(experimental) Maximum capacity to scale to.
|
Number |
getMemoryLimitMiB()
(experimental) The amount (in MiB) of memory used by the task.
|
Number |
getMinHealthyPercent()
(experimental) The minimum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that must continue to run and remain healthy during a deployment.
|
Number |
getMinScalingCapacity()
(experimental) Minimum capacity to scale to.
|
FargatePlatformVersion |
getPlatformVersion()
(experimental) The platform version on which to run your service.
|
PropagatedTagSource |
getPropagateTags()
(experimental) Specifies whether to propagate the tags from the task definition or the service to the tasks in the service.
|
IQueue |
getQueue()
(experimental) A queue for which to process items from.
|
Duration |
getRetentionPeriod()
(experimental) The number of seconds that Dead Letter Queue retains a message.
|
List<ScalingInterval> |
getScalingSteps()
(experimental) The intervals for scaling based on the SQS queue's ApproximateNumberOfMessagesVisible metric.
|
Map<String,Secret> |
getSecrets()
(experimental) The secret to expose to the container as an environment variable.
|
List<ISecurityGroup> |
getSecurityGroups()
(experimental) The security groups to associate with the service.
|
String |
getServiceName()
(experimental) The name of the service.
|
SubnetSelection |
getTaskSubnets()
(experimental) The subnets to associate with the service.
|
IVpc |
getVpc()
(experimental) 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, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Boolean assignPublicIp, String containerName, Number cpu, Number memoryLimitMiB, FargatePlatformVersion platformVersion, List<? extends ISecurityGroup> securityGroups, SubnetSelection taskSubnets, ContainerImage image, DeploymentCircuitBreaker circuitBreaker, ICluster cluster, List<String> command, DeploymentController deploymentController, Boolean enableEcsManagedTags, Boolean enableLogging, Map<String,String> environment, String family, LogDriver logDriver, Number maxHealthyPercent, Number maxReceiveCount, Number maxScalingCapacity, Number minHealthyPercent, Number minScalingCapacity, PropagatedTagSource propagateTags, IQueue queue, Duration retentionPeriod, List<? extends ScalingInterval> scalingSteps, Map<String,? extends Secret> secrets, String serviceName, IVpc vpc)
QueueProcessingFargateServiceProps.Builder.public final Boolean getAssignPublicIp()
QueueProcessingFargateServicePropsIf true, each task will receive a public IP address.
Default: false
getAssignPublicIp in interface QueueProcessingFargateServicePropspublic final String getContainerName()
QueueProcessingFargateServicePropsDefault: - QueueProcessingContainer
getContainerName in interface QueueProcessingFargateServicePropspublic final Number getCpu()
QueueProcessingFargateServicePropsValid values, which determines your range of valid values for the memory parameter:
256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB
512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB
1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB
2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments
4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments
This default is set in the underlying FargateTaskDefinition construct.
Default: 256
getCpu in interface QueueProcessingFargateServicePropspublic final Number getMemoryLimitMiB()
QueueProcessingFargateServicePropsThis field is required and you must use one of the following values, which determines your range of valid values for the cpu parameter:
0.5GB, 1GB, 2GB - Available cpu values: 256 (.25 vCPU)
1GB, 2GB, 3GB, 4GB - Available cpu values: 512 (.5 vCPU)
2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available cpu values: 1024 (1 vCPU)
Between 4GB and 16GB in 1GB increments - Available cpu values: 2048 (2 vCPU)
Between 8GB and 30GB in 1GB increments - Available cpu values: 4096 (4 vCPU)
This default is set in the underlying FargateTaskDefinition construct.
Default: 512
getMemoryLimitMiB in interface QueueProcessingFargateServicePropspublic final FargatePlatformVersion getPlatformVersion()
QueueProcessingFargateServicePropsIf one is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.
Default: Latest
getPlatformVersion in interface QueueProcessingFargateServicePropspublic final List<ISecurityGroup> getSecurityGroups()
QueueProcessingFargateServicePropsIf you do not specify a security group, the default security group for the VPC is used.
Default: - A new security group is created.
getSecurityGroups in interface QueueProcessingFargateServicePropspublic final SubnetSelection getTaskSubnets()
QueueProcessingFargateServicePropsDefault: - Public subnets if `assignPublicIp` is set, otherwise the first available one of Private, Isolated, Public, in that order.
getTaskSubnets in interface QueueProcessingFargateServicePropspublic final ContainerImage getImage()
QueueProcessingServiceBasePropsgetImage in interface QueueProcessingServiceBasePropspublic final DeploymentCircuitBreaker getCircuitBreaker()
QueueProcessingServiceBasePropsIf this property is defined, circuit breaker will be implicitly enabled.
Default: - disabled
getCircuitBreaker in interface QueueProcessingServiceBasePropspublic final 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 final 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 final DeploymentController getDeploymentController()
QueueProcessingServiceBasePropsFor more information, see Amazon ECS Deployment Types
Default: - Rolling update (ECS)
getDeploymentController in interface QueueProcessingServiceBasePropspublic final Boolean getEnableECSManagedTags()
QueueProcessingServiceBasePropsFor more information, see Tagging Your Amazon ECS Resources
Default: false
getEnableECSManagedTags in interface QueueProcessingServiceBasePropspublic final Boolean getEnableLogging()
QueueProcessingServiceBasePropsDefault: true
getEnableLogging in interface QueueProcessingServiceBasePropspublic final 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 final String getFamily()
QueueProcessingServiceBasePropsA family groups multiple versions of a task definition.
Default: - Automatically generated name.
getFamily in interface QueueProcessingServiceBasePropspublic final LogDriver getLogDriver()
QueueProcessingServiceBasePropsDefault: - AwsLogDriver if enableLogging is true
getLogDriver in interface QueueProcessingServiceBasePropspublic final Number getMaxHealthyPercent()
QueueProcessingServiceBasePropsDefault: - default from underlying service.
getMaxHealthyPercent in interface QueueProcessingServiceBasePropspublic final 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 final Number getMaxScalingCapacity()
QueueProcessingServiceBasePropsDefault: - If the feature flag, ECS_REMOVE_DEFAULT_DESIRED_COUNT is false, the default is (desiredTaskCount * 2); if true, the default is 2.
getMaxScalingCapacity in interface QueueProcessingServiceBasePropspublic final Number getMinHealthyPercent()
QueueProcessingServiceBasePropsDefault: - default from underlying service.
getMinHealthyPercent in interface QueueProcessingServiceBasePropspublic final Number getMinScalingCapacity()
QueueProcessingServiceBasePropsDefault: - If the feature flag, ECS_REMOVE_DEFAULT_DESIRED_COUNT is false, the default is the desiredTaskCount; if true, the default is 1.
getMinScalingCapacity in interface QueueProcessingServiceBasePropspublic final PropagatedTagSource getPropagateTags()
QueueProcessingServiceBasePropsTags can only be propagated to the tasks within the service during service creation.
Default: - none
getPropagateTags in interface QueueProcessingServiceBasePropspublic final 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 final Duration getRetentionPeriod()
QueueProcessingServiceBasePropsDefault: Duration.days(14)
getRetentionPeriod in interface QueueProcessingServiceBasePropspublic final 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 final Map<String,Secret> getSecrets()
QueueProcessingServiceBasePropsDefault: - No secret environment variables.
getSecrets in interface QueueProcessingServiceBasePropspublic final String getServiceName()
QueueProcessingServiceBasePropsDefault: - CloudFormation-generated name.
getServiceName in interface QueueProcessingServiceBasePropspublic final 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 QueueProcessingServiceBaseProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.