aws-cdk-lib.CfnTrafficRoute

interface CfnTrafficRoute

LanguageType name
.NETAmazon.CDK.CfnTrafficRoute
Gogithub.com/aws/aws-cdk-go/awscdk/v2#CfnTrafficRoute
Javasoftware.amazon.awscdk.CfnTrafficRoute
Pythonaws_cdk.CfnTrafficRoute
TypeScript (source)aws-cdk-lib » CfnTrafficRoute

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

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnTrafficRoute: cdk.CfnTrafficRoute = {
  logicalId: 'logicalId',
  type: 'type',
};

Properties

NameTypeDescription
logicalIdstringThe logical id of the target resource.
typestringThe resource type of the route.

logicalId

Type: string

The logical id of the target resource.


type

Type: string

The resource type of the route.

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