IngressPoint class

Manages an AWS SES Mail Manager Ingress Point.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.mailmanager.IngressPoint("example", {
    name: "example",
    type: "OPEN",
    ruleSetId: exampleAwsMailmanagerRuleSet.id,
    trafficPolicyId: exampleAwsMailmanagerTrafficPolicy.id,
});
import pulumi
import pulumi_aws as aws

example = aws.mailmanager.IngressPoint("example",
    name="example",
    type="OPEN",
    rule_set_id=example_aws_mailmanager_rule_set["id"],
    traffic_policy_id=example_aws_mailmanager_traffic_policy["id"])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() =>
{
    var example = new Aws.MailManager.IngressPoint("example", new()
    {
        Name = "example",
        Type = "OPEN",
        RuleSetId = exampleAwsMailmanagerRuleSet.Id,
        TrafficPolicyId = exampleAwsMailmanagerTrafficPolicy.Id,
    });

});
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.NewIngressPoint(ctx, "example", &mailmanager.IngressPointArgs{
			Name:            pulumi.String("example"),
			Type:            pulumi.String("OPEN"),
			RuleSetId:       pulumi.Any(exampleAwsMailmanagerRuleSet.Id),
			TrafficPolicyId: pulumi.Any(exampleAwsMailmanagerTrafficPolicy.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
pulumi {
  required_providers {
    aws = {
      source = "pulumi/aws"
    }
  }
}

resource "aws_mailmanager_ingresspoint" "example" {
  name              = "example"
  type              = "OPEN"
  rule_set_id       = exampleAwsMailmanagerRuleSet.id
  traffic_policy_id = exampleAwsMailmanagerTrafficPolicy.id
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mailmanager.IngressPoint;
import com.pulumi.aws.mailmanager.IngressPointArgs;
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 IngressPoint("example", IngressPointArgs.builder()
            .name("example")
            .type("OPEN")
            .ruleSetId(exampleAwsMailmanagerRuleSet.id())
            .trafficPolicyId(exampleAwsMailmanagerTrafficPolicy.id())
            .build());

    }
}
resources:
  example:
    type: aws:mailmanager:IngressPoint
    properties:
      name: example
      type: OPEN
      ruleSetId: ${exampleAwsMailmanagerRuleSet.id}
      trafficPolicyId: ${exampleAwsMailmanagerTrafficPolicy.id}

Authenticated Ingress Point with SMTP Password

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.mailmanager.IngressPoint("example", {
    ingressPointConfiguration: {
        smtpPasswordWo: smtpPassword,
        smtpPasswordWoVersion: 1,
    },
    name: "example",
    type: "AUTH",
    ruleSetId: exampleAwsMailmanagerRuleSet.id,
    trafficPolicyId: exampleAwsMailmanagerTrafficPolicy.id,
});
import pulumi
import pulumi_aws as aws

example = aws.mailmanager.IngressPoint("example",
    ingress_point_configuration={
        "smtp_password_wo": smtp_password,
        "smtp_password_wo_version": 1,
    },
    name="example",
    type="AUTH",
    rule_set_id=example_aws_mailmanager_rule_set["id"],
    traffic_policy_id=example_aws_mailmanager_traffic_policy["id"])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() =>
{
    var example = new Aws.MailManager.IngressPoint("example", new()
    {
        IngressPointConfiguration = new Aws.MailManager.Inputs.IngressPointIngressPointConfigurationArgs
        {
            SmtpPasswordWo = smtpPassword,
            SmtpPasswordWoVersion = 1,
        },
        Name = "example",
        Type = "AUTH",
        RuleSetId = exampleAwsMailmanagerRuleSet.Id,
        TrafficPolicyId = exampleAwsMailmanagerTrafficPolicy.Id,
    });

});
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.NewIngressPoint(ctx, "example", &mailmanager.IngressPointArgs{
			IngressPointConfiguration: &mailmanager.IngressPointIngressPointConfigurationArgs{
				SmtpPasswordWo:        pulumi.Any(smtpPassword),
				SmtpPasswordWoVersion: pulumi.Int(1),
			},
			Name:            pulumi.String("example"),
			Type:            pulumi.String("AUTH"),
			RuleSetId:       pulumi.Any(exampleAwsMailmanagerRuleSet.Id),
			TrafficPolicyId: pulumi.Any(exampleAwsMailmanagerTrafficPolicy.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
pulumi {
  required_providers {
    aws = {
      source = "pulumi/aws"
    }
  }
}

resource "aws_mailmanager_ingresspoint" "example" {
  ingress_point_configuration = {
    smtp_password_wo         = smtpPassword
    smtp_password_wo_version = 1
  }
  name              = "example"
  type              = "AUTH"
  rule_set_id       = exampleAwsMailmanagerRuleSet.id
  traffic_policy_id = exampleAwsMailmanagerTrafficPolicy.id
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mailmanager.IngressPoint;
import com.pulumi.aws.mailmanager.IngressPointArgs;
import com.pulumi.aws.mailmanager.inputs.IngressPointIngressPointConfigurationArgs;
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 IngressPoint("example", IngressPointArgs.builder()
            .ingressPointConfiguration(IngressPointIngressPointConfigurationArgs.builder()
                .smtpPasswordWo(smtpPassword)
                .smtpPasswordWoVersion(1)
                .build())
            .name("example")
            .type("AUTH")
            .ruleSetId(exampleAwsMailmanagerRuleSet.id())
            .trafficPolicyId(exampleAwsMailmanagerTrafficPolicy.id())
            .build());

    }
}
resources:
  example:
    type: aws:mailmanager:IngressPoint
    properties:
      ingressPointConfiguration:
        smtpPasswordWo: ${smtpPassword}
        smtpPasswordWoVersion: 1
      name: example
      type: AUTH
      ruleSetId: ${exampleAwsMailmanagerRuleSet.id}
      trafficPolicyId: ${exampleAwsMailmanagerTrafficPolicy.id}

Private Network Configuration

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.mailmanager.IngressPoint("example", {
    networkConfiguration: {
        privateNetworkConfiguration: {
            vpcEndpointId: exampleAwsVpcEndpoint.id,
        },
    },
    name: "example",
    type: "OPEN",
    ruleSetId: exampleAwsMailmanagerRuleSet.id,
    trafficPolicyId: exampleAwsMailmanagerTrafficPolicy.id,
});
import pulumi
import pulumi_aws as aws

example = aws.mailmanager.IngressPoint("example",
    network_configuration={
        "private_network_configuration": {
            "vpc_endpoint_id": example_aws_vpc_endpoint["id"],
        },
    },
    name="example",
    type="OPEN",
    rule_set_id=example_aws_mailmanager_rule_set["id"],
    traffic_policy_id=example_aws_mailmanager_traffic_policy["id"])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() =>
{
    var example = new Aws.MailManager.IngressPoint("example", new()
    {
        NetworkConfiguration = new Aws.MailManager.Inputs.IngressPointNetworkConfigurationArgs
        {
            PrivateNetworkConfiguration = new Aws.MailManager.Inputs.IngressPointNetworkConfigurationPrivateNetworkConfigurationArgs
            {
                VpcEndpointId = exampleAwsVpcEndpoint.Id,
            },
        },
        Name = "example",
        Type = "OPEN",
        RuleSetId = exampleAwsMailmanagerRuleSet.Id,
        TrafficPolicyId = exampleAwsMailmanagerTrafficPolicy.Id,
    });

});
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.NewIngressPoint(ctx, "example", &mailmanager.IngressPointArgs{
			NetworkConfiguration: &mailmanager.IngressPointNetworkConfigurationArgs{
				PrivateNetworkConfiguration: &mailmanager.IngressPointNetworkConfigurationPrivateNetworkConfigurationArgs{
					VpcEndpointId: pulumi.Any(exampleAwsVpcEndpoint.Id),
				},
			},
			Name:            pulumi.String("example"),
			Type:            pulumi.String("OPEN"),
			RuleSetId:       pulumi.Any(exampleAwsMailmanagerRuleSet.Id),
			TrafficPolicyId: pulumi.Any(exampleAwsMailmanagerTrafficPolicy.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
pulumi {
  required_providers {
    aws = {
      source = "pulumi/aws"
    }
  }
}

resource "aws_mailmanager_ingresspoint" "example" {
  network_configuration = {
    private_network_configuration = {
      vpc_endpoint_id = exampleAwsVpcEndpoint.id
    }
  }
  name              = "example"
  type              = "OPEN"
  rule_set_id       = exampleAwsMailmanagerRuleSet.id
  traffic_policy_id = exampleAwsMailmanagerTrafficPolicy.id
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mailmanager.IngressPoint;
import com.pulumi.aws.mailmanager.IngressPointArgs;
import com.pulumi.aws.mailmanager.inputs.IngressPointNetworkConfigurationArgs;
import com.pulumi.aws.mailmanager.inputs.IngressPointNetworkConfigurationPrivateNetworkConfigurationArgs;
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 IngressPoint("example", IngressPointArgs.builder()
            .networkConfiguration(IngressPointNetworkConfigurationArgs.builder()
                .privateNetworkConfiguration(IngressPointNetworkConfigurationPrivateNetworkConfigurationArgs.builder()
                    .vpcEndpointId(exampleAwsVpcEndpoint.id())
                    .build())
                .build())
            .name("example")
            .type("OPEN")
            .ruleSetId(exampleAwsMailmanagerRuleSet.id())
            .trafficPolicyId(exampleAwsMailmanagerTrafficPolicy.id())
            .build());

    }
}
resources:
  example:
    type: aws:mailmanager:IngressPoint
    properties:
      networkConfiguration:
        privateNetworkConfiguration:
          vpcEndpointId: ${exampleAwsVpcEndpoint.id}
      name: example
      type: OPEN
      ruleSetId: ${exampleAwsMailmanagerRuleSet.id}
      trafficPolicyId: ${exampleAwsMailmanagerTrafficPolicy.id}

Import

Identity Schema

Required

  • id (String) Identifier of the Ingress Point.

Optional

  • accountId (String) AWS Account where this resource is managed.
  • region (String) Region where this resource is managed.

Using pulumi import, import SES Mail Manager Ingress Point using the id. For example:

$ pulumi import aws:mailmanager/ingressPoint:IngressPoint example ingress_point-id-12345678

Constructors

IngressPoint(String name, {IngressPointArgs? args, CustomResourceOptions? options})
Creates a new IngressPoint. name The Pulumi resource name. args Arguments used to configure this IngressPoint. The set of arguments for IngressPoint. options Resource options controlling this resource's behavior.
IngressPoint.reference(String urn)
Creates a typed reference to an existing IngressPoint resource.

Properties

aRecord ↔ Output<String>
DNS A record that identifies your ingress endpoint for email clients.
latefinal
arn ↔ Output<String>
ARN of the Ingress Point.
latefinal
childResources → Set<Resource>
finalinherited
completionSources ↔ Map<String, IOutputCompletionSource>
latefinalinherited
createdTimestamp ↔ Output<String>
Timestamp of when the ingress point was created.
latefinal
hashCode → int
The hash code for this object.
no setterinherited
id ↔ Output<String>
getter/setter pairinherited
ingressPointConfiguration ↔ Output<IngressPointIngressPointConfiguration?>
Configuration used to authenticate with the ingress point. See ingressPointConfiguration Block for details.
latefinal
isCustom → bool
Returns whether this resource is provider-managed.
no setterinherited
isProtected → bool
Returns whether this resource is protected from deletion.
no setterinherited
isRemote → bool
Whether this resource is registered as remote.
no setterinherited
isResourceReference → bool
Whether this instance represents a resource value returned over RPC.
finalinherited
lastUpdatedTimestamp ↔ Output<String>
Timestamp of when the ingress point was last updated.
latefinal
name ↔ Output<String>
Name of the ingress point.
latefinal
networkConfiguration ↔ Output<IngressPointNetworkConfiguration?>
Network configuration for the ingress point. See networkConfiguration Block for details. Changing this value forces a new resource.
latefinal
region ↔ Output<String>
Region where this resource is managed.
latefinal
resourceTransforms → List<ResourceTransform>
Inherited/explicit async transforms.
no setterinherited
ruleSetId ↔ Output<String>
Identifier of the rule set applied to the ingress point.
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ Output<String>
Status of the ingress point.
latefinal
tags ↔ Output<Map<String, String>?>
Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
latefinal
tagsAll ↔ Output<Map<String, String>>
Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
latefinal
timeouts ↔ Output<IngressPointTimeouts?>
latefinal
tlsPolicy ↔ Output<String>
TLS policy for the ingress point. Valid values are REQUIRED, OPTIONAL, and FIPS.
latefinal
trafficPolicyId ↔ Output<String>
Identifier of the traffic policy applied to the ingress point.
latefinal
transformations → List<ResourceTransformation>
Inherited/explicit legacy transformations.
no setterinherited
type ↔ Output<String>
Type of the ingress point. Valid values are OPEN, AUTH, and MTLS. Changing this value forces a new resource.
latefinal
urn ↔ Output<String>
latefinalinherited

Methods

failId(Object error) → void
Completes this resource ID with an error when registration fails.
inherited
failOutputs(Object error) → void
Completes all output properties with error.
inherited
failUrn(Object error) → void
Completes this resource URN with an error when registration fails.
inherited
getProvider(String moduleMember) → ProviderResource?
Returns provider for moduleMember's package, if configured.
inherited
getResourceName() → String
Returns this resource's logical name.
inherited
getResourceType() → String
Returns this resource's Pulumi type token.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerOutput<T>(String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output<T>
Registers a dynamic output property for this resource.
inherited
resolveId(String? value, {required bool isKnown}) → void
Resolves the provider-assigned ID for this resource.
inherited
resolveOutputs(Struct outputs) → void
Resolves all output properties from a monitor response payload.
inherited
resolveUrn(String value) → void
Resolves this resource's URN once assigned by the engine.
inherited
serializeProperties(Map<String, dynamic> properties) → Future<Struct>
Serializes resource properties for RPC transmission.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

get(String name, Input<String> id, {IngressPointState? state, CustomResourceOptions? options}) → IngressPoint
Gets an existing IngressPoint resource's state with the given name and id.