interface CfnTrafficRoute
Language | Type name |
---|---|
.NET | Amazon.CDK.CfnTrafficRoute |
Go | github.com/aws/aws-cdk-go/awscdk/v2#CfnTrafficRoute |
Java | software.amazon.awscdk.CfnTrafficRoute |
Python | aws_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
Name | Type | Description |
---|---|---|
logical | string | The logical id of the target resource. |
type | string | The 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'.