MailAddress

Provides a Direct Mail Mail Address resource. For information about Direct Mail Mail Address and how to use it, see What is Mail Address.

NOTE: Available in v1.134.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.directmail.MailAddress;
import com.pulumi.alicloud.directmail.MailAddressArgs;
import java.util.List;
import java.util.ArrayList;
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 MailAddress("example", MailAddressArgs.builder()
.accountName("example_value@email.com")
.sendtype("batch")
.build());
}
}

Import

Direct Mail Mail Address can be imported using the id, e.g.

$ pulumi import alicloud:directmail/mailAddress:MailAddress example <id>

Properties

Link copied to clipboard
val accountName: Output<String>

The sender address. The email address must be filled in the format of account@domain, and only lowercase letters or numbers can be used.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val password: Output<String>?

Account password. The password must be length 10-20 string, contains numbers, uppercase letters, lowercase letters at the same time.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val replyAddress: Output<String>?

Return address.

Link copied to clipboard
val sendtype: Output<String>

Account type. Valid values: batch, trigger.

Link copied to clipboard
val status: Output<String>

Account Status freeze: 1, normal: 0.

Link copied to clipboard
val urn: Output<String>