@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.699Z") @Stability(value=Stable) public class ExternalService extends BaseService implements IExternalService
Example:
Cluster cluster;
TaskDefinition taskDefinition;
ExternalService service = ExternalService.Builder.create(this, "Service")
.cluster(cluster)
.taskDefinition(taskDefinition)
.desiredCount(5)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
ExternalService.Builder
A fluent builder for
ExternalService. |
software.amazon.jsii.JsiiObject.InitializationModeIExternalService.Jsii$Default, IExternalService.Jsii$ProxyIBaseService.Jsii$DefaultIApplicationLoadBalancerTarget.Jsii$DefaultINetworkLoadBalancerTarget.Jsii$DefaultILoadBalancerTarget.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
ExternalService(software.constructs.Construct scope,
String id,
ExternalServiceProps props)
Constructs a new instance of the ExternalService class.
|
protected |
ExternalService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ExternalService(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
associateCloudMapService(AssociateCloudMapServiceOptions _options)
Overriden method to throw error as `associateCloudMapService` is not supported for external service.
|
LoadBalancerTargetProps |
attachToApplicationTargetGroup(IApplicationTargetGroup _targetGroup)
Overriden method to throw error as `attachToApplicationTargetGroup` is not supported for external service.
|
ScalableTaskCount |
autoScaleTaskCount(EnableScalingProps _props)
Overriden method to throw error as `autoScaleTaskCount` is not supported for external service.
|
protected void |
configureAwsVpcNetworkingWithSecurityGroups(IVpc _vpc)
Overriden method to throw error as `configureAwsVpcNetworkingWithSecurityGroups` is not supported for external service.
|
protected void |
configureAwsVpcNetworkingWithSecurityGroups(IVpc _vpc,
Boolean _assignPublicIp)
Overriden method to throw error as `configureAwsVpcNetworkingWithSecurityGroups` is not supported for external service.
|
protected void |
configureAwsVpcNetworkingWithSecurityGroups(IVpc _vpc,
Boolean _assignPublicIp,
SubnetSelection _vpcSubnets)
Overriden method to throw error as `configureAwsVpcNetworkingWithSecurityGroups` is not supported for external service.
|
protected void |
configureAwsVpcNetworkingWithSecurityGroups(IVpc _vpc,
Boolean _assignPublicIp,
SubnetSelection _vpcSubnets,
List<ISecurityGroup> _securityGroups)
Overriden method to throw error as `configureAwsVpcNetworkingWithSecurityGroups` is not supported for external service.
|
Service |
enableCloudMap(CloudMapOptions _options)
Overriden method to throw error as `enableCloudMap` is not supported for external service.
|
static IExternalService |
fromExternalServiceArn(software.constructs.Construct scope,
String id,
String externalServiceArn)
Imports from the specified service ARN.
|
static IBaseService |
fromExternalServiceAttributes(software.constructs.Construct scope,
String id,
ExternalServiceAttributes attrs)
Imports from the specified service attributes.
|
IEcsLoadBalancerTarget |
loadBalancerTarget(LoadBalancerTargetOptions _options)
Overriden method to throw error as `loadBalancerTarget` is not supported for external service.
|
void |
registerLoadBalancerTargets(EcsTarget... _targets)
Overriden method to throw error as `registerLoadBalancerTargets` is not supported for external service.
|
attachToClassicLB, attachToNetworkTargetGroup, fromServiceArnWithCluster, getCloudmapService, getCloudMapService, getCluster, getConnections, getLoadBalancers, getNetworkConfiguration, getServiceArn, getServiceName, getServiceRegistries, getTaskDefinition, metric, metric, metricCpuUtilization, metricCpuUtilization, metricMemoryUtilization, metricMemoryUtilization, setCloudmapService, setLoadBalancers, setNetworkConfiguration, setServiceRegistriesapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetServiceArn, getServiceNameapplyRemovalPolicy, getEnv, getStackprotected ExternalService(software.amazon.jsii.JsiiObjectRef objRef)
protected ExternalService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public ExternalService(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ExternalServiceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public static IExternalService fromExternalServiceArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String externalServiceArn)
scope - This parameter is required.id - This parameter is required.externalServiceArn - This parameter is required.@Stability(value=Stable) @NotNull public static IBaseService fromExternalServiceAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ExternalServiceAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Stable)
public void associateCloudMapService(@NotNull
AssociateCloudMapServiceOptions _options)
associateCloudMapService in class BaseService_options - This parameter is required.@Stability(value=Stable) @NotNull public LoadBalancerTargetProps attachToApplicationTargetGroup(@NotNull IApplicationTargetGroup _targetGroup)
attachToApplicationTargetGroup in interface IApplicationLoadBalancerTargetattachToApplicationTargetGroup in class BaseService_targetGroup - This parameter is required.@Stability(value=Stable) @NotNull public ScalableTaskCount autoScaleTaskCount(@NotNull EnableScalingProps _props)
autoScaleTaskCount in class BaseService_props - This parameter is required.@Stability(value=Stable)
protected void configureAwsVpcNetworkingWithSecurityGroups(@NotNull
IVpc _vpc,
@Nullable
Boolean _assignPublicIp,
@Nullable
SubnetSelection _vpcSubnets,
@Nullable
List<ISecurityGroup> _securityGroups)
configureAwsVpcNetworkingWithSecurityGroups in class BaseService_vpc - This parameter is required._assignPublicIp - _vpcSubnets - _securityGroups - @Stability(value=Stable)
protected void configureAwsVpcNetworkingWithSecurityGroups(@NotNull
IVpc _vpc,
@Nullable
Boolean _assignPublicIp,
@Nullable
SubnetSelection _vpcSubnets)
configureAwsVpcNetworkingWithSecurityGroups in class BaseService_vpc - This parameter is required._assignPublicIp - _vpcSubnets - @Stability(value=Stable)
protected void configureAwsVpcNetworkingWithSecurityGroups(@NotNull
IVpc _vpc,
@Nullable
Boolean _assignPublicIp)
configureAwsVpcNetworkingWithSecurityGroups in class BaseService_vpc - This parameter is required._assignPublicIp - @Stability(value=Stable)
protected void configureAwsVpcNetworkingWithSecurityGroups(@NotNull
IVpc _vpc)
configureAwsVpcNetworkingWithSecurityGroups in class BaseService_vpc - This parameter is required.@Stability(value=Stable) @NotNull public Service enableCloudMap(@NotNull CloudMapOptions _options)
enableCloudMap in class BaseService_options - This parameter is required.@Stability(value=Stable) @NotNull public IEcsLoadBalancerTarget loadBalancerTarget(@NotNull LoadBalancerTargetOptions _options)
loadBalancerTarget in class BaseService_options - This parameter is required.@Stability(value=Stable)
public void registerLoadBalancerTargets(@NotNull
EcsTarget... _targets)
registerLoadBalancerTargets in class BaseService_targets - This parameter is required.Copyright © 2022. All rights reserved.