Interface ExternalServiceProps
- All Superinterfaces:
BaseServiceOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ExternalServiceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:14.609Z")
@Stability(Stable)
public interface ExternalServiceProps
extends software.amazon.jsii.JsiiSerializable, BaseServiceOptions
The properties for defining a service using the External launch type.
Example:
Cluster cluster; TaskDefinition taskDefinition; ExternalService service = ExternalService.Builder.create(this, "Service") .cluster(cluster) .taskDefinition(taskDefinition) .desiredCount(5) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forExternalServiceProps
static final class
An implementation forExternalServiceProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExternalServiceProps.Builder
builder()
default List<ISecurityGroup>
The security groups to associate with the service.The task definition to use for tasks in the service.Methods inherited from interface software.amazon.awscdk.services.ecs.BaseServiceOptions
getCapacityProviderStrategies, getCircuitBreaker, getCloudMapOptions, getCluster, getDeploymentAlarms, getDeploymentController, getDesiredCount, getEnableECSManagedTags, getEnableExecuteCommand, getHealthCheckGracePeriod, getMaxHealthyPercent, getMinHealthyPercent, getPropagateTags, getServiceConnectConfiguration, getServiceName, getTaskDefinitionRevision, getVolumeConfigurations
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTaskDefinition
The task definition to use for tasks in the service.[disable-awslint:ref-via-interface]
-
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.
-
builder
- Returns:
- a
ExternalServiceProps.Builder
ofExternalServiceProps
-