import * as core from "@terrascript/core"; export interface MemberArgs extends core.ResourceArgs { /** * (Required) The AWS account ID for the account. */ accountId: string | core.StringOut; /** * (Required) The email address for the account. */ email: string | core.StringOut; /** * (Optional) 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 receive * s in AWS Personal Health Dashboard. To send an email notification to the root user of each account, * set this value to `true`. */ invitationDisableEmailNotification?: boolean | core.BooleanOut; /** * (Optional) A custom message to include in the invitation. Amazon Macie adds this message to the stan * dard content that it sends for an invitation. */ invitationMessage?: string | core.StringOut; /** * (Optional) Send an invitation to a member */ invite?: boolean | core.BooleanOut; /** * (Optional) Specifies the status for the account. To enable Amazon Macie and start all Macie activiti * es for the account, set this value to `ENABLED`. Valid values are `ENABLED` or `PAUSED`. */ status?: string | core.StringOut; /** * (Optional) A map of key-value pairs that specifies the tags to associate with the account in Amazon * Macie. */ tags?: core.Map | core.MapOut; tagsAll?: core.Map | core.MapOut; } export class Member extends core.Resource { /** * (Required) The AWS account ID for the account. */ @core.attr(String) public accountId!: string | core.StringOut; /** * The AWS account ID for the administrator account. */ @core.attr(String, { computed: true }) public administratorAccountId!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the account. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The email address for the account. */ @core.attr(String) public email!: string | core.StringOut; /** * The unique identifier (ID) of the macie Member. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) 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 receive * s in AWS Personal Health Dashboard. To send an email notification to the root user of each account, * set this value to `true`. */ @core.attr(Boolean) public invitationDisableEmailNotification?: boolean | core.BooleanOut; /** * (Optional) A custom message to include in the invitation. Amazon Macie adds this message to the stan * dard content that it sends for an invitation. */ @core.attr(String) public invitationMessage?: string | core.StringOut; /** * (Optional) Send an invitation to a member */ @core.attr(Boolean, { computed: true }) public invite?: boolean | core.BooleanOut; /** * The date and time, in UTC and extended RFC 3339 format, when an Amazon Macie membership invitation w * as last sent to the account. This value is null if a Macie invitation hasn't been sent to the accoun * t. */ @core.attr(String, { computed: true }) public invitedAt!: string | core.StringOut; @core.attr(String, { computed: true }) public masterAccountId!: string | core.StringOut; /** * The current status of the relationship between the account and the administrator account. */ @core.attr(String, { computed: true }) public relationshipStatus!: string | core.StringOut; /** * (Optional) Specifies the status for the account. To enable Amazon Macie and start all Macie activiti * es for the account, set this value to `ENABLED`. Valid values are `ENABLED` or `PAUSED`. */ @core.attr(String, { computed: true }) public status?: string | core.StringOut; /** * (Optional) A map of key-value pairs that specifies the tags to associate with the account in Amazon * Macie. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of t * he relationship between the account and the administrator account. */ @core.attr(String, { computed: true }) public updatedAt!: string | core.StringOut; constructor(name: string, args?: MemberArgs) { super(name, "aws_macie2_member", args); } public override getNamespace(): string { return "aws_macie2"; } }