1. Packages
  2. AWS
  3. API Docs
  4. macie2
  5. Member
AWS v6.73.0 published on Wednesday, Mar 19, 2025 by Pulumi

aws.macie2.Member

Explore with Pulumi AI

Provides a resource to manage an Amazon Macie Member.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.macie2.Account("example", {});
const exampleMember = new aws.macie2.Member("example", {
    accountId: "AWS ACCOUNT ID",
    email: "EMAIL",
    invite: true,
    invitationMessage: "Message of the invitation",
    invitationDisableEmailNotification: true,
}, {
    dependsOn: [example],
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.macie2.Account("example")
example_member = aws.macie2.Member("example",
    account_id="AWS ACCOUNT ID",
    email="EMAIL",
    invite=True,
    invitation_message="Message of the invitation",
    invitation_disable_email_notification=True,
    opts = pulumi.ResourceOptions(depends_on=[example]))
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/macie2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := macie2.NewAccount(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = macie2.NewMember(ctx, "example", &macie2.MemberArgs{
			AccountId:                          pulumi.String("AWS ACCOUNT ID"),
			Email:                              pulumi.String("EMAIL"),
			Invite:                             pulumi.Bool(true),
			InvitationMessage:                  pulumi.String("Message of the invitation"),
			InvitationDisableEmailNotification: pulumi.Bool(true),
		}, pulumi.DependsOn([]pulumi.Resource{
			example,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Macie2.Account("example");

    var exampleMember = new Aws.Macie2.Member("example", new()
    {
        AccountId = "AWS ACCOUNT ID",
        Email = "EMAIL",
        Invite = true,
        InvitationMessage = "Message of the invitation",
        InvitationDisableEmailNotification = true,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            example,
        },
    });

});
Copy
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 example = new Account("example");

        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(example)
                .build());

    }
}
Copy
resources:
  example:
    type: aws:macie2:Account
  exampleMember:
    type: aws:macie2:Member
    name: example
    properties:
      accountId: AWS ACCOUNT ID
      email: EMAIL
      invite: true
      invitationMessage: Message of the invitation
      invitationDisableEmailNotification: true
    options:
      dependsOn:
        - ${example}
Copy

Create Member Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Member(name: string, args: MemberArgs, opts?: CustomResourceOptions);
@overload
def Member(resource_name: str,
           args: MemberArgs,
           opts: Optional[ResourceOptions] = None)

@overload
def Member(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           account_id: Optional[str] = None,
           email: Optional[str] = None,
           invitation_disable_email_notification: Optional[bool] = None,
           invitation_message: Optional[str] = None,
           invite: Optional[bool] = None,
           status: Optional[str] = None,
           tags: Optional[Mapping[str, str]] = None)
