Documentation ¶
Index ¶
- type Domain
- func (r *Domain) ID() pulumi.IDOutput
- func (r *Domain) Name() pulumi.StringOutput
- func (r *Domain) ReceivingRecords() pulumi.ArrayOutput
- func (r *Domain) Region() pulumi.StringOutput
- func (r *Domain) SendingRecords() pulumi.ArrayOutput
- func (r *Domain) SmtpLogin() pulumi.StringOutput
- func (r *Domain) SmtpPassword() pulumi.StringOutput
- func (r *Domain) SpamAction() pulumi.StringOutput
- func (r *Domain) URN() pulumi.URNOutput
- func (r *Domain) Wildcard() pulumi.BoolOutput
- type DomainArgs
- type DomainState
- type Route
- func (r *Route) Actions() pulumi.ArrayOutput
- func (r *Route) Description() pulumi.StringOutput
- func (r *Route) Expression() pulumi.StringOutput
- func (r *Route) ID() pulumi.IDOutput
- func (r *Route) Priority() pulumi.IntOutput
- func (r *Route) Region() pulumi.StringOutput
- func (r *Route) URN() pulumi.URNOutput
- type RouteArgs
- type RouteState
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) 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) 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) Priority ¶
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`.
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.