Profile Args
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
Properties
A unique account number that you have given to the customer.
Any additional information relevant to the customer’s profile.
A block that specifies a generic address associated with the customer that is not mailing, shipping, or billing. Documented below.
A key value pair of attributes of a customer profile.
A block that specifies the customer’s billing address. Documented below.
The customer’s business email address.
The name of the customer’s business.
The customer’s business phone number.
The name of your Customer Profile domain. It must be unique for your AWS account. The following arguments are optional:
The customer’s email address, which has not been specified as a personal or business address.
The gender with which the customer identifies.
The customer’s home phone number.
A block that specifies the customer’s mailing address. Documented below.
The customer’s middle name.
The customer’s mobile phone number.
The type of profile used to describe the customer.
The customer’s personal email address.
The customer’s phone number, which has not been specified as a mobile, home, or business number.
A block that specifies the customer’s shipping address. Documented below.