func NewMember(ctx *Context, name string, args MemberArgs, opts ...ResourceOption) (*Member, error)
public Member(string name, MemberArgs args, CustomResourceOptions? opts = null)
public Member(String name, MemberArgs args)
public Member(String name, MemberArgs args, CustomResourceOptions options)
type: aws:macie2:Member
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MemberArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MemberArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MemberArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MemberArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MemberArgs
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 examplememberResourceResourceFromMacie2member = new Aws.Macie2.Member("examplememberResourceResourceFromMacie2member", new()
{
    AccountId = "string",
    Email = "string",
    InvitationDisableEmailNotification = false,
    InvitationMessage = "string",
    Invite = false,
    Status = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := macie2.NewMember(ctx, "examplememberResourceResourceFromMacie2member", &macie2.MemberArgs{
	AccountId:                          pulumi.String("string"),
	Email:                              pulumi.String("string"),
	InvitationDisableEmailNotification: pulumi.Bool(false),
	InvitationMessage:                  pulumi.String("string"),
	Invite:                             pulumi.Bool(false),
	Status:                             pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var examplememberResourceResourceFromMacie2member = new Member("examplememberResourceResourceFromMacie2member", MemberArgs.builder()
    .accountId("string")
    .email("string")
    .invitationDisableEmailNotification(false)
    .invitationMessage("string")
    .invite(false)
    .status("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
examplemember_resource_resource_from_macie2member = aws.macie2.Member("examplememberResourceResourceFromMacie2member",
    account_id="string",
    email="string",
    invitation_disable_email_notification=False,
    invitation_message="string",
    invite=False,
    status="string",
    tags={
        "string": "string",
    })
Copy
const examplememberResourceResourceFromMacie2member = new aws.macie2.Member("examplememberResourceResourceFromMacie2member", {
    accountId: "string",
    email: "string",
    invitationDisableEmailNotification: false,
    invitationMessage: "string",
    invite: false,
    status: "string",
    tags: {
        string: "string",
    },
});
Copy
type: aws:macie2:Member
properties:
    accountId: string
    email: string
    invitationDisableEmailNotification: false
    invitationMessage: string
    invite: false
    status: string
    tags:
        string: string
Copy

Member 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 Member resource accepts the following input properties:

AccountId
This property is required.
Changes to this property will trigger replacement.
string
The AWS account ID for the account.
Email
This property is required.
Changes to this property will trigger replacement.
string
The email address for the account.
InvitationDisableEmailNotification bool
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.
InvitationMessage string
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
Invite bool
Send an invitation to a member
Status string
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.
Tags Dictionary<string, string>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
AccountId
This property is required.
Changes to this property will trigger replacement.
string
The AWS account ID for the account.
Email
This property is required.
Changes to this property will trigger replacement.
string
The email address for the account.
InvitationDisableEmailNotification bool
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.
InvitationMessage string
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
Invite bool
Send an invitation to a member
Status string
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.
Tags map[string]string
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
accountId
This property is required.
Changes to this property will trigger replacement.
String
The AWS account ID for the account.
email
This property is required.
Changes to this property will trigger replacement.
String
The email address for the account.
invitationDisableEmailNotification Boolean
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.
invitationMessage String
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
invite Boolean
Send an invitation to a member
status String
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.
tags Map<String,String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
accountId
This property is required.
Changes to this property will trigger replacement.
string
The AWS account ID for the account.
email
This property is required.
Changes to this property will trigger replacement.
string
The email address for the account.
invitationDisableEmailNotification boolean
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.
invitationMessage string
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
invite boolean
Send an invitation to a member
status string
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.
tags {[key: string]: string}
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
account_id
This property is required.
Changes to this property will trigger replacement.
str
The AWS account ID for the account.
email
This property is required.
Changes to this property will trigger replacement.
str
The email address for the account.
invitation_disable_email_notification bool
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.
invitation_message str
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
invite bool
Send an invitation to a member
status str
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.
tags Mapping[str, str]
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
accountId
This property is required.
Changes to this property will trigger replacement.
String
The AWS account ID for the account.
email
This property is required.
Changes to this property will trigger replacement.
String
The email address for the account.
invitationDisableEmailNotification Boolean
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.
invitationMessage String
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
invite Boolean
Send an invitation to a member
status String
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.
tags Map<String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the Member resource produces the following output properties:

AdministratorAccountId string
The AWS account ID for the administrator account.
Arn string
The Amazon Resource Name (ARN) of the account.
Id string
The provider-assigned unique ID for this managed resource.
InvitedAt string
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
MasterAccountId string
RelationshipStatus string
The current status of the relationship between the account and the administrator account.
TagsAll Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

UpdatedAt string
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.
AdministratorAccountId string
The AWS account ID for the administrator account.
Arn string
The Amazon Resource Name (ARN) of the account.
Id string
The provider-assigned unique ID for this managed resource.
InvitedAt string
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
MasterAccountId string
RelationshipStatus string
The current status of the relationship between the account and the administrator account.
TagsAll map[string]string
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

UpdatedAt string
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.
administratorAccountId String
The AWS account ID for the administrator account.
arn String
The Amazon Resource Name (ARN) of the account.
id String
The provider-assigned unique ID for this managed resource.
invitedAt String
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
masterAccountId String
relationshipStatus String
The current status of the relationship between the account and the administrator account.
tagsAll Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

updatedAt String
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.
administratorAccountId string
The AWS account ID for the administrator account.
arn string
The Amazon Resource Name (ARN) of the account.
id string
The provider-assigned unique ID for this managed resource.
invitedAt string
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
masterAccountId string
relationshipStatus string
The current status of the relationship between the account and the administrator account.
tagsAll {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

updatedAt string
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.
administrator_account_id str
The AWS account ID for the administrator account.
arn str
The Amazon Resource Name (ARN) of the account.
id str
The provider-assigned unique ID for this managed resource.
invited_at str
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
master_account_id str
relationship_status str
The current status of the relationship between the account and the administrator account.
tags_all Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

updated_at str
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.
administratorAccountId String
The AWS account ID for the administrator account.
arn String
The Amazon Resource Name (ARN) of the account.
id String
The provider-assigned unique ID for this managed resource.
invitedAt String
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
masterAccountId String
relationshipStatus String
The current status of the relationship between the account and the administrator account.
tagsAll Map<String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

updatedAt String
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.

Look up Existing Member Resource

Get an existing Member resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: MemberState, opts?: CustomResourceOptions): Member
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        administrator_account_id: Optional[str] = None,
        arn: Optional[str] = None,
        email: Optional[str] = None,
        invitation_disable_email_notification: Optional[bool] = None,
        invitation_message: Optional[str] = None,
        invite: Optional[bool] = None,
        invited_at: Optional[str] = None,
        master_account_id: Optional[str] = None,
        relationship_status: Optional[str] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        updated_at: Optional[str] = None) -> Member
func GetMember(ctx *Context, name string, id IDInput, state *MemberState, opts ...ResourceOption) (*Member, error)
public static Member Get(string name, Input<string> id, MemberState? state, CustomResourceOptions? opts = null)
public static Member get(String name, Output<String> id, MemberState state, CustomResourceOptions options)
resources:  _:    type: aws:macie2:Member    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccountId Changes to this property will trigger replacement. string
The AWS account ID for the account.
AdministratorAccountId string
The AWS account ID for the administrator account.
Arn string
The Amazon Resource Name (ARN) of the account.
Email Changes to this property will trigger replacement. string
The email address for the account.
InvitationDisableEmailNotification bool
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.
InvitationMessage string
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
Invite bool
Send an invitation to a member
InvitedAt string
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
MasterAccountId string
RelationshipStatus string
The current status of the relationship between the account and the administrator account.
Status string
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.
Tags Dictionary<string, string>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

UpdatedAt string
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.
AccountId Changes to this property will trigger replacement. string
The AWS account ID for the account.
AdministratorAccountId string
The AWS account ID for the administrator account.
Arn string
The Amazon Resource Name (ARN) of the account.
Email Changes to this property will trigger replacement. string
The email address for the account.
InvitationDisableEmailNotification bool
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.
InvitationMessage string
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
Invite bool
Send an invitation to a member
InvitedAt string
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
MasterAccountId string
RelationshipStatus string
The current status of the relationship between the account and the administrator account.
Status string
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.
Tags map[string]string
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll map[string]string
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

UpdatedAt string
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.
accountId Changes to this property will trigger replacement. String
The AWS account ID for the account.
administratorAccountId String
The AWS account ID for the administrator account.
arn String
The Amazon Resource Name (ARN) of the account.
email Changes to this property will trigger replacement. String
The email address for the account.
invitationDisableEmailNotification Boolean
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.
invitationMessage String
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
invite Boolean
Send an invitation to a member
invitedAt String
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
masterAccountId String
relationshipStatus String
The current status of the relationship between the account and the administrator account.
status String
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.
tags Map<String,String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

updatedAt String
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.
accountId Changes to this property will trigger replacement. string
The AWS account ID for the account.
administratorAccountId string
The AWS account ID for the administrator account.
arn string
The Amazon Resource Name (ARN) of the account.
email Changes to this property will trigger replacement. string
The email address for the account.
invitationDisableEmailNotification boolean
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.
invitationMessage string
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
invite boolean
Send an invitation to a member
invitedAt string
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
masterAccountId string
relationshipStatus string
The current status of the relationship between the account and the administrator account.
status string
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.
tags {[key: string]: string}
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

updatedAt string
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.
account_id Changes to this property will trigger replacement. str
The AWS account ID for the account.
administrator_account_id str
The AWS account ID for the administrator account.
arn str
The Amazon Resource Name (ARN) of the account.
email Changes to this property will trigger replacement. str
The email address for the account.
invitation_disable_email_notification bool
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.
invitation_message str
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
invite bool
Send an invitation to a member
invited_at str
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
master_account_id str
relationship_status str
The current status of the relationship between the account and the administrator account.
status str
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.
tags Mapping[str, str]
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tags_all Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

updated_at str
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.
accountId Changes to this property will trigger replacement. String
The AWS account ID for the account.
administratorAccountId String
The AWS account ID for the administrator account.
arn String
The Amazon Resource Name (ARN) of the account.
email Changes to this property will trigger replacement. String
The email address for the account.
invitationDisableEmailNotification Boolean
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.
invitationMessage String
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
invite Boolean
Send an invitation to a member
invitedAt String
The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
masterAccountId String
relationshipStatus String
The current status of the relationship between the account and the administrator account.
status String
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.
tags Map<String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

updatedAt String
The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the relationship between the account and the administrator account.

Import

Using pulumi import, import aws_macie2_member using the account ID of the member account. For example:

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

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.