AlternativeContact

class AlternativeContact : KotlinCustomResource

Manages the specified alternate contact attached to an AWS Account.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.account.AlternativeContact;
import com.pulumi.aws.account.AlternativeContactArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var operations = new AlternativeContact("operations", AlternativeContactArgs.builder()
.alternateContactType("OPERATIONS")
.emailAddress("test@example.com")
.phoneNumber("+1234567890")
.title("Example")
.build());
}
}

Import

The Alternate Contact for the current account can be imported using the alternate_contact_type, e.g.,

$ pulumi import aws:account/alternativeContact:AlternativeContact operations OPERATIONS

If you provide an account ID, the Alternate Contact can be imported using the account_id and alternate_contact_type separated by a forward slash (/) e.g.,

$ pulumi import aws:account/alternativeContact:AlternativeContact operations 1234567890/OPERATIONS

Properties

Link copied to clipboard
val accountId: Output<String>?

ID of the target account when managing member accounts. Will manage current user's account by default if omitted.

Link copied to clipboard

Type of the alternate contact. Allowed values are: BILLING, OPERATIONS, SECURITY.

Link copied to clipboard
val emailAddress: Output<String>

An email address for the alternate contact.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Name of the alternate contact.

Link copied to clipboard
val phoneNumber: Output<String>

Phone number for the alternate contact.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val title: Output<String>

Title for the alternate contact.

Link copied to clipboard
val urn: Output<String>