PrimaryContactArgs

data class PrimaryContactArgs(val accountId: Output<String>? = null, val addressLine1: Output<String>? = null, val addressLine2: Output<String>? = null, val addressLine3: Output<String>? = null, val city: Output<String>? = null, val companyName: Output<String>? = null, val countryCode: Output<String>? = null, val districtOrCounty: Output<String>? = null, val fullName: Output<String>? = null, val phoneNumber: Output<String>? = null, val postalCode: Output<String>? = null, val stateOrRegion: Output<String>? = null, val websiteUrl: Output<String>? = null) : ConvertibleToJava<PrimaryContactArgs>

Manages the specified primary contact information associated with 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.PrimaryContact;
import com.pulumi.aws.account.PrimaryContactArgs;
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 test = new PrimaryContact("test", PrimaryContactArgs.builder()
.addressLine1("123 Any Street")
.city("Seattle")
.companyName("Example Corp, Inc.")
.countryCode("US")
.districtOrCounty("King")
.fullName("My Name")
.phoneNumber("+64211111111")
.postalCode("98101")
.stateOrRegion("WA")
.websiteUrl("https://www.examplecorp.com")
.build());
}
}

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, addressLine1: Output<String>? = null, addressLine2: Output<String>? = null, addressLine3: Output<String>? = null, city: Output<String>? = null, companyName: Output<String>? = null, countryCode: Output<String>? = null, districtOrCounty: Output<String>? = null, fullName: Output<String>? = null, phoneNumber: Output<String>? = null, postalCode: Output<String>? = null, stateOrRegion: Output<String>? = null, websiteUrl: Output<String>? = null)

Properties

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

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

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

The first line of the primary contact address.

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

The second line of the primary contact address, if any.

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

The third line of the primary contact address, if any.

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

The city of the primary contact address.

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

The name of the company associated with the primary contact information, if any.

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

The ISO-3166 two-letter country code for the primary contact address.

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

The district or county of the primary contact address, if any.

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

The full name of the primary contact address.

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

The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.

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

The postal code of the primary contact address.

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

The state or region of the primary contact address. This field is required in selected countries.

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

The URL of the website associated with the primary contact information, if any.

Functions

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