Interface NetworkLoadBalancedFargateServiceProps
- All Superinterfaces:
FargateServiceBaseProps,software.amazon.jsii.JsiiSerializable,NetworkLoadBalancedServiceBaseProps
- All Known Implementing Classes:
NetworkLoadBalancedFargateServiceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:41.093Z")
@Stability(Stable)
public interface NetworkLoadBalancedFargateServiceProps
extends software.amazon.jsii.JsiiSerializable, NetworkLoadBalancedServiceBaseProps, FargateServiceBaseProps
The properties for the NetworkLoadBalancedFargateService service.
Example:
Vpc vpc;
SecurityGroup securityGroup;
NetworkLoadBalancedFargateService queueProcessingFargateService = NetworkLoadBalancedFargateService.Builder.create(this, "Service")
.vpc(vpc)
.memoryLimitMiB(512)
.taskImageOptions(NetworkLoadBalancedTaskImageOptions.builder()
.image(ContainerImage.fromRegistry("amazon/amazon-ecs-sample"))
.build())
.minHealthyPercent(100)
.securityGroups(List.of(securityGroup))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forNetworkLoadBalancedFargateServicePropsstatic final classAn implementation forNetworkLoadBalancedFargateServiceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default BooleanDetermines whether the service will be assigned a public IP address.default List<ISecurityGroup> The security groups to associate with the service.default SubnetSelectionThe subnets to associate with the service.Methods inherited from interface software.amazon.awscdk.services.ecs.patterns.FargateServiceBaseProps
getCpu, getEphemeralStorageGiB, getMemoryLimitMiB, getPlatformVersion, getRuntimePlatform, getTaskDefinitionMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedServiceBaseProps
getCapacityProviderStrategies, getCircuitBreaker, getCloudMapOptions, getCluster, getDeploymentController, getDesiredCount, getDomainName, getDomainZone, getEnableECSManagedTags, getEnableExecuteCommand, getHealthCheckGracePeriod, getIpAddressType, getListenerCertificate, getListenerPort, getLoadBalancer, getMaxHealthyPercent, getMinHealthyPercent, getPropagateTags, getPublicLoadBalancer, getRecordType, getServiceName, getTaskImageOptions, getVpc
-
Method Details
-
getAssignPublicIp
Determines whether the service will be assigned a public IP address.Default: false
-
getSecurityGroups
The security groups to associate with the service.If you do not specify a security group, a new security group is created.
Default: - A new security group is created.
-
getTaskSubnets
The subnets to associate with the service.Default: - Public subnets if `assignPublicIp` is set, otherwise the first available one of Private, Isolated, Public, in that order.
-
builder
-