Interface TrafficRoutingConfig.Builder

    • Method Detail

      • type

        TrafficRoutingConfig.Builder type​(String type)

        The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by a deployment configuration.

        Parameters:
        type - The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by a deployment configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrafficRoutingType, TrafficRoutingType
      • type

        TrafficRoutingConfig.Builder type​(TrafficRoutingType type)

        The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by a deployment configuration.

        Parameters:
        type - The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by a deployment configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrafficRoutingType, TrafficRoutingType
      • timeBasedCanary

        TrafficRoutingConfig.Builder timeBasedCanary​(TimeBasedCanary timeBasedCanary)

        A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.

        Parameters:
        timeBasedCanary - A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeBasedLinear

        TrafficRoutingConfig.Builder timeBasedLinear​(TimeBasedLinear timeBasedLinear)

        A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.

        Parameters:
        timeBasedLinear - A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.