import * as core from "@terrascript/core"; export interface MemberArgs extends core.ResourceArgs { /** * (Required) AWS account ID for the account. */ accountId: string | core.StringOut; /** * (Optional) If set to true, then the root user of the invited account will _not_ receive an email not * ification. This notification is in addition to an alert that the root user receives in AWS Personal * Health Dashboard. By default, this is set to `false`. */ disableEmailNotification?: boolean | core.BooleanOut; /** * (Required) Email address for the account. */ emailAddress: string | core.StringOut; /** * (Required) ARN of the behavior graph to invite the member accounts to contribute their data to. */ graphArn: string | core.StringOut; /** * (Optional) A custom message to include in the invitation. Amazon Detective adds this message to the * standard content that it sends for an invitation. */ message?: string | core.StringOut; } export class Member extends core.Resource { /** * (Required) AWS account ID for the account. */ @core.attr(String) public accountId!: string | core.StringOut; /** * AWS account ID for the administrator account. */ @core.attr(String, { computed: true }) public administratorId!: string | core.StringOut; /** * (Optional) If set to true, then the root user of the invited account will _not_ receive an email not * ification. This notification is in addition to an alert that the root user receives in AWS Personal * Health Dashboard. By default, this is set to `false`. */ @core.attr(Boolean) public disableEmailNotification?: boolean | core.BooleanOut; @core.attr(String, { computed: true }) public disabledReason!: string | core.StringOut; /** * (Required) Email address for the account. */ @core.attr(String) public emailAddress!: string | core.StringOut; /** * (Required) ARN of the behavior graph to invite the member accounts to contribute their data to. */ @core.attr(String) public graphArn!: string | core.StringOut; /** * Unique identifier (ID) of the Detective. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Date and time, in UTC and extended RFC 3339 format, when an Amazon Detective membership invitation w * as last sent to the account. */ @core.attr(String, { computed: true }) public invitedTime!: string | core.StringOut; /** * (Optional) A custom message to include in the invitation. Amazon Detective adds this message to the * standard content that it sends for an invitation. */ @core.attr(String) public message?: string | core.StringOut; /** * Current membership status of the member account. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * Date and time, in UTC and extended RFC 3339 format, of the most recent change to the member account' * s status. */ @core.attr(String, { computed: true }) public updatedTime!: string | core.StringOut; /** * Data volume in bytes per day for the member account. */ @core.attr(String, { computed: true }) public volumeUsageInBytes!: string | core.StringOut; constructor(name: string, args?: MemberArgs) { super(name, "aws_detective_member", args); } public override getNamespace(): string { return "aws_detective"; } }