Interface TargetService
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TargetService.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-06T18:16:19.070Z") @Stability(Experimental) public interface TargetService extends software.amazon.jsii.JsiiSerializable
(experimental) Describe the target for CodeDeploy to use when creating a deployment for an ecs.EcsDeploymentGroup.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTargetService.BuilderA builder forTargetServicestatic classTargetService.Jsii$ProxyAn implementation forTargetService
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static TargetService.Builderbuilder()default AwsvpcConfigurationgetAwsvpcConfiguration()(experimental) Network configuration for ECS services that have a network type ofawsvpc.default List<software.amazon.awscdk.services.ecs.CapacityProviderStrategy>getCapacityProviderStrategy()(experimental) A list of Amazon ECS capacity providers to use for the deployment.StringgetContainerName()(experimental) The name of the Amazon ECS container that contains your Amazon ECS application.NumbergetContainerPort()(experimental) The port on the container where traffic will be routed to.default software.amazon.awscdk.services.ecs.FargatePlatformVersiongetPlatformVersion()(experimental) The platform version of the Fargate tasks in the deployed Amazon ECS service.software.amazon.awscdk.services.ecs.ITaskDefinitiongetTaskDefinition()(experimental) The TaskDefintion to deploy to the target services.
-
-
-
Method Detail
-
getContainerName
@Stability(Experimental) @NotNull String getContainerName()
(experimental) The name of the Amazon ECS container that contains your Amazon ECS application.It must be a container specified in your Amazon ECS task definition.
-
getContainerPort
@Stability(Experimental) @NotNull Number getContainerPort()
(experimental) The port on the container where traffic will be routed to.
-
getTaskDefinition
@Stability(Experimental) @NotNull software.amazon.awscdk.services.ecs.ITaskDefinition getTaskDefinition()
(experimental) The TaskDefintion to deploy to the target services.
-
getAwsvpcConfiguration
@Stability(Experimental) @Nullable default AwsvpcConfiguration getAwsvpcConfiguration()
(experimental) Network configuration for ECS services that have a network type ofawsvpc.Default: reuse current network settings for ECS service.
-
getCapacityProviderStrategy
@Stability(Experimental) @Nullable default List<software.amazon.awscdk.services.ecs.CapacityProviderStrategy> getCapacityProviderStrategy()
(experimental) A list of Amazon ECS capacity providers to use for the deployment.Default: reuse current capcity provider strategy for ECS service.
-
getPlatformVersion
@Stability(Experimental) @Nullable default software.amazon.awscdk.services.ecs.FargatePlatformVersion getPlatformVersion()
(experimental) The platform version of the Fargate tasks in the deployed Amazon ECS service.see: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
Default: LATEST
-
builder
@Stability(Experimental) static TargetService.Builder builder()
- Returns:
- a
TargetService.BuilderofTargetService
-
-