CfnTrafficRoute

class aws_cdk.core.CfnTrafficRoute(*, logical_id, type)

Bases: object

A traffic route, representing where the traffic is being directed to.

Parameters
  • logical_id (str) – The logical id of the target resource.

  • type (str) – The resource type of the route. Today, the only allowed value is ‘AWS::ElasticLoadBalancingV2::Listener’.

Attributes

logical_id

The logical id of the target resource.

Return type

str

type

The resource type of the route.

Today, the only allowed value is ‘AWS::ElasticLoadBalancingV2::Listener’.

Return type

str