@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.782Z") @Stability(value=Stable) public interface ApplicationLoadBalancedFargateServiceProps extends software.amazon.jsii.JsiiSerializable, ApplicationLoadBalancedServiceBaseProps, FargateServiceBaseProps
Example:
Cluster cluster;
ApplicationLoadBalancedFargateService loadBalancedFargateService = ApplicationLoadBalancedFargateService.Builder.create(this, "Service")
.cluster(cluster)
.memoryLimitMiB(1024)
.desiredCount(1)
.cpu(512)
.taskImageOptions(ApplicationLoadBalancedTaskImageOptions.builder()
.image(ContainerImage.fromRegistry("amazon/amazon-ecs-sample"))
.build())
.taskSubnets(SubnetSelection.builder()
.subnets(List.of(Subnet.fromSubnetId(this, "subnet", "VpcISOLATEDSubnet1Subnet80F07FA0")))
.build())
.loadBalancerName("application-lb-name")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ApplicationLoadBalancedFargateServiceProps.Builder
A builder for
ApplicationLoadBalancedFargateServiceProps |
static class |
ApplicationLoadBalancedFargateServiceProps.Jsii$Proxy
An implementation for
ApplicationLoadBalancedFargateServiceProps |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationLoadBalancedFargateServiceProps.Builder |
builder() |
default Boolean |
getAssignPublicIp()
Determines whether the service will be assigned a public IP address.
|
default List<ISecurityGroup> |
getSecurityGroups()
The security groups to associate with the service.
|
default SubnetSelection |
getTaskSubnets()
The subnets to associate with the service.
|
getCapacityProviderStrategies, getCertificate, getCircuitBreaker, getCloudMapOptions, getCluster, getDeploymentController, getDesiredCount, getDomainName, getDomainZone, getEnableECSManagedTags, getEnableExecuteCommand, getHealthCheckGracePeriod, getIdleTimeout, getListenerPort, getLoadBalancer, getLoadBalancerName, getMaxHealthyPercent, getMinHealthyPercent, getOpenListener, getPropagateTags, getProtocol, getProtocolVersion, getPublicLoadBalancer, getRecordType, getRedirectHTTP, getServiceName, getSslPolicy, getTargetProtocol, getTaskImageOptions, getVpcgetCpu, getMemoryLimitMiB, getPlatformVersion, getRuntimePlatform, getTaskDefinition@Stability(value=Stable) @Nullable default Boolean getAssignPublicIp()
Default: false
@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 ApplicationLoadBalancedFargateServiceProps.Builder builder()
builder in interface ApplicationLoadBalancedServiceBasePropsbuilder in interface FargateServiceBasePropsApplicationLoadBalancedFargateServiceProps.Builder of ApplicationLoadBalancedFargateServicePropsCopyright © 2022. All rights reserved.