Class CreateServiceResponse

    • Method Detail

      • service

        public final Service service()

        The full description of your service following the create call.

        A service will return either a capacityProviderStrategy or launchType parameter, but not both, depending where one was specified when it was created.

        If a service is using the ECS deployment controller, the deploymentController and taskSets parameters will not be returned.

        if the service uses the CODE_DEPLOY deployment controller, the deploymentController, taskSets and deployments parameters will be returned, however the deployments parameter will be an empty list.

        Returns:
        The full description of your service following the create call.

        A service will return either a capacityProviderStrategy or launchType parameter, but not both, depending where one was specified when it was created.

        If a service is using the ECS deployment controller, the deploymentController and taskSets parameters will not be returned.

        if the service uses the CODE_DEPLOY deployment controller, the deploymentController, taskSets and deployments parameters will be returned, however the deployments parameter will be an empty list.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object