Receivers

class Receivers : KotlinCustomResource

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

NOTE: Available in v1.125.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.Receivers;
import com.pulumi.alicloud.directmail.ReceiversArgs;
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 Receivers("example", ReceiversArgs.builder()
.receiversAlias("tf-vme8@onaliyun.com")
.receiversName("vme8")
.build());
}
}

Import

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

$ pulumi import alicloud:directmail/receivers:Receivers example <id>

Properties

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

The description of receivers and 1-50 characters in length.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val receiversAlias: Output<String>

The alias of receivers. Must email address and less than 30 characters in length.

Link copied to clipboard
val receiversName: Output<String>

The name of the resource. The length that cannot be repeated is 1-30 characters.

Link copied to clipboard
val status: Output<Int>

The status of the resource. 0 means uploading, 1 means upload completed.

Link copied to clipboard
val urn: Output<String>