Profile

class Profile : KotlinCustomResource

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

Properties

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

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

Link copied to clipboard

Any additional information relevant to the customer’s profile.

Link copied to clipboard
val address: Output<ProfileAddress>?

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>>?

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>?

The customer’s birth date.

Link copied to clipboard

The customer’s business email address.

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

The name of the customer’s business.

Link copied to clipboard

The customer’s business phone number.

Link copied to clipboard
val domainName: Output<String>

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>?

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

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

The customer’s first name.

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

The gender with which the customer identifies.

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

The customer’s home phone number.

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

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>?

The customer’s middle name.

Link copied to clipboard

The customer’s mobile phone number.

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

The type of profile used to describe the customer.

Link copied to clipboard

The customer’s personal email address.

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

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
val urn: Output<String>