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.
    • 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 of awsvpc.

        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