@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-11T17:58:52.506Z") @Stability(value=Stable) public class NetworkLoadBalancedFargateService extends NetworkLoadBalancedServiceBase
Example:
Cluster cluster; NetworkLoadBalancedFargateService loadBalancedFargateService = NetworkLoadBalancedFargateService.Builder.create(this, "Service") .cluster(cluster) .memoryLimitMiB(1024) .cpu(512) .taskImageOptions(NetworkLoadBalancedTaskImageOptions.builder() .image(ContainerImage.fromRegistry("amazon/amazon-ecs-sample")) .build()) .build();
Modifier and Type | Class and Description |
---|---|
static class |
NetworkLoadBalancedFargateService.Builder
A fluent builder for
NetworkLoadBalancedFargateService . |
software.amazon.jsii.JsiiObject.InitializationMode
IConstruct.Jsii$Default
Modifier | Constructor and Description |
---|---|
|
NetworkLoadBalancedFargateService(software.constructs.Construct scope,
String id)
Constructs a new instance of the NetworkLoadBalancedFargateService class.
|
|
NetworkLoadBalancedFargateService(software.constructs.Construct scope,
String id,
NetworkLoadBalancedFargateServiceProps props)
Constructs a new instance of the NetworkLoadBalancedFargateService class.
|
protected |
NetworkLoadBalancedFargateService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NetworkLoadBalancedFargateService(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAssignPublicIp() |
FargateService |
getService()
The Fargate service in this construct.
|
FargateTaskDefinition |
getTaskDefinition()
The Fargate task definition in this construct.
|
addServiceAsTarget, createAWSLogDriver, getCluster, getDefaultCluster, getDefaultCluster, getDesiredCount, getInternalDesiredCount, getListener, getLoadBalancer, getTargetGroup
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected NetworkLoadBalancedFargateService(software.amazon.jsii.JsiiObjectRef objRef)
protected NetworkLoadBalancedFargateService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public NetworkLoadBalancedFargateService(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable NetworkLoadBalancedFargateServiceProps props)
scope
- This parameter is required.id
- This parameter is required.props
- @Stability(value=Stable) public NetworkLoadBalancedFargateService(@NotNull software.constructs.Construct scope, @NotNull String id)
scope
- This parameter is required.id
- This parameter is required.@Stability(value=Stable) @NotNull public Boolean getAssignPublicIp()
@Stability(value=Stable) @NotNull public FargateService getService()
@Stability(value=Stable) @NotNull public FargateTaskDefinition getTaskDefinition()
Copyright © 2022. All rights reserved.