@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.824Z") @Stability(value=Stable) public interface QueueProcessingFargateServiceProps extends software.amazon.jsii.JsiiSerializable, QueueProcessingServiceBaseProps, FargateServiceBaseProps
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 | Interface and Description |
|---|---|
static class |
QueueProcessingFargateServiceProps.Builder
A builder for
QueueProcessingFargateServiceProps |
static class |
QueueProcessingFargateServiceProps.Jsii$Proxy
An implementation for
QueueProcessingFargateServiceProps |
| Modifier and Type | Method and Description |
|---|---|
static QueueProcessingFargateServiceProps.Builder |
builder() |
default Boolean |
getAssignPublicIp()
Specifies whether the task's elastic network interface receives a public IP address.
|
default String |
getContainerName()
Optional name for the container added.
|
default HealthCheck |
getHealthCheck()
The health check command and associated configuration parameters for the container.
|
default List<ISecurityGroup> |
getSecurityGroups()
The security groups to associate with the service.
|
default SubnetSelection |
getTaskSubnets()
The subnets to associate with the service.
|
getCapacityProviderStrategies, getCircuitBreaker, getCluster, getCommand, getDeploymentController, getEnableECSManagedTags, getEnableExecuteCommand, getEnableLogging, getEnvironment, getFamily, getImage, getLogDriver, getMaxHealthyPercent, getMaxReceiveCount, getMaxScalingCapacity, getMinHealthyPercent, getMinScalingCapacity, getPropagateTags, getQueue, getRetentionPeriod, getScalingSteps, getSecrets, getServiceName, getVisibilityTimeout, getVpcgetCpu, getMemoryLimitMiB, getPlatformVersion, getRuntimePlatform, getTaskDefinition@Stability(value=Stable) @Nullable default Boolean getAssignPublicIp()
If true, each task will receive a public IP address.
Default: false
@Stability(value=Stable) @Nullable default String getContainerName()
Default: - QueueProcessingContainer
@Stability(value=Stable) @Nullable default HealthCheck getHealthCheck()
Default: - Health check configuration from container.
@Stability(value=Stable) @Nullable default List<ISecurityGroup> getSecurityGroups()
If you do not specify a security group, a new security group is created.
Default: - A new security group is created.
@Stability(value=Stable) @Nullable default SubnetSelection getTaskSubnets()
Default: - Public subnets if `assignPublicIp` is set, otherwise the first available one of Private, Isolated, Public, in that order.
@Stability(value=Stable) static QueueProcessingFargateServiceProps.Builder builder()
builder in interface FargateServiceBasePropsbuilder in interface QueueProcessingServiceBasePropsQueueProcessingFargateServiceProps.Builder of QueueProcessingFargateServicePropsCopyright © 2022. All rights reserved.