ProfileArgs

data class ProfileArgs(val accountNumber: Output<String>? = null, val additionalInformation: Output<String>? = null, val address: Output<ProfileAddressArgs>? = null, val attributes: Output<Map<String, String>>? = null, val billingAddress: Output<ProfileBillingAddressArgs>? = null, val birthDate: Output<String>? = null, val businessEmailAddress: Output<String>? = null, val businessName: Output<String>? = null, val businessPhoneNumber: Output<String>? = null, val domainName: Output<String>? = null, val emailAddress: Output<String>? = null, val firstName: Output<String>? = null, val genderString: Output<String>? = null, val homePhoneNumber: Output<String>? = null, val lastName: Output<String>? = null, val mailingAddress: Output<ProfileMailingAddressArgs>? = null, val middleName: Output<String>? = null, val mobilePhoneNumber: Output<String>? = null, val partyTypeString: Output<String>? = null, val personalEmailAddress: Output<String>? = null, val phoneNumber: Output<String>? = null, val shippingAddress: Output<ProfileShippingAddressArgs>? = null) : ConvertibleToJava<ProfileArgs>

Resource for managing an Amazon Customer Profiles Profile. See the Create Profile for more information.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.customerprofiles.Domain("example", {domainName: "example"});
const exampleProfile = new aws.customerprofiles.Profile("example", {domainName: example.domainName});
import pulumi
import pulumi_aws as aws
example = aws.customerprofiles.Domain("example", domain_name="example")
example_profile = aws.customerprofiles.Profile("example", domain_name=example.domain_name)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.CustomerProfiles.Domain("example", new()
{
DomainName = "example",
});
var exampleProfile = new Aws.CustomerProfiles.Profile("example", new()
{
DomainName = example.DomainName,
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/customerprofiles"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := customerprofiles.NewDomain(ctx, "example", &customerprofiles.DomainArgs{
DomainName: pulumi.String("example"),
})
if err != nil {
return err
}
_, err = customerprofiles.NewProfile(ctx, "example", &customerprofiles.ProfileArgs{
DomainName: example.DomainName,
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.customerprofiles.Domain;
import com.pulumi.aws.customerprofiles.DomainArgs;
import com.pulumi.aws.customerprofiles.Profile;
import com.pulumi.aws.customerprofiles.ProfileArgs;
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 example = new Domain("example", DomainArgs.builder()
.domainName("example")
.build());
var exampleProfile = new Profile("exampleProfile", ProfileArgs.builder()
.domainName(example.domainName())
.build());
}
}
resources:
example:
type: aws:customerprofiles:Domain
properties:
domainName: example
exampleProfile:
type: aws:customerprofiles:Profile
name: example
properties:
domainName: ${example.domainName}

Import

Using pulumi import, import Amazon Customer Profiles Profile using the resource id. For example:

$ pulumi import aws:customerprofiles/profile:Profile example domain-name/5f2f473dfbe841eb8d05cfc2a4c926df

Constructors

Link copied to clipboard
constructor(accountNumber: Output<String>? = null, additionalInformation: Output<String>? = null, address: Output<ProfileAddressArgs>? = null, attributes: Output<Map<String, String>>? = null, billingAddress: Output<ProfileBillingAddressArgs>? = null, birthDate: Output<String>? = null, businessEmailAddress: Output<String>? = null, businessName: Output<String>? = null, businessPhoneNumber: Output<String>? = null, domainName: Output<String>? = null, emailAddress: Output<String>? = null, firstName: Output<String>? = null, genderString: Output<String>? = null, homePhoneNumber: Output<String>? = null, lastName: Output<String>? = null, mailingAddress: Output<ProfileMailingAddressArgs>? = null, middleName: Output<String>? = null, mobilePhoneNumber: Output<String>? = null, partyTypeString: Output<String>? = null, personalEmailAddress: Output<String>? = null, phoneNumber: Output<String>? = null, shippingAddress: Output<ProfileShippingAddressArgs>? = null)

Properties

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

A unique account number that you have given to the customer.

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

Any additional information relevant to the customer’s profile.

Link copied to clipboard
val address: Output<ProfileAddressArgs>? = null

A block that specifies a generic address associated with the customer that is not mailing, shipping, or billing. Documented below.

Link copied to clipboard
val attributes: Output<Map<String, String>>? = null

A key value pair of attributes of a customer profile.

Link copied to clipboard

A block that specifies the customer’s billing address. Documented below.

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

The customer’s birth date.

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

The customer’s business email address.

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

The name of the customer’s business.

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

The customer’s business phone number.

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

The name of your Customer Profile domain. It must be unique for your AWS account. The following arguments are optional:

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

The customer’s email address, which has not been specified as a personal or business address.

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

The customer’s first name.

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

The gender with which the customer identifies.

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

The customer’s home phone number.

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

The customer’s last name.

Link copied to clipboard

A block that specifies the customer’s mailing address. Documented below.

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

The customer’s middle name.

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

The customer’s mobile phone number.

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

The type of profile used to describe the customer.

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

The customer’s personal email address.

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

The customer’s phone number, which has not been specified as a mobile, home, or business number.

Link copied to clipboard

A block that specifies the customer’s shipping address. Documented below.

Functions

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