Profile Args
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});Content copied to clipboard
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)Content copied to clipboard
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,
});
});Content copied to clipboard
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
})
}Content copied to clipboard
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());
}
}Content copied to clipboard
resources:
example:
type: aws:customerprofiles:Domain
properties:
domainName: example
exampleProfile:
type: aws:customerprofiles:Profile
name: example
properties:
domainName: ${example.domainName}Content copied to clipboard
Import
Using pulumi import, import Amazon Customer Profiles Profile using the resource id. For example:
$ pulumi import aws:customerprofiles/profile:Profile example domain-name/5f2f473dfbe841eb8d05cfc2a4c926dfContent copied to clipboard
Constructors
Link copied to clipboard
fun ProfileArgs(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)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard