published on Thursday, Jul 30, 2026 by Pulumi
published on Thursday, Jul 30, 2026 by Pulumi
Manages an SES Mail Manager Traffic Policy.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.mailmanager.TrafficPolicy("example", {
defaultAction: "ALLOW",
name: "example",
policyStatements: [{
action: "DENY",
conditions: [{
ipExpression: {
operator: "CIDR_MATCHES",
values: ["192.0.2.0/24"],
evaluate: {
attribute: "SENDER_IP",
},
},
}],
}],
});
import pulumi
import pulumi_aws as aws
example = aws.mailmanager.TrafficPolicy("example",
default_action="ALLOW",
name="example",
policy_statements=[{
"action": "DENY",
"conditions": [{
"ip_expression": {
"operator": "CIDR_MATCHES",
"values": ["192.0.2.0/24"],
"evaluate": {
"attribute": "SENDER_IP",
},
},
}],
}])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/mailmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mailmanager.NewTrafficPolicy(ctx, "example", &mailmanager.TrafficPolicyArgs{
DefaultAction: pulumi.String("ALLOW"),
Name: pulumi.String("example"),
PolicyStatements: mailmanager.TrafficPolicyPolicyStatementArray{
&mailmanager.TrafficPolicyPolicyStatementArgs{
Action: pulumi.String("DENY"),
Conditions: mailmanager.TrafficPolicyPolicyStatementConditionArray{
&mailmanager.TrafficPolicyPolicyStatementConditionArgs{
IpExpression: &mailmanager.TrafficPolicyPolicyStatementConditionIpExpressionArgs{
Operator: pulumi.String("CIDR_MATCHES"),
Values: pulumi.StringArray{
pulumi.String("192.0.2.0/24"),
},
Evaluate: &mailmanager.TrafficPolicyPolicyStatementConditionIpExpressionEvaluateArgs{
Attribute: pulumi.String("SENDER_IP"),
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.MailManager.TrafficPolicy("example", new()
{
DefaultAction = "ALLOW",
Name = "example",
PolicyStatements = new[]
{
new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementArgs
{
Action = "DENY",
Conditions = new[]
{
new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionArgs
{
IpExpression = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionIpExpressionArgs
{
Operator = "CIDR_MATCHES",
Values = new[]
{
"192.0.2.0/24",
},
Evaluate = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionIpExpressionEvaluateArgs
{
Attribute = "SENDER_IP",
},
},
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mailmanager.TrafficPolicy;
import com.pulumi.aws.mailmanager.TrafficPolicyArgs;
import com.pulumi.aws.mailmanager.inputs.TrafficPolicyPolicyStatementArgs;
import com.pulumi.aws.mailmanager.inputs.TrafficPolicyPolicyStatementConditionArgs;
import com.pulumi.aws.mailmanager.inputs.TrafficPolicyPolicyStatementConditionIpExpressionArgs;
import com.pulumi.aws.mailmanager.inputs.TrafficPolicyPolicyStatementConditionIpExpressionEvaluateArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new TrafficPolicy("example", TrafficPolicyArgs.builder()
.defaultAction("ALLOW")
.name("example")
.policyStatements(TrafficPolicyPolicyStatementArgs.builder()
.action("DENY")
.conditions(TrafficPolicyPolicyStatementConditionArgs.builder()
.ipExpression(TrafficPolicyPolicyStatementConditionIpExpressionArgs.builder()
.operator("CIDR_MATCHES")
.values("192.0.2.0/24")
.evaluate(TrafficPolicyPolicyStatementConditionIpExpressionEvaluateArgs.builder()
.attribute("SENDER_IP")
.build())
.build())
.build())
.build())
.build());
}
}
resources:
example:
type: aws:mailmanager:TrafficPolicy
properties:
defaultAction: ALLOW
name: example
policyStatements:
- action: DENY
conditions:
- ipExpression:
operator: CIDR_MATCHES
values:
- 192.0.2.0/24
evaluate:
attribute: SENDER_IP
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_mailmanager_trafficpolicy" "example" {
default_action = "ALLOW"
name = "example"
policy_statements {
action = "DENY"
conditions {
ip_expression = {
operator = "CIDR_MATCHES"
values = ["192.0.2.0/24"]
evaluate = {
attribute = "SENDER_IP"
}
}
}
}
}
Create TrafficPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TrafficPolicy(name: string, args: TrafficPolicyArgs, opts?: CustomResourceOptions);@overload
def TrafficPolicy(resource_name: str,
args: TrafficPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TrafficPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
default_action: Optional[str] = None,
max_message_size_bytes: Optional[int] = None,
name: Optional[str] = None,
policy_statements: Optional[Sequence[TrafficPolicyPolicyStatementArgs]] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewTrafficPolicy(ctx *Context, name string, args TrafficPolicyArgs, opts ...ResourceOption) (*TrafficPolicy, error)public TrafficPolicy(string name, TrafficPolicyArgs args, CustomResourceOptions? opts = null)
public TrafficPolicy(String name, TrafficPolicyArgs args)
public TrafficPolicy(String name, TrafficPolicyArgs args, CustomResourceOptions options)
type: aws:mailmanager:TrafficPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_mailmanager_traffic_policy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TrafficPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TrafficPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TrafficPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TrafficPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TrafficPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var trafficPolicyResource = new Aws.MailManager.TrafficPolicy("trafficPolicyResource", new()
{
DefaultAction = "string",
MaxMessageSizeBytes = 0,
Name = "string",
PolicyStatements = new[]
{
new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementArgs
{
Action = "string",
Conditions = new[]
{
new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionArgs
{
BooleanExpression = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionBooleanExpressionArgs
{
Operator = "string",
Evaluate = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateArgs
{
Analysis = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateAnalysisArgs
{
Analyzer = "string",
ResultField = "string",
},
IsInAddressList = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateIsInAddressListArgs
{
AddressLists = new[]
{
"string",
},
Attribute = "string",
},
},
},
IpExpression = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionIpExpressionArgs
{
Operator = "string",
Values = new[]
{
"string",
},
Evaluate = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionIpExpressionEvaluateArgs
{
Attribute = "string",
},
},
Ipv6Expression = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionIpv6ExpressionArgs
{
Operator = "string",
Values = new[]
{
"string",
},
Evaluate = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionIpv6ExpressionEvaluateArgs
{
Attribute = "string",
},
},
StringExpression = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionStringExpressionArgs
{
Operator = "string",
Values = new[]
{
"string",
},
Evaluate = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionStringExpressionEvaluateArgs
{
Analysis = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionStringExpressionEvaluateAnalysisArgs
{
Analyzer = "string",
ResultField = "string",
},
Attribute = "string",
},
},
TlsExpression = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionTlsExpressionArgs
{
Operator = "string",
Value = "string",
Evaluate = new Aws.MailManager.Inputs.TrafficPolicyPolicyStatementConditionTlsExpressionEvaluateArgs
{
Attribute = "string",
},
},
},
},
},
},
Region = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := mailmanager.NewTrafficPolicy(ctx, "trafficPolicyResource", &mailmanager.TrafficPolicyArgs{
DefaultAction: pulumi.String("string"),
MaxMessageSizeBytes: pulumi.Int(0),
Name: pulumi.String("string"),
PolicyStatements: mailmanager.TrafficPolicyPolicyStatementArray{
&mailmanager.TrafficPolicyPolicyStatementArgs{
Action: pulumi.String("string"),
Conditions: mailmanager.TrafficPolicyPolicyStatementConditionArray{
&mailmanager.TrafficPolicyPolicyStatementConditionArgs{
BooleanExpression: &mailmanager.TrafficPolicyPolicyStatementConditionBooleanExpressionArgs{
Operator: pulumi.String("string"),
Evaluate: &mailmanager.TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateArgs{
Analysis: &mailmanager.TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateAnalysisArgs{
Analyzer: pulumi.String("string"),
ResultField: pulumi.String("string"),
},
IsInAddressList: &mailmanager.TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateIsInAddressListArgs{
AddressLists: pulumi.StringArray{
pulumi.String("string"),
},
Attribute: pulumi.String("string"),
},
},
},
IpExpression: &mailmanager.TrafficPolicyPolicyStatementConditionIpExpressionArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
Evaluate: &mailmanager.TrafficPolicyPolicyStatementConditionIpExpressionEvaluateArgs{
Attribute: pulumi.String("string"),
},
},
Ipv6Expression: &mailmanager.TrafficPolicyPolicyStatementConditionIpv6ExpressionArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
Evaluate: &mailmanager.TrafficPolicyPolicyStatementConditionIpv6ExpressionEvaluateArgs{
Attribute: pulumi.String("string"),
},
},
StringExpression: &mailmanager.TrafficPolicyPolicyStatementConditionStringExpressionArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
Evaluate: &mailmanager.TrafficPolicyPolicyStatementConditionStringExpressionEvaluateArgs{
Analysis: &mailmanager.TrafficPolicyPolicyStatementConditionStringExpressionEvaluateAnalysisArgs{
Analyzer: pulumi.String("string"),
ResultField: pulumi.String("string"),
},
Attribute: pulumi.String("string"),
},
},
TlsExpression: &mailmanager.TrafficPolicyPolicyStatementConditionTlsExpressionArgs{
Operator: pulumi.String("string"),
Value: pulumi.String("string"),
Evaluate: &mailmanager.TrafficPolicyPolicyStatementConditionTlsExpressionEvaluateArgs{
Attribute: pulumi.String("string"),
},
},
},
},
},
},
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "aws_mailmanager_traffic_policy" "trafficPolicyResource" {
lifecycle {
create_before_destroy = true
}
default_action = "string"
max_message_size_bytes = 0
name = "string"
policy_statements {
action = "string"
conditions {
boolean_expression = {
operator = "string"
evaluate = {
analysis = {
analyzer = "string"
result_field = "string"
}
is_in_address_list = {
address_lists = ["string"]
attribute = "string"
}
}
}
ip_expression = {
operator = "string"
values = ["string"]
evaluate = {
attribute = "string"
}
}
ipv6_expression = {
operator = "string"
values = ["string"]
evaluate = {
attribute = "string"
}
}
string_expression = {
operator = "string"
values = ["string"]
evaluate = {
analysis = {
analyzer = "string"
result_field = "string"
}
attribute = "string"
}
}
tls_expression = {
operator = "string"
value = "string"
evaluate = {
attribute = "string"
}
}
}
}
region = "string"
tags = {
"string" = "string"
}
}
var trafficPolicyResource = new com.pulumi.aws.mailmanager.TrafficPolicy("trafficPolicyResource", com.pulumi.aws.mailmanager.TrafficPolicyArgs.builder()
.defaultAction("string")
.maxMessageSizeBytes(0)
.name("string")
.policyStatements(TrafficPolicyPolicyStatementArgs.builder()
.action("string")
.conditions(TrafficPolicyPolicyStatementConditionArgs.builder()
.booleanExpression(TrafficPolicyPolicyStatementConditionBooleanExpressionArgs.builder()
.operator("string")
.evaluate(TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateArgs.builder()
.analysis(TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateAnalysisArgs.builder()
.analyzer("string")
.resultField("string")
.build())
.isInAddressList(TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateIsInAddressListArgs.builder()
.addressLists("string")
.attribute("string")
.build())
.build())
.build())
.ipExpression(TrafficPolicyPolicyStatementConditionIpExpressionArgs.builder()
.operator("string")
.values("string")
.evaluate(TrafficPolicyPolicyStatementConditionIpExpressionEvaluateArgs.builder()
.attribute("string")
.build())
.build())
.ipv6Expression(TrafficPolicyPolicyStatementConditionIpv6ExpressionArgs.builder()
.operator("string")
.values("string")
.evaluate(TrafficPolicyPolicyStatementConditionIpv6ExpressionEvaluateArgs.builder()
.attribute("string")
.build())
.build())
.stringExpression(TrafficPolicyPolicyStatementConditionStringExpressionArgs.builder()
.operator("string")
.values("string")
.evaluate(TrafficPolicyPolicyStatementConditionStringExpressionEvaluateArgs.builder()
.analysis(TrafficPolicyPolicyStatementConditionStringExpressionEvaluateAnalysisArgs.builder()
.analyzer("string")
.resultField("string")
.build())
.attribute("string")
.build())
.build())
.tlsExpression(TrafficPolicyPolicyStatementConditionTlsExpressionArgs.builder()
.operator("string")
.value("string")
.evaluate(TrafficPolicyPolicyStatementConditionTlsExpressionEvaluateArgs.builder()
.attribute("string")
.build())
.build())
.build())
.build())
.region("string")
.tags(Map.of("string", "string"))
.build());
traffic_policy_resource = aws.mailmanager.TrafficPolicy("trafficPolicyResource",
default_action="string",
max_message_size_bytes=0,
name="string",
policy_statements=[{
"action": "string",
"conditions": [{
"boolean_expression": {
"operator": "string",
"evaluate": {
"analysis": {
"analyzer": "string",
"result_field": "string",
},
"is_in_address_list": {
"address_lists": ["string"],
"attribute": "string",
},
},
},
"ip_expression": {
"operator": "string",
"values": ["string"],
"evaluate": {
"attribute": "string",
},
},
"ipv6_expression": {
"operator": "string",
"values": ["string"],
"evaluate": {
"attribute": "string",
},
},
"string_expression": {
"operator": "string",
"values": ["string"],
"evaluate": {
"analysis": {
"analyzer": "string",
"result_field": "string",
},
"attribute": "string",
},
},
"tls_expression": {
"operator": "string",
"value": "string",
"evaluate": {
"attribute": "string",
},
},
}],
}],
region="string",
tags={
"string": "string",
})
const trafficPolicyResource = new aws.mailmanager.TrafficPolicy("trafficPolicyResource", {
defaultAction: "string",
maxMessageSizeBytes: 0,
name: "string",
policyStatements: [{
action: "string",
conditions: [{
booleanExpression: {
operator: "string",
evaluate: {
analysis: {
analyzer: "string",
resultField: "string",
},
isInAddressList: {
addressLists: ["string"],
attribute: "string",
},
},
},
ipExpression: {
operator: "string",
values: ["string"],
evaluate: {
attribute: "string",
},
},
ipv6Expression: {
operator: "string",
values: ["string"],
evaluate: {
attribute: "string",
},
},
stringExpression: {
operator: "string",
values: ["string"],
evaluate: {
analysis: {
analyzer: "string",
resultField: "string",
},
attribute: "string",
},
},
tlsExpression: {
operator: "string",
value: "string",
evaluate: {
attribute: "string",
},
},
}],
}],
region: "string",
tags: {
string: "string",
},
});
type: aws:mailmanager:TrafficPolicy
properties:
defaultAction: string
maxMessageSizeBytes: 0
name: string
policyStatements:
- action: string
conditions:
- booleanExpression:
evaluate:
analysis:
analyzer: string
resultField: string
isInAddressList:
addressLists:
- string
attribute: string
operator: string
ipExpression:
evaluate:
attribute: string
operator: string
values:
- string
ipv6Expression:
evaluate:
attribute: string
operator: string
values:
- string
stringExpression:
evaluate:
analysis:
analyzer: string
resultField: string
attribute: string
operator: string
values:
- string
tlsExpression:
evaluate:
attribute: string
operator: string
value: string
region: string
tags:
string: string
TrafficPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TrafficPolicy resource accepts the following input properties:
- Default
Action string - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - Max
Message intSize Bytes - Maximum message size, in bytes, allowed by the traffic policy.
- Name string
- Name of the traffic policy.
- Policy
Statements List<TrafficPolicy Policy Statement> Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Default
Action string - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - Max
Message intSize Bytes - Maximum message size, in bytes, allowed by the traffic policy.
- Name string
- Name of the traffic policy.
- Policy
Statements []TrafficPolicy Policy Statement Args Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- default_
action string - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - max_
message_ numbersize_ bytes - Maximum message size, in bytes, allowed by the traffic policy.
- name string
- Name of the traffic policy.
- policy_
statements list(object) Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- default
Action String - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - max
Message IntegerSize Bytes - Maximum message size, in bytes, allowed by the traffic policy.
- name String
- Name of the traffic policy.
- policy
Statements List<TrafficPolicy Policy Statement> Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- default
Action string - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - max
Message numberSize Bytes - Maximum message size, in bytes, allowed by the traffic policy.
- name string
- Name of the traffic policy.
- policy
Statements TrafficPolicy Policy Statement[] Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- default_
action str - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - max_
message_ intsize_ bytes - Maximum message size, in bytes, allowed by the traffic policy.
- name str
- Name of the traffic policy.
- policy_
statements Sequence[TrafficPolicy Policy Statement Args] Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- default
Action String - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - max
Message NumberSize Bytes - Maximum message size, in bytes, allowed by the traffic policy.
- name String
- Name of the traffic policy.
- policy
Statements List<Property Map> Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the TrafficPolicy resource produces the following output properties:
- Arn string
- ARN of the traffic policy.
- Created
Timestamp string - Timestamp when the traffic policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTimestamp - Timestamp when the traffic policy was last updated.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN of the traffic policy.
- Created
Timestamp string - Timestamp when the traffic policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTimestamp - Timestamp when the traffic policy was last updated.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the traffic policy.
- created_
timestamp string - Timestamp when the traffic policy was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last_
updated_ stringtimestamp - Timestamp when the traffic policy was last updated.
- map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the traffic policy.
- created
Timestamp String - Timestamp when the traffic policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTimestamp - Timestamp when the traffic policy was last updated.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the traffic policy.
- created
Timestamp string - Timestamp when the traffic policy was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringTimestamp - Timestamp when the traffic policy was last updated.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN of the traffic policy.
- created_
timestamp str - Timestamp when the traffic policy was created.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strtimestamp - Timestamp when the traffic policy was last updated.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the traffic policy.
- created
Timestamp String - Timestamp when the traffic policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTimestamp - Timestamp when the traffic policy was last updated.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing TrafficPolicy Resource
Get an existing TrafficPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TrafficPolicyState, opts?: CustomResourceOptions): TrafficPolicy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
created_timestamp: Optional[str] = None,
default_action: Optional[str] = None,
last_updated_timestamp: Optional[str] = None,
max_message_size_bytes: Optional[int] = None,
name: Optional[str] = None,
policy_statements: Optional[Sequence[TrafficPolicyPolicyStatementArgs]] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> TrafficPolicyfunc GetTrafficPolicy(ctx *Context, name string, id IDInput, state *TrafficPolicyState, opts ...ResourceOption) (*TrafficPolicy, error)public static TrafficPolicy Get(string name, Input<string> id, TrafficPolicyState? state, CustomResourceOptions? opts = null)public static TrafficPolicy get(String name, Output<String> id, TrafficPolicyState state, CustomResourceOptions options)resources: _: type: aws:mailmanager:TrafficPolicy get: id: ${id}import {
to = aws_mailmanager_traffic_policy.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the traffic policy.
- Created
Timestamp string - Timestamp when the traffic policy was created.
- Default
Action string - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - Last
Updated stringTimestamp - Timestamp when the traffic policy was last updated.
- Max
Message intSize Bytes - Maximum message size, in bytes, allowed by the traffic policy.
- Name string
- Name of the traffic policy.
- Policy
Statements List<TrafficPolicy Policy Statement> Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN of the traffic policy.
- Created
Timestamp string - Timestamp when the traffic policy was created.
- Default
Action string - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - Last
Updated stringTimestamp - Timestamp when the traffic policy was last updated.
- Max
Message intSize Bytes - Maximum message size, in bytes, allowed by the traffic policy.
- Name string
- Name of the traffic policy.
- Policy
Statements []TrafficPolicy Policy Statement Args Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the traffic policy.
- created_
timestamp string - Timestamp when the traffic policy was created.
- default_
action string - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - last_
updated_ stringtimestamp - Timestamp when the traffic policy was last updated.
- max_
message_ numbersize_ bytes - Maximum message size, in bytes, allowed by the traffic policy.
- name string
- Name of the traffic policy.
- policy_
statements list(object) Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the traffic policy.
- created
Timestamp String - Timestamp when the traffic policy was created.
- default
Action String - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - last
Updated StringTimestamp - Timestamp when the traffic policy was last updated.
- max
Message IntegerSize Bytes - Maximum message size, in bytes, allowed by the traffic policy.
- name String
- Name of the traffic policy.
- policy
Statements List<TrafficPolicy Policy Statement> Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the traffic policy.
- created
Timestamp string - Timestamp when the traffic policy was created.
- default
Action string - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - last
Updated stringTimestamp - Timestamp when the traffic policy was last updated.
- max
Message numberSize Bytes - Maximum message size, in bytes, allowed by the traffic policy.
- name string
- Name of the traffic policy.
- policy
Statements TrafficPolicy Policy Statement[] Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN of the traffic policy.
- created_
timestamp str - Timestamp when the traffic policy was created.
- default_
action str - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - last_
updated_ strtimestamp - Timestamp when the traffic policy was last updated.
- max_
message_ intsize_ bytes - Maximum message size, in bytes, allowed by the traffic policy.
- name str
- Name of the traffic policy.
- policy_
statements Sequence[TrafficPolicy Policy Statement Args] Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the traffic policy.
- created
Timestamp String - Timestamp when the traffic policy was created.
- default
Action String - Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY. - last
Updated StringTimestamp - Timestamp when the traffic policy was last updated.
- max
Message NumberSize Bytes - Maximum message size, in bytes, allowed by the traffic policy.
- name String
- Name of the traffic policy.
- policy
Statements List<Property Map> Traffic policy statements. See
policyStatementBlock below.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Supporting Types
TrafficPolicyPolicyStatement, TrafficPolicyPolicyStatementArgs
- Action string
- Action applied when all conditions match. Valid values are
ALLOWandDENY. - Conditions
List<Traffic
Policy Policy Statement Condition> - Conditions evaluated by the statement. See
conditionBlock below.
- Action string
- Action applied when all conditions match. Valid values are
ALLOWandDENY. - Conditions
[]Traffic
Policy Policy Statement Condition - Conditions evaluated by the statement. See
conditionBlock below.
- action string
- Action applied when all conditions match. Valid values are
ALLOWandDENY. - conditions list(object)
- Conditions evaluated by the statement. See
conditionBlock below.
- action String
- Action applied when all conditions match. Valid values are
ALLOWandDENY. - conditions
List<Traffic
Policy Policy Statement Condition> - Conditions evaluated by the statement. See
conditionBlock below.
- action string
- Action applied when all conditions match. Valid values are
ALLOWandDENY. - conditions
Traffic
Policy Policy Statement Condition[] - Conditions evaluated by the statement. See
conditionBlock below.
- action str
- Action applied when all conditions match. Valid values are
ALLOWandDENY. - conditions
Sequence[Traffic
Policy Policy Statement Condition] - Conditions evaluated by the statement. See
conditionBlock below.
- action String
- Action applied when all conditions match. Valid values are
ALLOWandDENY. - conditions List<Property Map>
- Conditions evaluated by the statement. See
conditionBlock below.
TrafficPolicyPolicyStatementCondition, TrafficPolicyPolicyStatementConditionArgs
- Boolean
Expression TrafficPolicy Policy Statement Condition Boolean Expression - Boolean comparison. See
booleanExpressionBlock below. - Ip
Expression TrafficPolicy Policy Statement Condition Ip Expression - IPv4 address comparison. See
ipExpressionBlock below. - Ipv6Expression
Traffic
Policy Policy Statement Condition Ipv6Expression - IPv6 address comparison. See
ipv6ExpressionBlock below. - String
Expression TrafficPolicy Policy Statement Condition String Expression - String comparison. See
stringExpressionBlock below. - Tls
Expression TrafficPolicy Policy Statement Condition Tls Expression - TLS policy comparison. See
tlsExpressionBlock below.
- Boolean
Expression TrafficPolicy Policy Statement Condition Boolean Expression - Boolean comparison. See
booleanExpressionBlock below. - Ip
Expression TrafficPolicy Policy Statement Condition Ip Expression - IPv4 address comparison. See
ipExpressionBlock below. - Ipv6Expression
Traffic
Policy Policy Statement Condition Ipv6Expression - IPv6 address comparison. See
ipv6ExpressionBlock below. - String
Expression TrafficPolicy Policy Statement Condition String Expression - String comparison. See
stringExpressionBlock below. - Tls
Expression TrafficPolicy Policy Statement Condition Tls Expression - TLS policy comparison. See
tlsExpressionBlock below.
- boolean_
expression object - Boolean comparison. See
booleanExpressionBlock below. - ip_
expression object - IPv4 address comparison. See
ipExpressionBlock below. - ipv6_
expression object - IPv6 address comparison. See
ipv6ExpressionBlock below. - string_
expression object - String comparison. See
stringExpressionBlock below. - tls_
expression object - TLS policy comparison. See
tlsExpressionBlock below.
- boolean
Expression TrafficPolicy Policy Statement Condition Boolean Expression - Boolean comparison. See
booleanExpressionBlock below. - ip
Expression TrafficPolicy Policy Statement Condition Ip Expression - IPv4 address comparison. See
ipExpressionBlock below. - ipv6Expression
Traffic
Policy Policy Statement Condition Ipv6Expression - IPv6 address comparison. See
ipv6ExpressionBlock below. - string
Expression TrafficPolicy Policy Statement Condition String Expression - String comparison. See
stringExpressionBlock below. - tls
Expression TrafficPolicy Policy Statement Condition Tls Expression - TLS policy comparison. See
tlsExpressionBlock below.
- boolean
Expression TrafficPolicy Policy Statement Condition Boolean Expression - Boolean comparison. See
booleanExpressionBlock below. - ip
Expression TrafficPolicy Policy Statement Condition Ip Expression - IPv4 address comparison. See
ipExpressionBlock below. - ipv6Expression
Traffic
Policy Policy Statement Condition Ipv6Expression - IPv6 address comparison. See
ipv6ExpressionBlock below. - string
Expression TrafficPolicy Policy Statement Condition String Expression - String comparison. See
stringExpressionBlock below. - tls
Expression TrafficPolicy Policy Statement Condition Tls Expression - TLS policy comparison. See
tlsExpressionBlock below.
- boolean_
expression TrafficPolicy Policy Statement Condition Boolean Expression - Boolean comparison. See
booleanExpressionBlock below. - ip_
expression TrafficPolicy Policy Statement Condition Ip Expression - IPv4 address comparison. See
ipExpressionBlock below. - ipv6_
expression TrafficPolicy Policy Statement Condition Ipv6Expression - IPv6 address comparison. See
ipv6ExpressionBlock below. - string_
expression TrafficPolicy Policy Statement Condition String Expression - String comparison. See
stringExpressionBlock below. - tls_
expression TrafficPolicy Policy Statement Condition Tls Expression - TLS policy comparison. See
tlsExpressionBlock below.
- boolean
Expression Property Map - Boolean comparison. See
booleanExpressionBlock below. - ip
Expression Property Map - IPv4 address comparison. See
ipExpressionBlock below. - ipv6Expression Property Map
- IPv6 address comparison. See
ipv6ExpressionBlock below. - string
Expression Property Map - String comparison. See
stringExpressionBlock below. - tls
Expression Property Map - TLS policy comparison. See
tlsExpressionBlock below.
TrafficPolicyPolicyStatementConditionBooleanExpression, TrafficPolicyPolicyStatementConditionBooleanExpressionArgs
- Operator string
- Boolean operator used for the comparison.
- Evaluate
Traffic
Policy Policy Statement Condition Boolean Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.boolean_expression.evaluateBlock below.
- Operator string
- Boolean operator used for the comparison.
- Evaluate
Traffic
Policy Policy Statement Condition Boolean Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.boolean_expression.evaluateBlock below.
- operator String
- Boolean operator used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Boolean Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.boolean_expression.evaluateBlock below.
- operator string
- Boolean operator used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Boolean Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.boolean_expression.evaluateBlock below.
- operator str
- Boolean operator used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Boolean Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.boolean_expression.evaluateBlock below.
- operator String
- Boolean operator used for the comparison.
- evaluate Property Map
- Operand evaluated by the expression. See
policy_statement.condition.boolean_expression.evaluateBlock below.
TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluate, TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateArgs
- Analysis
Traffic
Policy Policy Statement Condition Boolean Expression Evaluate Analysis - Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - Is
In TrafficAddress List Policy Policy Statement Condition Boolean Expression Evaluate Is In Address List - Address list membership check. See
isInAddressListBlock below.
- Analysis
Traffic
Policy Policy Statement Condition Boolean Expression Evaluate Analysis - Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - Is
In TrafficAddress List Policy Policy Statement Condition Boolean Expression Evaluate Is In Address List - Address list membership check. See
isInAddressListBlock below.
- analysis object
- Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - is_
in_ objectaddress_ list - Address list membership check. See
isInAddressListBlock below.
- analysis
Traffic
Policy Policy Statement Condition Boolean Expression Evaluate Analysis - Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - is
In TrafficAddress List Policy Policy Statement Condition Boolean Expression Evaluate Is In Address List - Address list membership check. See
isInAddressListBlock below.
- analysis
Traffic
Policy Policy Statement Condition Boolean Expression Evaluate Analysis - Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - is
In TrafficAddress List Policy Policy Statement Condition Boolean Expression Evaluate Is In Address List - Address list membership check. See
isInAddressListBlock below.
- analysis
Traffic
Policy Policy Statement Condition Boolean Expression Evaluate Analysis - Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - is_
in_ Trafficaddress_ list Policy Policy Statement Condition Boolean Expression Evaluate Is In Address List - Address list membership check. See
isInAddressListBlock below.
- analysis Property Map
- Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - is
In Property MapAddress List - Address list membership check. See
isInAddressListBlock below.
TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateAnalysis, TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateAnalysisArgs
- Analyzer string
- ARN of the analyzer performing the analysis.
- Result
Field string - Result field returned in the analysis.
- Analyzer string
- ARN of the analyzer performing the analysis.
- Result
Field string - Result field returned in the analysis.
- analyzer string
- ARN of the analyzer performing the analysis.
- result_
field string - Result field returned in the analysis.
- analyzer String
- ARN of the analyzer performing the analysis.
- result
Field String - Result field returned in the analysis.
- analyzer string
- ARN of the analyzer performing the analysis.
- result
Field string - Result field returned in the analysis.
- analyzer str
- ARN of the analyzer performing the analysis.
- result_
field str - Result field returned in the analysis.
- analyzer String
- ARN of the analyzer performing the analysis.
- result
Field String - Result field returned in the analysis.
TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateIsInAddressList, TrafficPolicyPolicyStatementConditionBooleanExpressionEvaluateIsInAddressListArgs
- Address
Lists List<string> - List containing exactly one address list ARN to check membership against.
- Attribute string
- Email attribute to check against the address list.
- Address
Lists []string - List containing exactly one address list ARN to check membership against.
- Attribute string
- Email attribute to check against the address list.
- address_
lists list(string) - List containing exactly one address list ARN to check membership against.
- attribute string
- Email attribute to check against the address list.
- address
Lists List<String> - List containing exactly one address list ARN to check membership against.
- attribute String
- Email attribute to check against the address list.
- address
Lists string[] - List containing exactly one address list ARN to check membership against.
- attribute string
- Email attribute to check against the address list.
- address_
lists Sequence[str] - List containing exactly one address list ARN to check membership against.
- attribute str
- Email attribute to check against the address list.
- address
Lists List<String> - List containing exactly one address list ARN to check membership against.
- attribute String
- Email attribute to check against the address list.
TrafficPolicyPolicyStatementConditionIpExpression, TrafficPolicyPolicyStatementConditionIpExpressionArgs
- Operator string
- IP address operator used for the comparison.
- Values List<string>
- IPv4 CIDR ranges used for the comparison.
- Evaluate
Traffic
Policy Policy Statement Condition Ip Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.ip_expression.evaluateBlock below.
- Operator string
- IP address operator used for the comparison.
- Values []string
- IPv4 CIDR ranges used for the comparison.
- Evaluate
Traffic
Policy Policy Statement Condition Ip Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.ip_expression.evaluateBlock below.
- operator String
- IP address operator used for the comparison.
- values List<String>
- IPv4 CIDR ranges used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Ip Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.ip_expression.evaluateBlock below.
- operator string
- IP address operator used for the comparison.
- values string[]
- IPv4 CIDR ranges used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Ip Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.ip_expression.evaluateBlock below.
- operator str
- IP address operator used for the comparison.
- values Sequence[str]
- IPv4 CIDR ranges used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Ip Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.ip_expression.evaluateBlock below.
- operator String
- IP address operator used for the comparison.
- values List<String>
- IPv4 CIDR ranges used for the comparison.
- evaluate Property Map
- Operand evaluated by the expression. See
policy_statement.condition.ip_expression.evaluateBlock below.
TrafficPolicyPolicyStatementConditionIpExpressionEvaluate, TrafficPolicyPolicyStatementConditionIpExpressionEvaluateArgs
- Attribute string
- Attribute string
- attribute string
- attribute String
- attribute string
- attribute str
- attribute String
TrafficPolicyPolicyStatementConditionIpv6Expression, TrafficPolicyPolicyStatementConditionIpv6ExpressionArgs
- Operator string
- IPv6 address operator used for the comparison.
- Values List<string>
- IPv6 CIDR ranges used for the comparison.
- Evaluate
Traffic
Policy Policy Statement Condition Ipv6Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.ipv6_expression.evaluateBlock below.
- Operator string
- IPv6 address operator used for the comparison.
- Values []string
- IPv6 CIDR ranges used for the comparison.
- Evaluate
Traffic
Policy Policy Statement Condition Ipv6Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.ipv6_expression.evaluateBlock below.
- operator String
- IPv6 address operator used for the comparison.
- values List<String>
- IPv6 CIDR ranges used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Ipv6Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.ipv6_expression.evaluateBlock below.
- operator string
- IPv6 address operator used for the comparison.
- values string[]
- IPv6 CIDR ranges used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Ipv6Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.ipv6_expression.evaluateBlock below.
- operator str
- IPv6 address operator used for the comparison.
- values Sequence[str]
- IPv6 CIDR ranges used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Ipv6Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.ipv6_expression.evaluateBlock below.
- operator String
- IPv6 address operator used for the comparison.
- values List<String>
- IPv6 CIDR ranges used for the comparison.
- evaluate Property Map
- Operand evaluated by the expression. See
policy_statement.condition.ipv6_expression.evaluateBlock below.
TrafficPolicyPolicyStatementConditionIpv6ExpressionEvaluate, TrafficPolicyPolicyStatementConditionIpv6ExpressionEvaluateArgs
- Attribute string
- Attribute string
- attribute string
- attribute String
- attribute string
- attribute str
- attribute String
TrafficPolicyPolicyStatementConditionStringExpression, TrafficPolicyPolicyStatementConditionStringExpressionArgs
- Operator string
- String operator used for the comparison.
- Values List<string>
- Strings used for the comparison.
- Evaluate
Traffic
Policy Policy Statement Condition String Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.string_expression.evaluateBlock below.
- Operator string
- String operator used for the comparison.
- Values []string
- Strings used for the comparison.
- Evaluate
Traffic
Policy Policy Statement Condition String Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.string_expression.evaluateBlock below.
- operator String
- String operator used for the comparison.
- values List<String>
- Strings used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition String Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.string_expression.evaluateBlock below.
- operator string
- String operator used for the comparison.
- values string[]
- Strings used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition String Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.string_expression.evaluateBlock below.
- operator str
- String operator used for the comparison.
- values Sequence[str]
- Strings used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition String Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.string_expression.evaluateBlock below.
- operator String
- String operator used for the comparison.
- values List<String>
- Strings used for the comparison.
- evaluate Property Map
- Operand evaluated by the expression. See
policy_statement.condition.string_expression.evaluateBlock below.
TrafficPolicyPolicyStatementConditionStringExpressionEvaluate, TrafficPolicyPolicyStatementConditionStringExpressionEvaluateArgs
- Analysis
Traffic
Policy Policy Statement Condition String Expression Evaluate Analysis - Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - Attribute string
- Analysis
Traffic
Policy Policy Statement Condition String Expression Evaluate Analysis - Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - Attribute string
- analysis
Traffic
Policy Policy Statement Condition String Expression Evaluate Analysis - Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - attribute String
- analysis
Traffic
Policy Policy Statement Condition String Expression Evaluate Analysis - Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - attribute string
- analysis
Traffic
Policy Policy Statement Condition String Expression Evaluate Analysis - Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - attribute str
- analysis Property Map
- Analysis result to evaluate. See
policy_statement.condition.string_expression.evaluate.analysisBlock below. - attribute String
TrafficPolicyPolicyStatementConditionStringExpressionEvaluateAnalysis, TrafficPolicyPolicyStatementConditionStringExpressionEvaluateAnalysisArgs
- Analyzer string
- ARN of the analyzer performing the analysis.
- Result
Field string - Result field returned in the analysis.
- Analyzer string
- ARN of the analyzer performing the analysis.
- Result
Field string - Result field returned in the analysis.
- analyzer string
- ARN of the analyzer performing the analysis.
- result_
field string - Result field returned in the analysis.
- analyzer String
- ARN of the analyzer performing the analysis.
- result
Field String - Result field returned in the analysis.
- analyzer string
- ARN of the analyzer performing the analysis.
- result
Field string - Result field returned in the analysis.
- analyzer str
- ARN of the analyzer performing the analysis.
- result_
field str - Result field returned in the analysis.
- analyzer String
- ARN of the analyzer performing the analysis.
- result
Field String - Result field returned in the analysis.
TrafficPolicyPolicyStatementConditionTlsExpression, TrafficPolicyPolicyStatementConditionTlsExpressionArgs
- Operator string
- TLS policy operator used for the comparison.
- Value string
- TLS policy used for the comparison.
- Evaluate
Traffic
Policy Policy Statement Condition Tls Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.tls_expression.evaluateBlock below.
- Operator string
- TLS policy operator used for the comparison.
- Value string
- TLS policy used for the comparison.
- Evaluate
Traffic
Policy Policy Statement Condition Tls Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.tls_expression.evaluateBlock below.
- operator String
- TLS policy operator used for the comparison.
- value String
- TLS policy used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Tls Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.tls_expression.evaluateBlock below.
- operator string
- TLS policy operator used for the comparison.
- value string
- TLS policy used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Tls Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.tls_expression.evaluateBlock below.
- operator str
- TLS policy operator used for the comparison.
- value str
- TLS policy used for the comparison.
- evaluate
Traffic
Policy Policy Statement Condition Tls Expression Evaluate - Operand evaluated by the expression. See
policy_statement.condition.tls_expression.evaluateBlock below.
- operator String
- TLS policy operator used for the comparison.
- value String
- TLS policy used for the comparison.
- evaluate Property Map
- Operand evaluated by the expression. See
policy_statement.condition.tls_expression.evaluateBlock below.
TrafficPolicyPolicyStatementConditionTlsExpressionEvaluate, TrafficPolicyPolicyStatementConditionTlsExpressionEvaluateArgs
- Attribute string
- Attribute string
- attribute string
- attribute String
- attribute string
- attribute str
- attribute String
Import
Identity Schema
Required
id(String) ID of the traffic policy.
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import an SES Mail Manager Traffic Policy using its ID. For example:
$ pulumi import aws:mailmanager/trafficPolicy:TrafficPolicy example example-id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Jul 30, 2026 by Pulumi