Class TargetService.Jsii$Proxy

  • All Implemented Interfaces:
    TargetService, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    TargetService

    @Stability(Experimental)
    @Internal
    public static final class TargetService.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements TargetService
    An implementation for TargetService
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(TargetService.Builder builder)
      Constructor that initializes the object based on literal property values passed by the TargetService.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.JsonNode $jsii$toJson()  
      boolean equals​(Object o)  
      AwsvpcConfiguration getAwsvpcConfiguration()
      (experimental) Network configuration for ECS services that have a network type of awsvpc.
      List<software.amazon.awscdk.services.ecs.CapacityProviderStrategy> getCapacityProviderStrategy()
      (experimental) A list of Amazon ECS capacity providers to use for the deployment.
      String getContainerName()
      (experimental) The name of the Amazon ECS container that contains your Amazon ECS application.
      Number getContainerPort()
      (experimental) The port on the container where traffic will be routed to.
      software.amazon.awscdk.services.ecs.FargatePlatformVersion getPlatformVersion()
      (experimental) The platform version of the Fargate tasks in the deployed Amazon ECS service.
      software.amazon.awscdk.services.ecs.ITaskDefinition getTaskDefinition()
      (experimental) The TaskDefintion to deploy to the target services.
      int hashCode()  
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getContainerName

        public final String getContainerName()
        Description copied from interface: TargetService
        (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.

        Specified by:
        getContainerName in interface TargetService
      • getContainerPort

        public final Number getContainerPort()
        Description copied from interface: TargetService
        (experimental) The port on the container where traffic will be routed to.
        Specified by:
        getContainerPort in interface TargetService
      • getTaskDefinition

        public final software.amazon.awscdk.services.ecs.ITaskDefinition getTaskDefinition()
        Description copied from interface: TargetService
        (experimental) The TaskDefintion to deploy to the target services.
        Specified by:
        getTaskDefinition in interface TargetService
      • getAwsvpcConfiguration

        public final AwsvpcConfiguration getAwsvpcConfiguration()
        Description copied from interface: TargetService
        (experimental) Network configuration for ECS services that have a network type of awsvpc.

        Default: reuse current network settings for ECS service.

        Specified by:
        getAwsvpcConfiguration in interface TargetService
      • getCapacityProviderStrategy

        public final List<software.amazon.awscdk.services.ecs.CapacityProviderStrategy> getCapacityProviderStrategy()
        Description copied from interface: TargetService
        (experimental) A list of Amazon ECS capacity providers to use for the deployment.

        Default: reuse current capcity provider strategy for ECS service.

        Specified by:
        getCapacityProviderStrategy in interface TargetService
      • getPlatformVersion

        public final software.amazon.awscdk.services.ecs.FargatePlatformVersion getPlatformVersion()
        Description copied from interface: TargetService
        (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

        Specified by:
        getPlatformVersion in interface TargetService
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object