mailgun

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	// contains filtered or unexported fields
}

Provides a Mailgun App resource. This can be used to create and manage applications on Mailgun.

After DNS records are set, domain verification should be triggered manually using [PUT /domains/\<domain\>/verify](https://documentation.mailgun.com/en/latest/api-domains.html#domains)

> This content is derived from https://github.com/terraform-providers/terraform-provider-mailgun/blob/master/website/docs/r/domain.html.markdown.

func GetDomain

func GetDomain(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DomainState, opts ...pulumi.ResourceOpt) (*Domain, error)

GetDomain gets an existing Domain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomain

func NewDomain(ctx *pulumi.Context,
	name string, args *DomainArgs, opts ...pulumi.ResourceOpt) (*Domain, error)

NewDomain registers a new resource with the given unique name, arguments, and options.

func (*Domain) ID

func (r *Domain) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Domain) Name

func (r *Domain) Name() pulumi.StringOutput

The domain to add to Mailgun

func (*Domain) ReceivingRecords

func (r *Domain) ReceivingRecords() pulumi.ArrayOutput

A list of DNS records for receiving validation.

func (*Domain) Region

func (r *Domain) Region() pulumi.StringOutput

The region where domain will be created. Default value is `us`.

func (*Domain) SendingRecords

func (r *Domain) SendingRecords() pulumi.ArrayOutput

A list of DNS records for sending validation.

func (*Domain) SmtpLogin

func (r *Domain) SmtpLogin() pulumi.StringOutput

The login email for the SMTP server.

func (*Domain) SmtpPassword

func (r *Domain) SmtpPassword() pulumi.StringOutput

The password to the SMTP server.

func (*Domain) SpamAction

func (r *Domain) SpamAction() pulumi.StringOutput

`disabled` or `tag` Disable, no spam filtering will occur for inbound messages. Tag, messages will be tagged with a spam header.

func (*Domain) URN

func (r *Domain) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Domain) Wildcard

func (r *Domain) Wildcard() pulumi.BoolOutput

Boolean that determines whether the domain will accept email for sub-domains.

type DomainArgs

type DomainArgs struct {
	// The domain to add to Mailgun
	Name interface{}
	// The region where domain will be created. Default value is `us`.
	Region interface{}
	// `disabled` or `tag` Disable, no spam
	// filtering will occur for inbound messages. Tag, messages
	// will be tagged with a spam header.
	SpamAction interface{}
	// Boolean that determines whether
	// the domain will accept email for sub-domains.
	Wildcard interface{}
}

The set of arguments for constructing a Domain resource.

type DomainState

type DomainState struct {
	// The domain to add to Mailgun
	Name interface{}
	// A list of DNS records for receiving validation.
	ReceivingRecords interface{}
	// The region where domain will be created. Default value is `us`.
	Region interface{}
	// A list of DNS records for sending validation.
	SendingRecords interface{}
	// The login email for the SMTP server.
	SmtpLogin interface{}
	// The password to the SMTP server.
	SmtpPassword interface{}
	// `disabled` or `tag` Disable, no spam
	// filtering will occur for inbound messages. Tag, messages
	// will be tagged with a spam header.
	SpamAction interface{}
	// Boolean that determines whether
	// the domain will accept email for sub-domains.
	Wildcard interface{}
}

Input properties used for looking up and filtering Domain resources.

type Route

type Route struct {
	// contains filtered or unexported fields
}

Provides a Mailgun Route resource. This can be used to create and manage routes on Mailgun.

> This content is derived from https://github.com/terraform-providers/terraform-provider-mailgun/blob/master/website/docs/r/route.html.markdown.

func GetRoute

func GetRoute(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RouteState, opts ...pulumi.ResourceOpt) (*Route, error)

GetRoute gets an existing Route resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoute

func NewRoute(ctx *pulumi.Context,
	name string, args *RouteArgs, opts ...pulumi.ResourceOpt) (*Route, error)

NewRoute registers a new resource with the given unique name, arguments, and options.

func (*Route) Actions

func (r *Route) Actions() pulumi.ArrayOutput

func (*Route) Description

func (r *Route) Description() pulumi.StringOutput

func (*Route) Expression

func (r *Route) Expression() pulumi.StringOutput

A filter expression like `match_recipient('.*@gmail.com')`

func (*Route) ID

func (r *Route) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Route) Priority

func (r *Route) Priority() pulumi.IntOutput

Smaller number indicates higher priority. Higher priority routes are handled first.

func (*Route) Region

func (r *Route) Region() pulumi.StringOutput

The region where domain will be created. Default value is `us`.

func (*Route) URN

func (r *Route) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type RouteArgs

type RouteArgs struct {
	Actions     interface{}
	Description interface{}
	// A filter expression like `match_recipient('.*@gmail.com')`
	Expression interface{}
	// Smaller number indicates higher priority. Higher priority routes are handled first.
	Priority interface{}
	// The region where domain will be created. Default value is `us`.
	Region interface{}
}

The set of arguments for constructing a Route resource.

type RouteState

type RouteState struct {
	Actions     interface{}
	Description interface{}
	// A filter expression like `match_recipient('.*@gmail.com')`
	Expression interface{}
	// Smaller number indicates higher priority. Higher priority routes are handled first.
	Priority interface{}
	// The region where domain will be created. Default value is `us`.
	Region interface{}
}

Input properties used for looking up and filtering Route resources.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL