aws.datazone.Domain
Explore with Pulumi AI
Resource for managing an AWS DataZone Domain.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const domainExecutionRole = new aws.iam.Role("domain_execution_role", {
    name: "my_domain_execution_role",
    assumeRolePolicy: JSON.stringify({
        Version: "2012-10-17",
        Statement: [
            {
                Action: [
                    "sts:AssumeRole",
                    "sts:TagSession",
                ],
                Effect: "Allow",
                Principal: {
                    Service: "datazone.amazonaws.com",
                },
            },
            {
                Action: [
                    "sts:AssumeRole",
                    "sts:TagSession",
                ],
                Effect: "Allow",
                Principal: {
                    Service: "cloudformation.amazonaws.com",
                },
            },
        ],
    }),
    inlinePolicies: [{
        name: "domain_execution_policy",
        policy: JSON.stringify({
            Version: "2012-10-17",
            Statement: [{
                Action: [
                    "datazone:*",
                    "ram:*",
                    "sso:*",
                    "kms:*",
                ],
                Effect: "Allow",
                Resource: "*",
            }],
        }),
    }],
});
const example = new aws.datazone.Domain("example", {
    name: "example",
    domainExecutionRole: domainExecutionRole.arn,
});
import pulumi
import json
import pulumi_aws as aws
domain_execution_role = aws.iam.Role("domain_execution_role",
    name="my_domain_execution_role",
    assume_role_policy=json.dumps({
        "Version": "2012-10-17",
        "Statement": [
            {
                "Action": [
                    "sts:AssumeRole",
                    "sts:TagSession",
                ],
                "Effect": "Allow",
                "Principal": {
                    "Service": "datazone.amazonaws.com",
                },
            },
            {
                "Action": [
                    "sts:AssumeRole",
                    "sts:TagSession",
                ],
                "Effect": "Allow",
                "Principal": {
                    "Service": "cloudformation.amazonaws.com",
                },
            },
        ],
    }),
    inline_policies=[{
        "name": "domain_execution_policy",
        "policy": json.dumps({
            "Version": "2012-10-17",
            "Statement": [{
                "Action": [
                    "datazone:*",
                    "ram:*",
                    "sso:*",
                    "kms:*",
                ],
                "Effect": "Allow",
                "Resource": "*",
            }],
        }),
    }])
example = aws.datazone.Domain("example",
    name="example",
    domain_execution_role=domain_execution_role.arn)
