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],
});
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]))
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
})
}
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,
},
});
});
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());
}
}
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}
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 string
- The unique name of the resource.
- args MemberArgs
- 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 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 string
- The unique name of the resource.
- args MemberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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" },
},
});
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"),
},
})
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());
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",
})
const examplememberResourceResourceFromMacie2member = new aws.macie2.Member("examplememberResourceResourceFromMacie2member", {
accountId: "string",
email: "string",
invitationDisableEmailNotification: false,
invitationMessage: "string",
invite: false,
status: "string",
tags: {
string: "string",
},
});
type: aws:macie2:Member
properties:
accountId: string
email: string
invitationDisableEmailNotification: false
invitationMessage: string
invite: false
status: string
tags:
string: string
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
The Member resource accepts the following input properties:
- Account
Id string - The AWS account ID for the account.
- Email string
- The email address for the account.
- Invitation
Disable boolEmail Notification - 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 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 areENABLED
orPAUSED
. - Dictionary<string, string>
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
- Account
Id string - The AWS account ID for the account.
- Email string
- The email address for the account.
- Invitation
Disable boolEmail Notification - 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 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 areENABLED
orPAUSED
. - map[string]string
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
- account
Id String - The AWS account ID for the account.
- email String
- The email address for the account.
- invitation
Disable BooleanEmail Notification - 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 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 areENABLED
orPAUSED
. - Map<String,String>
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
- account
Id string - The AWS account ID for the account.
- email string
- The email address for the account.
- invitation
Disable booleanEmail Notification - 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 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 areENABLED
orPAUSED
. - {[key: string]: string}
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
- account_
id str - The AWS account ID for the account.
- email str
- The email address for the account.
- invitation_
disable_ boolemail_ notification - 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 areENABLED
orPAUSED
. - Mapping[str, str]
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
- account
Id String - The AWS account ID for the account.
- email String
- The email address for the account.
- invitation
Disable BooleanEmail Notification - 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 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 areENABLED
orPAUSED
. - Map<String>
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
Outputs
All input properties are implicitly available as output properties. Additionally, the Member resource produces the following output properties:
- Administrator
Account stringId - 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.
- Invited
At 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.
- Master
Account stringId - Relationship
Status string - The current status of the relationship between the account and the administrator account.
- Dictionary<string, string>
- Updated
At 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 stringId - 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.
- Invited
At 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.
- Master
Account stringId - Relationship
Status string - The current status of the relationship between the account and the administrator account.
- map[string]string
- Updated
At 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 StringId - 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.
- invited
At 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.
- master
Account StringId - relationship
Status String - The current status of the relationship between the account and the administrator account.
- Map<String,String>
- updated
At 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 stringId - 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.
- invited
At 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.
- master
Account stringId - relationship
Status string - The current status of the relationship between the account and the administrator account.
- {[key: string]: string}
- updated
At 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_ strid - 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_ strid - relationship_
status str - The current status of the relationship between the account and the administrator account.
- Mapping[str, str]
- 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.
- administrator
Account StringId - 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.
- invited
At 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.
- master
Account StringId - relationship
Status String - The current status of the relationship between the account and the administrator account.
- Map<String>
- updated
At 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Account
Id string - The AWS account ID for the account.
- Administrator
Account stringId - The AWS account ID for the administrator account.
- Arn string
- The Amazon Resource Name (ARN) of the account.
- Email string
- The email address for the account.
- Invitation
Disable boolEmail Notification - 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 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
- Invited
At 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.
- Master
Account stringId - Relationship
Status 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 areENABLED
orPAUSED
. - Dictionary<string, string>
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
- Dictionary<string, string>
- Updated
At 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 string - The AWS account ID for the account.
- Administrator
Account stringId - The AWS account ID for the administrator account.
- Arn string
- The Amazon Resource Name (ARN) of the account.
- Email string
- The email address for the account.
- Invitation
Disable boolEmail Notification - 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 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
- Invited
At 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.
- Master
Account stringId - Relationship
Status 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 areENABLED
orPAUSED
. - map[string]string
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
- map[string]string
- Updated
At 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 String - The AWS account ID for the account.
- administrator
Account StringId - The AWS account ID for the administrator account.
- arn String
- The Amazon Resource Name (ARN) of the account.
- email String
- The email address for the account.
- invitation
Disable BooleanEmail Notification - 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 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
- invited
At 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.
- master
Account StringId - relationship
Status 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 areENABLED
orPAUSED
. - Map<String,String>
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
- Map<String,String>
- updated
At 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 string - The AWS account ID for the account.
- administrator
Account stringId - The AWS account ID for the administrator account.
- arn string
- The Amazon Resource Name (ARN) of the account.
- email string
- The email address for the account.
- invitation
Disable booleanEmail Notification - 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 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
- invited
At 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.
- master
Account stringId - relationship
Status 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 areENABLED
orPAUSED
. - {[key: string]: string}
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
- {[key: string]: string}
- updated
At 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 str - The AWS account ID for the account.
- administrator_
account_ strid - The AWS account ID for the administrator account.
- arn str
- The Amazon Resource Name (ARN) of the account.
- email str
- The email address for the account.
- invitation_
disable_ boolemail_ notification - 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_ strid - 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 areENABLED
orPAUSED
. - Mapping[str, str]
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
- Mapping[str, str]
- 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.
- account
Id String - The AWS account ID for the account.
- administrator
Account StringId - The AWS account ID for the administrator account.
- arn String
- The Amazon Resource Name (ARN) of the account.
- email String
- The email address for the account.
- invitation
Disable BooleanEmail Notification - 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 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
- invited
At 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.
- master
Account StringId - relationship
Status 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 areENABLED
orPAUSED
. - Map<String>
- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
- Map<String>
- updated
At 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
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.