PrimaryContact

class PrimaryContact : KotlinCustomResource

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());
}
}

Properties

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

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>

The first line of the primary contact address.

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

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

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

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

Link copied to clipboard
val city: Output<String>

The city of the primary contact address.

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

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

Link copied to clipboard
val countryCode: Output<String>

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

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

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

Link copied to clipboard
val fullName: Output<String>

The full name of the primary contact address.

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

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>

The postal code of the primary contact address.

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

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

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

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