package main
import (
	"encoding/json"
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/datazone"
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Version": "2012-10-17",
			"Statement": []map[string]interface{}{
				map[string]interface{}{
					"Action": []string{
						"sts:AssumeRole",
						"sts:TagSession",
					},
					"Effect": "Allow",
					"Principal": map[string]interface{}{
						"Service": "datazone.amazonaws.com",
					},
				},
				map[string]interface{}{
					"Action": []string{
						"sts:AssumeRole",
						"sts:TagSession",
					},
					"Effect": "Allow",
					"Principal": map[string]interface{}{
						"Service": "cloudformation.amazonaws.com",
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"Version": "2012-10-17",
			"Statement": []map[string]interface{}{
				map[string]interface{}{
					"Action": []string{
						"datazone:*",
						"ram:*",
						"sso:*",
						"kms:*",
					},
					"Effect":   "Allow",
					"Resource": "*",
				},
			},
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		domainExecutionRole, err := iam.NewRole(ctx, "domain_execution_role", &iam.RoleArgs{
			Name:             pulumi.String("my_domain_execution_role"),
			AssumeRolePolicy: pulumi.String(json0),
			InlinePolicies: iam.RoleInlinePolicyArray{
				&iam.RoleInlinePolicyArgs{
					Name:   pulumi.String("domain_execution_policy"),
					Policy: pulumi.String(json1),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = datazone.NewDomain(ctx, "example", &datazone.DomainArgs{
			Name:                pulumi.String("example"),
			DomainExecutionRole: domainExecutionRole.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var domainExecutionRole = new Aws.Iam.Role("domain_execution_role", new()
    {
        Name = "my_domain_execution_role",
        AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
        {
            ["Version"] = "2012-10-17",
            ["Statement"] = new[]
            {
                new Dictionary<string, object?>
                {
                    ["Action"] = new[]
                    {
                        "sts:AssumeRole",
                        "sts:TagSession",
                    },
                    ["Effect"] = "Allow",
                    ["Principal"] = new Dictionary<string, object?>
                    {
                        ["Service"] = "datazone.amazonaws.com",
                    },
                },
                new Dictionary<string, object?>
                {
                    ["Action"] = new[]
                    {
                        "sts:AssumeRole",
                        "sts:TagSession",
                    },
                    ["Effect"] = "Allow",
                    ["Principal"] = new Dictionary<string, object?>
                    {
                        ["Service"] = "cloudformation.amazonaws.com",
                    },
                },
            },
        }),
        InlinePolicies = new[]
        {
            new Aws.Iam.Inputs.RoleInlinePolicyArgs
            {
                Name = "domain_execution_policy",
                Policy = JsonSerializer.Serialize(new Dictionary<string, object?>
                {
                    ["Version"] = "2012-10-17",
                    ["Statement"] = new[]
                    {
                        new Dictionary<string, object?>
                        {
                            ["Action"] = new[]
                            {
                                "datazone:*",
                                "ram:*",
                                "sso:*",
                                "kms:*",
                            },
                            ["Effect"] = "Allow",
                            ["Resource"] = "*",
                        },
                    },
                }),
            },
        },
    });
    var example = new Aws.DataZone.Domain("example", new()
    {
        Name = "example",
        DomainExecutionRole = domainExecutionRole.Arn,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.iam.inputs.RoleInlinePolicyArgs;
import com.pulumi.aws.datazone.Domain;
import com.pulumi.aws.datazone.DomainArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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 domainExecutionRole = new Role("domainExecutionRole", RoleArgs.builder()
            .name("my_domain_execution_role")
            .assumeRolePolicy(serializeJson(
                jsonObject(
                    jsonProperty("Version", "2012-10-17"),
                    jsonProperty("Statement", jsonArray(
                        jsonObject(
                            jsonProperty("Action", jsonArray(
                                "sts:AssumeRole", 
                                "sts:TagSession"
                            )),
                            jsonProperty("Effect", "Allow"),
                            jsonProperty("Principal", jsonObject(
                                jsonProperty("Service", "datazone.amazonaws.com")
                            ))
                        ), 
                        jsonObject(
                            jsonProperty("Action", jsonArray(
                                "sts:AssumeRole", 
                                "sts:TagSession"
                            )),
                            jsonProperty("Effect", "Allow"),
                            jsonProperty("Principal", jsonObject(
                                jsonProperty("Service", "cloudformation.amazonaws.com")
                            ))
                        )
                    ))
                )))
            .inlinePolicies(RoleInlinePolicyArgs.builder()
                .name("domain_execution_policy")
                .policy(serializeJson(
                    jsonObject(
                        jsonProperty("Version", "2012-10-17"),
                        jsonProperty("Statement", jsonArray(jsonObject(
                            jsonProperty("Action", jsonArray(
                                "datazone:*", 
                                "ram:*", 
                                "sso:*", 
                                "kms:*"
                            )),
                            jsonProperty("Effect", "Allow"),
                            jsonProperty("Resource", "*")
                        )))
                    )))
                .build())
            .build());
        var example = new Domain("example", DomainArgs.builder()
            .name("example")
            .domainExecutionRole(domainExecutionRole.arn())
            .build());
    }
}
resources:
  domainExecutionRole:
    type: aws:iam:Role
    name: domain_execution_role
    properties:
      name: my_domain_execution_role
      assumeRolePolicy:
        fn::toJSON:
          Version: 2012-10-17
          Statement:
            - Action:
                - sts:AssumeRole
                - sts:TagSession
              Effect: Allow
              Principal:
                Service: datazone.amazonaws.com
            - Action:
                - sts:AssumeRole
                - sts:TagSession
              Effect: Allow
              Principal:
                Service: cloudformation.amazonaws.com
      inlinePolicies:
        - name: domain_execution_policy
          policy:
            fn::toJSON:
              Version: 2012-10-17
              Statement:
                - Action:
                    - datazone:*
                    - ram:*
                    - sso:*
                    - kms:*
                  Effect: Allow
                  Resource: '*'
  example:
    type: aws:datazone:Domain
    properties:
      name: example
      domainExecutionRole: ${domainExecutionRole.arn}
Create Domain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Domain(name: string, args: DomainArgs, opts?: CustomResourceOptions);@overload
def Domain(resource_name: str,
           args: DomainArgs,
           opts: Optional[ResourceOptions] = None)
@overload
def Domain(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           domain_execution_role: Optional[str] = None,
           description: Optional[str] = None,
           kms_key_identifier: Optional[str] = None,
           name: Optional[str] = None,
           single_sign_on: Optional[DomainSingleSignOnArgs] = None,
           skip_deletion_check: Optional[bool] = None,
           tags: Optional[Mapping[str, str]] = None,
           timeouts: Optional[DomainTimeoutsArgs] = None)func NewDomain(ctx *Context, name string, args DomainArgs, opts ...ResourceOption) (*Domain, error)public Domain(string name, DomainArgs args, CustomResourceOptions? opts = null)
public Domain(String name, DomainArgs args)
public Domain(String name, DomainArgs args, CustomResourceOptions options)
type: aws:datazone:Domain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampledomainResourceResourceFromDatazonedomain = new Aws.DataZone.Domain("exampledomainResourceResourceFromDatazonedomain", new()
{
    DomainExecutionRole = "string",
    Description = "string",
    KmsKeyIdentifier = "string",
    Name = "string",
    SingleSignOn = new Aws.DataZone.Inputs.DomainSingleSignOnArgs
    {
        Type = "string",
        UserAssignment = "string",
    },
    SkipDeletionCheck = false,
    Tags = 
    {
        { "string", "string" },
    },
    Timeouts = new Aws.DataZone.Inputs.DomainTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
    },
});
example, err := datazone.NewDomain(ctx, "exampledomainResourceResourceFromDatazonedomain", &datazone.DomainArgs{
	DomainExecutionRole: pulumi.String("string"),
	Description:         pulumi.String("string"),
	KmsKeyIdentifier:    pulumi.String("string"),
	Name:                pulumi.String("string"),
	SingleSignOn: &datazone.DomainSingleSignOnArgs{
		Type:           pulumi.String("string"),
		UserAssignment: pulumi.String("string"),
	},
	SkipDeletionCheck: pulumi.Bool(false),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Timeouts: &datazone.DomainTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
	},
})
var exampledomainResourceResourceFromDatazonedomain = new Domain("exampledomainResourceResourceFromDatazonedomain", DomainArgs.builder()
    .domainExecutionRole("string")
    .description("string")
    .kmsKeyIdentifier("string")
    .name("string")
    .singleSignOn(DomainSingleSignOnArgs.builder()
        .type("string")
        .userAssignment("string")
        .build())
    .skipDeletionCheck(false)
    .tags(Map.of("string", "string"))
    .timeouts(DomainTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .build())
    .build());
exampledomain_resource_resource_from_datazonedomain = aws.datazone.Domain("exampledomainResourceResourceFromDatazonedomain",
    domain_execution_role="string",
    description="string",
    kms_key_identifier="string",
    name="string",
    single_sign_on={
        "type": "string",
        "user_assignment": "string",
    },
    skip_deletion_check=False,
    tags={
        "string": "string",
    },
    timeouts={
        "create": "string",
        "delete": "string",
    })
const exampledomainResourceResourceFromDatazonedomain = new aws.datazone.Domain("exampledomainResourceResourceFromDatazonedomain", {
    domainExecutionRole: "string",
    description: "string",
    kmsKeyIdentifier: "string",
    name: "string",
    singleSignOn: {
        type: "string",
        userAssignment: "string",
    },
    skipDeletionCheck: false,
    tags: {
        string: "string",
    },
    timeouts: {
        create: "string",
        "delete": "string",
    },
});
type: aws:datazone:Domain
properties:
    description: string
    domainExecutionRole: string
    kmsKeyIdentifier: string
    name: string
    singleSignOn:
        type: string
        userAssignment: string
    skipDeletionCheck: false
    tags:
        string: string
    timeouts:
        create: string
        delete: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Domain resource accepts the following input properties:
- DomainExecution stringRole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- Description string
- Description of the Domain.
- KmsKey stringIdentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- Name string
- Name of the Domain.
- SingleSign DomainOn Single Sign On 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- SkipDeletion boolCheck 
- Whether to skip the deletion check for the Domain.
- Dictionary<string, string>
- Timeouts
DomainTimeouts 
- DomainExecution stringRole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- Description string
- Description of the Domain.
- KmsKey stringIdentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- Name string
- Name of the Domain.
- SingleSign DomainOn Single Sign On Args 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- SkipDeletion boolCheck 
- Whether to skip the deletion check for the Domain.
- map[string]string
- Timeouts
DomainTimeouts Args 
- domainExecution StringRole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- description String
- Description of the Domain.
- kmsKey StringIdentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- name String
- Name of the Domain.
- singleSign DomainOn Single Sign On 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- skipDeletion BooleanCheck 
- Whether to skip the deletion check for the Domain.
- Map<String,String>
- timeouts
DomainTimeouts 
- domainExecution stringRole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- description string
- Description of the Domain.
- kmsKey stringIdentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- name string
- Name of the Domain.
- singleSign DomainOn Single Sign On 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- skipDeletion booleanCheck 
- Whether to skip the deletion check for the Domain.
- {[key: string]: string}
- timeouts
DomainTimeouts 
- domain_execution_ strrole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- description str
- Description of the Domain.
- kms_key_ stridentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- name str
- Name of the Domain.
- single_sign_ Domainon Single Sign On Args 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- skip_deletion_ boolcheck 
- Whether to skip the deletion check for the Domain.
- Mapping[str, str]
- timeouts
DomainTimeouts Args 
- domainExecution StringRole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- description String
- Description of the Domain.
- kmsKey StringIdentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- name String
- Name of the Domain.
- singleSign Property MapOn 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- skipDeletion BooleanCheck 
- Whether to skip the deletion check for the Domain.
- Map<String>
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Domain resource produces the following output properties:
- arn str
- ARN of the Domain.
- id str
- The provider-assigned unique ID for this managed resource.
- portal_url str
- URL of the data portal for the Domain.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Look up Existing Domain Resource
Get an existing Domain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DomainState, opts?: CustomResourceOptions): Domain@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        description: Optional[str] = None,
        domain_execution_role: Optional[str] = None,
        kms_key_identifier: Optional[str] = None,
        name: Optional[str] = None,
        portal_url: Optional[str] = None,
        single_sign_on: Optional[DomainSingleSignOnArgs] = None,
        skip_deletion_check: Optional[bool] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        timeouts: Optional[DomainTimeoutsArgs] = None) -> Domainfunc GetDomain(ctx *Context, name string, id IDInput, state *DomainState, opts ...ResourceOption) (*Domain, error)public static Domain Get(string name, Input<string> id, DomainState? state, CustomResourceOptions? opts = null)public static Domain get(String name, Output<String> id, DomainState state, CustomResourceOptions options)resources:  _:    type: aws:datazone:Domain    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the Domain.
- Description string
- Description of the Domain.
- DomainExecution stringRole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- KmsKey stringIdentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- Name string
- Name of the Domain.
- PortalUrl string
- URL of the data portal for the Domain.
- SingleSign DomainOn Single Sign On 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- SkipDeletion boolCheck 
- Whether to skip the deletion check for the Domain.
- Dictionary<string, string>
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Timeouts
DomainTimeouts 
- Arn string
- ARN of the Domain.
- Description string
- Description of the Domain.
- DomainExecution stringRole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- KmsKey stringIdentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- Name string
- Name of the Domain.
- PortalUrl string
- URL of the data portal for the Domain.
- SingleSign DomainOn Single Sign On Args 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- SkipDeletion boolCheck 
- Whether to skip the deletion check for the Domain.
- map[string]string
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Timeouts
DomainTimeouts Args 
- arn String
- ARN of the Domain.
- description String
- Description of the Domain.
- domainExecution StringRole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- kmsKey StringIdentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- name String
- Name of the Domain.
- portalUrl String
- URL of the data portal for the Domain.
- singleSign DomainOn Single Sign On 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- skipDeletion BooleanCheck 
- Whether to skip the deletion check for the Domain.
- Map<String,String>
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- timeouts
DomainTimeouts 
- arn string
- ARN of the Domain.
- description string
- Description of the Domain.
- domainExecution stringRole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- kmsKey stringIdentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- name string
- Name of the Domain.
- portalUrl string
- URL of the data portal for the Domain.
- singleSign DomainOn Single Sign On 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- skipDeletion booleanCheck 
- Whether to skip the deletion check for the Domain.
- {[key: string]: string}
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- timeouts
DomainTimeouts 
- arn str
- ARN of the Domain.
- description str
- Description of the Domain.
- domain_execution_ strrole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- kms_key_ stridentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- name str
- Name of the Domain.
- portal_url str
- URL of the data portal for the Domain.
- single_sign_ Domainon Single Sign On Args 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- skip_deletion_ boolcheck 
- Whether to skip the deletion check for the Domain.
- Mapping[str, str]
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- timeouts
DomainTimeouts Args 
- arn String
- ARN of the Domain.
- description String
- Description of the Domain.
- domainExecution StringRole 
- ARN of the role used by DataZone to configure the Domain. - The following arguments are optional: 
- kmsKey StringIdentifier 
- ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data.
- name String
- Name of the Domain.
- portalUrl String
- URL of the data portal for the Domain.
- singleSign Property MapOn 
- Single sign on options, used to enable AWS IAM Identity Center for DataZone.
- skipDeletion BooleanCheck 
- Whether to skip the deletion check for the Domain.
- Map<String>
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- timeouts Property Map
Supporting Types
DomainSingleSignOn, DomainSingleSignOnArgs        
- Type string
- UserAssignment string
- Type string
- UserAssignment string
- type String
- userAssignment String
- type string
- userAssignment string
- type str
- user_assignment str
- type String
- userAssignment String
DomainTimeouts, DomainTimeoutsArgs    
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Import
Using pulumi import, import DataZone Domain using the domain_id. For example:
$ pulumi import aws:datazone/domain:Domain example domain-id-12345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.