AWS Native

v0.42.0 published on Wednesday, Nov 23, 2022 by Pulumi

Domain

A domain defined for 3rd party data source in Profile Service

Example Usage

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var domain = new AwsNative.CustomerProfiles.Domain("domain", new()
    {
        DomainName = "ExampleDomain",
        DefaultEncryptionKey = "arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE",
        DeadLetterQueueUrl = "arn:aws:sqs:us-east-1:123456789012:DLQName",
        DefaultExpirationDays = 6,
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/customerprofiles"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := customerprofiles.NewDomain(ctx, "domain", &customerprofiles.DomainArgs{
			DomainName:            pulumi.String("ExampleDomain"),
			DefaultEncryptionKey:  pulumi.String("arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE"),
			DeadLetterQueueUrl:    pulumi.String("arn:aws:sqs:us-east-1:123456789012:DLQName"),
			DefaultExpirationDays: pulumi.Int(6),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

domain = aws_native.customerprofiles.Domain("domain",
    domain_name="ExampleDomain",
    default_encryption_key="arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE",
    dead_letter_queue_url="arn:aws:sqs:us-east-1:123456789012:DLQName",
    default_expiration_days=6)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const domain = new aws_native.customerprofiles.Domain("domain", {
    domainName: "ExampleDomain",
    defaultEncryptionKey: "arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE",
    deadLetterQueueUrl: "arn:aws:sqs:us-east-1:123456789012:DLQName",
    defaultExpirationDays: 6,
});

Coming soon!

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var domain = new AwsNative.CustomerProfiles.Domain("domain", new()
    {
        DomainName = "ExampleDomain",
        DefaultEncryptionKey = "arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE",
        DeadLetterQueueUrl = "arn:aws:sqs:us-east-1:123456789012:DLQName",
        DefaultExpirationDays = 6,
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/customerprofiles"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := customerprofiles.NewDomain(ctx, "domain", &customerprofiles.DomainArgs{
			DomainName:            pulumi.String("ExampleDomain"),
			DefaultEncryptionKey:  pulumi.String("arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE"),
			DeadLetterQueueUrl:    pulumi.String("arn:aws:sqs:us-east-1:123456789012:DLQName"),
			DefaultExpirationDays: pulumi.Int(6),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

domain = aws_native.customerprofiles.Domain("domain",
    domain_name="ExampleDomain",
    default_encryption_key="arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE",
    dead_letter_queue_url="arn:aws:sqs:us-east-1:123456789012:DLQName",
    default_expiration_days=6)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const domain = new aws_native.customerprofiles.Domain("domain", {
    domainName: "ExampleDomain",
    defaultEncryptionKey: "arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE",
    deadLetterQueueUrl: "arn:aws:sqs:us-east-1:123456789012:DLQName",
    defaultExpirationDays: 6,
});

Coming soon!

Create Domain Resource

new Domain(name: string, args?: DomainArgs, opts?: CustomResourceOptions);
@overload
def Domain(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           dead_letter_queue_url: Optional[str] = None,
           default_encryption_key: Optional[str] = None,
           default_expiration_days: Optional[int] = None,
           domain_name: Optional[str] = None,
           tags: Optional[Sequence[DomainTagArgs]] = None)
@overload
def Domain(resource_name: str,
           args: Optional[DomainArgs] = None,
           opts: Optional[ResourceOptions] = None)
func NewDomain(ctx *Context, name string, args *DomainArgs, opts ...ResourceOption) (*Domain, error)
public Domain(string name, DomainArgs? args = null, CustomResourceOptions? opts = null)
public Domain(String name, DomainArgs args)
public Domain(String name, DomainArgs args, CustomResourceOptions options)
type: aws-native:customerprofiles:Domain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DomainArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DomainArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DomainArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Domain Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Domain resource accepts the following input properties:

DeadLetterQueueUrl string

The URL of the SQS dead letter queue

DefaultEncryptionKey string

The default encryption key

DefaultExpirationDays int

The default number of days until the data within the domain expires.

DomainName string

The unique name of the domain.

Tags List<Pulumi.AwsNative.CustomerProfiles.Inputs.DomainTagArgs>

The tags (keys and values) associated with the domain

DeadLetterQueueUrl string

The URL of the SQS dead letter queue

DefaultEncryptionKey string

The default encryption key

DefaultExpirationDays int

The default number of days until the data within the domain expires.

DomainName string

The unique name of the domain.

Tags []DomainTagArgs

The tags (keys and values) associated with the domain

deadLetterQueueUrl String

The URL of the SQS dead letter queue

defaultEncryptionKey String

The default encryption key

defaultExpirationDays Integer

The default number of days until the data within the domain expires.

domainName String

The unique name of the domain.

tags List<DomainTagArgs>

The tags (keys and values) associated with the domain

deadLetterQueueUrl string

The URL of the SQS dead letter queue

defaultEncryptionKey string

The default encryption key

defaultExpirationDays number

The default number of days until the data within the domain expires.

domainName string

The unique name of the domain.

tags DomainTagArgs[]

The tags (keys and values) associated with the domain

dead_letter_queue_url str

The URL of the SQS dead letter queue

default_encryption_key str

The default encryption key

default_expiration_days int

The default number of days until the data within the domain expires.

domain_name str

The unique name of the domain.

tags Sequence[DomainTagArgs]

The tags (keys and values) associated with the domain

deadLetterQueueUrl String

The URL of the SQS dead letter queue

defaultEncryptionKey String

The default encryption key

defaultExpirationDays Number

The default number of days until the data within the domain expires.

domainName String

The unique name of the domain.

tags List<Property Map>

The tags (keys and values) associated with the domain

Outputs

All input properties are implicitly available as output properties. Additionally, the Domain resource produces the following output properties:

CreatedAt string

The time of this integration got created

Id string

The provider-assigned unique ID for this managed resource.

LastUpdatedAt string

The time of this integration got last updated at

CreatedAt string

The time of this integration got created

Id string

The provider-assigned unique ID for this managed resource.

LastUpdatedAt string

The time of this integration got last updated at

createdAt String

The time of this integration got created

id String

The provider-assigned unique ID for this managed resource.

lastUpdatedAt String

The time of this integration got last updated at

createdAt string

The time of this integration got created

id string

The provider-assigned unique ID for this managed resource.

lastUpdatedAt string

The time of this integration got last updated at

created_at str

The time of this integration got created

id str

The provider-assigned unique ID for this managed resource.

last_updated_at str

The time of this integration got last updated at

createdAt String

The time of this integration got created

id String

The provider-assigned unique ID for this managed resource.

lastUpdatedAt String

The time of this integration got last updated at

Supporting Types

DomainTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0