Viewing docs for ImprovMX v0.2.7
published on Tuesday, Mar 24, 2026 by lokkju
published on Tuesday, Mar 24, 2026 by lokkju
Viewing docs for ImprovMX v0.2.7
published on Tuesday, Mar 24, 2026 by lokkju
published on Tuesday, Mar 24, 2026 by lokkju
Manages an ImprovMX email alias (forwarding rule).
Create EmailAlias Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EmailAlias(name: string, args: EmailAliasArgs, opts?: CustomResourceOptions);@overload
def EmailAlias(resource_name: str,
args: EmailAliasArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EmailAlias(resource_name: str,
opts: Optional[ResourceOptions] = None,
alias: Optional[str] = None,
domain: Optional[str] = None,
forward: Optional[str] = None)func NewEmailAlias(ctx *Context, name string, args EmailAliasArgs, opts ...ResourceOption) (*EmailAlias, error)public EmailAlias(string name, EmailAliasArgs args, CustomResourceOptions? opts = null)
public EmailAlias(String name, EmailAliasArgs args)
public EmailAlias(String name, EmailAliasArgs args, CustomResourceOptions options)
type: improvmx:EmailAlias
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EmailAliasArgs
- 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 EmailAliasArgs
- 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 EmailAliasArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EmailAliasArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EmailAliasArgs
- 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 emailAliasResource = new Improvmx.Index.EmailAlias("emailAliasResource", new()
{
Alias = "string",
DomainName = "string",
Forward = "string",
});
example, err := improvmx.NewEmailAlias(ctx, "emailAliasResource", &improvmx.EmailAliasArgs{
Alias: pulumi.String("string"),
Domain: pulumi.String("string"),
Forward: pulumi.String("string"),
})
var emailAliasResource = new EmailAlias("emailAliasResource", EmailAliasArgs.builder()
.alias("string")
.domain("string")
.forward("string")
.build());
email_alias_resource = improvmx.EmailAlias("emailAliasResource",
alias="string",
domain="string",
forward="string")
const emailAliasResource = new improvmx.EmailAlias("emailAliasResource", {
alias: "string",
domain: "string",
forward: "string",
});
type: improvmx:EmailAlias
properties:
alias: string
domain: string
forward: string
EmailAlias 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 EmailAlias resource accepts the following input properties:
- Alias string
- The alias name (e.g., 'info', '*' for catch-all).
- Domain
Name string - The domain this alias belongs to.
- Forward string
- Comma-separated destination email addresses.
Outputs
All input properties are implicitly available as output properties. Additionally, the EmailAlias resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- improvmx lokkju/pulumi-improvmx
- License
Viewing docs for ImprovMX v0.2.7
published on Tuesday, Mar 24, 2026 by lokkju
published on Tuesday, Mar 24, 2026 by lokkju
