aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.TargetGroupPairInfoProperty

interface TargetGroupPairInfoProperty

LanguageType name
.NETAmazon.CDK.AWS.CodeDeploy.CfnDeploymentGroup.TargetGroupPairInfoProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#CfnDeploymentGroup_TargetGroupPairInfoProperty
Javasoftware.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.TargetGroupPairInfoProperty
Pythonaws_cdk.aws_codedeploy.CfnDeploymentGroup.TargetGroupPairInfoProperty
TypeScript aws-cdk-lib » aws_codedeploy » CfnDeploymentGroup » TargetGroupPairInfoProperty

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const targetGroupPairInfoProperty: codedeploy.CfnDeploymentGroup.TargetGroupPairInfoProperty = {
  prodTrafficRoute: {
    listenerArns: ['listenerArns'],
  },
  targetGroups: [{
    name: 'name',
  }],
  testTrafficRoute: {
    listenerArns: ['listenerArns'],
  },
};

Properties

NameTypeDescription
prodTrafficRoute?IResolvable | TrafficRoutePropertyCfnDeploymentGroup.TargetGroupPairInfoProperty.ProdTrafficRoute.
targetGroups?IResolvable | IResolvable | TargetGroupInfoProperty[]CfnDeploymentGroup.TargetGroupPairInfoProperty.TargetGroups.
testTrafficRoute?IResolvable | TrafficRoutePropertyCfnDeploymentGroup.TargetGroupPairInfoProperty.TestTrafficRoute.

prodTrafficRoute?

Type: IResolvable | TrafficRouteProperty (optional)

CfnDeploymentGroup.TargetGroupPairInfoProperty.ProdTrafficRoute.


targetGroups?

Type: IResolvable | IResolvable | TargetGroupInfoProperty[] (optional)

CfnDeploymentGroup.TargetGroupPairInfoProperty.TargetGroups.


testTrafficRoute?

Type: IResolvable | TrafficRouteProperty (optional)

CfnDeploymentGroup.TargetGroupPairInfoProperty.TestTrafficRoute.