import * as core from "@terrascript/core"; export interface AlternateContactArgs extends core.ResourceArgs { /** * (Optional) The ID of the target account when managing member accounts. Will manage current user's ac * count by default if omitted. */ accountId?: string | core.StringOut; /** * (Required) The type of the alternate contact. Allowed values are: `BILLING`, `OPERATIONS`, `SECURITY * . */ alternateContactType: string | core.StringOut; /** * (Required) An email address for the alternate contact. */ emailAddress: string | core.StringOut; /** * (Required) The name of the alternate contact. */ name: string | core.StringOut; /** * (Required) A phone number for the alternate contact. */ phoneNumber: string | core.StringOut; /** * (Required) A title for the alternate contact. */ title: string | core.StringOut; } export class AlternateContact extends core.Resource { /** * (Optional) The ID of the target account when managing member accounts. Will manage current user's ac * count by default if omitted. */ @core.attr(String) public accountId?: string | core.StringOut; /** * (Required) The type of the alternate contact. Allowed values are: `BILLING`, `OPERATIONS`, `SECURITY * . */ @core.attr(String) public alternateContactType!: string | core.StringOut; /** * (Required) An email address for the alternate contact. */ @core.attr(String) public emailAddress!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the alternate contact. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) A phone number for the alternate contact. */ @core.attr(String) public phoneNumber!: string | core.StringOut; /** * (Required) A title for the alternate contact. */ @core.attr(String) public title!: string | core.StringOut; constructor(name: string, args?: AlternateContactArgs) { super(name, "aws_account_alternate_contact", args); } public override getNamespace(): string { return "aws_account"; } }