MemberArgs

data class MemberArgs(val accountId: Output<String>? = null, val email: Output<String>? = null, val invitationDisableEmailNotification: Output<Boolean>? = null, val invitationMessage: Output<String>? = null, val invite: Output<Boolean>? = null, val status: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<MemberArgs>

Provides a resource to manage an Amazon Macie Member.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.macie2.Account;
import com.pulumi.aws.macie2.Member;
import com.pulumi.aws.macie2.MemberArgs;
import com.pulumi.resources.CustomResourceOptions;
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 exampleAccount = new Account("exampleAccount");
var exampleMember = new Member("exampleMember", MemberArgs.builder()
.accountId("AWS ACCOUNT ID")
.email("EMAIL")
.invite(true)
.invitationMessage("Message of the invitation")
.invitationDisableEmailNotification(true)
.build(), CustomResourceOptions.builder()
.dependsOn(exampleAccount)
.build());
}
}

Import

aws_macie2_member can be imported using the account ID of the member account, e.g.,

$ pulumi import aws:macie2/member:Member example 123456789012

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, email: Output<String>? = null, invitationDisableEmailNotification: Output<Boolean>? = null, invitationMessage: Output<String>? = null, invite: Output<Boolean>? = null, status: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

The AWS account ID for the account.

Link copied to clipboard
val email: Output<String>? = null

The email address for the account.

Link copied to clipboard

Specifies whether to send an email notification to the root user of each account that the invitation will be sent to. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. To send an email notification to the root user of each account, set this value to true.

Link copied to clipboard
val invitationMessage: Output<String>? = null

A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.

Link copied to clipboard
val invite: Output<Boolean>? = null

Send an invitation to a member

Link copied to clipboard
val status: Output<String>? = null

Specifies the status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED. Valid values are ENABLED or PAUSED.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.

Functions

Link copied to clipboard
open override fun toJava(): MemberArgs