Skip to content
v2.278.0

MailManagerTrafficPolicyReference Struct ​

A reference to a MailManagerTrafficPolicy resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as interfaces_ses } from 'aws-cdk-lib/interfaces';
const mailManagerTrafficPolicyReference: interfaces_ses.MailManagerTrafficPolicyReference = {
  trafficPolicyArn: 'trafficPolicyArn',
  trafficPolicyId: 'trafficPolicyId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_ses as interfaces_ses

mail_manager_traffic_policy_reference = interfaces_ses.MailManagerTrafficPolicyReference(
    traffic_policy_arn="trafficPolicyArn",
    traffic_policy_id="trafficPolicyId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ses.*;

MailManagerTrafficPolicyReference mailManagerTrafficPolicyReference = MailManagerTrafficPolicyReference.builder()
        .trafficPolicyArn("trafficPolicyArn")
        .trafficPolicyId("trafficPolicyId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.SES;

var mailManagerTrafficPolicyReference = new MailManagerTrafficPolicyReference {
    TrafficPolicyArn = "trafficPolicyArn",
    TrafficPolicyId = "trafficPolicyId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

mailManagerTrafficPolicyReference := &MailManagerTrafficPolicyReference{
	TrafficPolicyArn: jsii.String("trafficPolicyArn"),
	TrafficPolicyId: jsii.String("trafficPolicyId"),
}

Properties ​

trafficPolicyArnstringtraffic_policy_arnstrtrafficPolicyArnStringTrafficPolicyArnstringTrafficPolicyArn*string required #
The ARN of the MailManagerTrafficPolicy resource.
trafficPolicyIdstringtraffic_policy_idstrtrafficPolicyIdStringTrafficPolicyIdstringTrafficPolicyId*string required #
The TrafficPolicyId of the MailManagerTrafficPolicy resource.