AlternativeContactArgs

data class AlternativeContactArgs(val accountId: Output<String>? = null, val alternateContactType: Output<String>? = null, val emailAddress: Output<String>? = null, val name: Output<String>? = null, val phoneNumber: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<AlternativeContactArgs>

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

Import the Alternate Contact for another account using the account_id and alternate_contact_type separated by a forward slash (/): Using pulumi import to import the Alternate Contact for the current or another account using the alternate_contact_type. For example: Import the Alternate Contact for the current account:

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

Import the Alternate Contact for another account using the account_id and alternate_contact_type separated by a forward slash (/):

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

Constructors

Link copied to clipboard
fun AlternativeContactArgs(accountId: Output<String>? = null, alternateContactType: Output<String>? = null, emailAddress: Output<String>? = null, name: Output<String>? = null, phoneNumber: Output<String>? = null, title: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AlternativeContactArgs

Properties

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

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

Link copied to clipboard
val alternateContactType: Output<String>? = null

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

Link copied to clipboard
val emailAddress: Output<String>? = null

An email address for the alternate contact.

Link copied to clipboard
val name: Output<String>? = null

Name of the alternate contact.

Link copied to clipboard
val phoneNumber: Output<String>? = null

Phone number for the alternate contact.

Link copied to clipboard
val title: Output<String>? = null

Title for the alternate contact.