Resource: awsAccountAlternateContact
Manages the specified alternate contact attached to an AWS Account.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.accountAlternateContact.AccountAlternateContact(this, "operations", {
alternateContactType: "OPERATIONS",
emailAddress: "test@example.com",
name: "Example",
phoneNumber: "+1234567890",
title: "Example",
});
Argument Reference
The following arguments are supported:
accountId
- (Optional) ID of the target account when managing member accounts. Will manage current user's account by default if omitted.alternateContactType
- (Required) Type of the alternate contact. Allowed values are:billing
,operations
,security
.emailAddress
- (Required) An email address for the alternate contact.name
- (Required) Name of the alternate contact.phoneNumber
- (Required) Phone number for the alternate contact.title
- (Required) Title for the alternate contact.
Attributes Reference
No additional attributes are exported.
Timeouts
create
- (Default5M
)update
- (Default5M
)delete
- (Default5M
)
Import
The Alternate Contact for the current account can be imported using the alternateContactType
, e.g.,
If you provide an account ID, the Alternate Contact can be imported using the accountId
and alternateContactType
separated by a forward slash (/
) e.g.,