import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage an [Amazon Macie Member](https://docs.aws.amazon.com/macie/latest/APIReference/members-id.html). * * ## Example Usage * * ```typescript * 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 * * Using `pulumi import`, import `aws.macie2.Member` using the account ID of the member account. For example: * * ```sh * $ pulumi import aws:macie2/member:Member example 123456789012 * ``` */ export declare class Member extends pulumi.CustomResource { /** * Get an existing Member resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MemberState, opts?: pulumi.CustomResourceOptions): Member; /** * Check whether an existing Member resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: MemberState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of Member. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Member; /** * AWS account ID for the account. */ readonly accountId: pulumi.Output; /** * AWS account ID for the administrator account. */ readonly administratorAccountId: pulumi.Output; /** * ARN of the account. */ readonly arn: pulumi.Output; /** * Email address for the account. */ readonly email: pulumi.Output; /** * 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`. */ readonly invitationDisableEmailNotification: pulumi.Output; /** * Custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation. */ readonly invitationMessage: pulumi.Output; /** * Whether to send an invitation to a member. */ readonly invite: pulumi.Output; /** * 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. */ readonly invitedAt: pulumi.Output; /** * AWS account ID for the master account. */ readonly masterAccountId: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * Current status of the relationship between the account and the administrator account. */ readonly relationshipStatus: pulumi.Output; /** * 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`. */ readonly status: pulumi.Output; /** * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * 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. */ readonly updatedAt: pulumi.Output; /** * Create a Member resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MemberArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Member resources. */ export interface MemberState { /** * AWS account ID for the account. */ accountId?: pulumi.Input; /** * AWS account ID for the administrator account. */ administratorAccountId?: pulumi.Input; /** * ARN of the account. */ arn?: pulumi.Input; /** * Email address for the account. */ email?: pulumi.Input; /** * 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`. */ invitationDisableEmailNotification?: pulumi.Input; /** * Custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation. */ invitationMessage?: pulumi.Input; /** * Whether to send an invitation to a member. */ invite?: pulumi.Input; /** * 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. */ invitedAt?: pulumi.Input; /** * AWS account ID for the master account. */ masterAccountId?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Current status of the relationship between the account and the administrator account. */ relationshipStatus?: pulumi.Input; /** * 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`. */ status?: pulumi.Input; /** * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * 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. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a Member resource. */ export interface MemberArgs { /** * AWS account ID for the account. */ accountId: pulumi.Input; /** * Email address for the account. */ email: pulumi.Input; /** * 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`. */ invitationDisableEmailNotification?: pulumi.Input; /** * Custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation. */ invitationMessage?: pulumi.Input; /** * Whether to send an invitation to a member. */ invite?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * 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`. */ status?: pulumi.Input; /** * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=member.d.ts.map