published on Friday, Nov 13, 2026 by Pulumi
published on Friday, Nov 13, 2026 by Pulumi
Manages an Amazon CloudWatch Omni organization domain.
An organization domain is a CloudWatch Omni domain shared by every account in an AWS Organizations organization. An organization can have one organization domain. While it exists, member accounts create their spaces in the organization domain instead of in an account domain.
NOTE: This resource must be managed from the organization’s management account, in the domain’s home Region. Trusted access for the
observabilityadmin.amazonaws.comservice principal must be enabled in AWS Organizations, and the management account must not have its own CloudWatch Omni domain.
NOTE: An organization domain cannot be deleted while any account in the organization has a space in it.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const current = aws.getCallerIdentity({});
const currentGetPartition = aws.getPartition({});
const example = new aws.iam.Role("example", {
name: "example",
assumeRolePolicy: JSON.stringify({
Version: "2012-10-17",
Statement: [{
Effect: "Allow",
Principal: {
Service: "cloudwatch.amazonaws.com",
},
Action: [
"sts:AssumeRole",
"sts:TagSession",
],
Condition: {
StringEquals: {
"aws:SourceAccount": current.then(current => current.accountId),
},
},
}],
}),
});
const exampleRolePolicyAttachment = new aws.iam.RolePolicyAttachment("example", {
role: example.name,
policyArn: currentGetPartition.then(currentGetPartition => `arn:${currentGetPartition.partition}:iam::aws:policy/CloudWatchOmniDomainAccessPolicy`),
});
const exampleOrganizationDomain = new aws.cloudwatchomni.OrganizationDomain("example", {
name: "example",
identityProviders: ["IAM"],
domainAccessRoleArn: example.arn,
}, {
dependsOn: [exampleRolePolicyAttachment],
});
import pulumi
import json
import pulumi_aws as aws
current = aws.get_caller_identity()
current_get_partition = aws.get_partition()
example = aws.iam.Role("example",
name="example",
assume_role_policy=json.dumps({
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {
"Service": "cloudwatch.amazonaws.com",
},
"Action": [
"sts:AssumeRole",
"sts:TagSession",
],
"Condition": {
"StringEquals": {
"aws:SourceAccount": current.account_id,
},
},
}],
}))
example_role_policy_attachment = aws.iam.RolePolicyAttachment("example",
role=example.name,
policy_arn=f"arn:{current_get_partition.partition}:iam::aws:policy/CloudWatchOmniDomainAccessPolicy")
example_organization_domain = aws.cloudwatchomni.OrganizationDomain("example",
name="example",
identity_providers=["IAM"],
domain_access_role_arn=example.arn,
opts = pulumi.ResourceOptions(depends_on=[example_role_policy_attachment]))
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatchomni"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{}, nil)
if err != nil {
return err
}
currentGetPartition, err := aws.GetPartition(ctx, &aws.GetPartitionArgs{}, nil)
if err != nil {
return err
}
tmpJSON0, err := json.Marshal(map[string]interface{}{
"Version": "2012-10-17",
"Statement": []map[string]interface{}{
map[string]interface{}{
"Effect": "Allow",
"Principal": map[string]string{
"Service": "cloudwatch.amazonaws.com",
},
"Action": []string{
"sts:AssumeRole",
"sts:TagSession",
},
"Condition": map[string]map[string]interface{}{
"StringEquals": map[string]interface{}{
"aws:SourceAccount": current.AccountId,
},
},
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
example, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
Name: pulumi.String("example"),
AssumeRolePolicy: json0,
})
if err != nil {
return err
}
exampleRolePolicyAttachment, err := iam.NewRolePolicyAttachment(ctx, "example", &iam.RolePolicyAttachmentArgs{
Role: example.Name,
PolicyArn: pulumi.Sprintf("arn:%v:iam::aws:policy/CloudWatchOmniDomainAccessPolicy", currentGetPartition.Partition),
})
if err != nil {
return err
}
_, err = cloudwatchomni.NewOrganizationDomain(ctx, "example", &cloudwatchomni.OrganizationDomainArgs{
Name: pulumi.String("example"),
IdentityProviders: pulumi.StringArray{
pulumi.String("IAM"),
},
DomainAccessRoleArn: example.Arn,
}, pulumi.DependsOn([]pulumi.Resource{
exampleRolePolicyAttachment,
}))
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 current = Aws.GetCallerIdentity.Invoke();
var currentGetPartition = Aws.GetPartition.Invoke();
var example = new Aws.Iam.Role("example", new()
{
Name = "example",
AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Version"] = "2012-10-17",
["Statement"] = new[]
{
new Dictionary<string, object?>
{
["Effect"] = "Allow",
["Principal"] = new Dictionary<string, object?>
{
["Service"] = "cloudwatch.amazonaws.com",
},
["Action"] = new[]
{
"sts:AssumeRole",
"sts:TagSession",
},
["Condition"] = new Dictionary<string, object?>
{
["StringEquals"] = new Dictionary<string, object?>
{
["aws:SourceAccount"] = current.Apply(getCallerIdentityResult => getCallerIdentityResult.AccountId),
},
},
},
},
}),
});
var exampleRolePolicyAttachment = new Aws.Iam.RolePolicyAttachment("example", new()
{
Role = example.Name,
PolicyArn = $"arn:{currentGetPartition.Apply(getPartitionResult => getPartitionResult.Partition)}:iam::aws:policy/CloudWatchOmniDomainAccessPolicy",
});
var exampleOrganizationDomain = new Aws.CloudWatchOmni.OrganizationDomain("example", new()
{
Name = "example",
IdentityProviders = new[]
{
"IAM",
},
DomainAccessRoleArn = example.Arn,
}, new CustomResourceOptions
{
DependsOn =
{
exampleRolePolicyAttachment,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.AwsFunctions;
import com.pulumi.aws.inputs.GetCallerIdentityArgs;
import com.pulumi.aws.inputs.GetPartitionArgs;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.iam.RolePolicyAttachment;
import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
import com.pulumi.aws.cloudwatchomni.OrganizationDomain;
import com.pulumi.aws.cloudwatchomni.OrganizationDomainArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import com.pulumi.resources.CustomResourceOptions;
import java.util.ArrayList;
import java.util.Arrays;
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) {
final var current = AwsFunctions.getCallerIdentity(GetCallerIdentityArgs.builder()
.build());
final var currentGetPartition = AwsFunctions.getPartition(GetPartitionArgs.builder()
.build());
var example = new Role("example", RoleArgs.builder()
.name("example")
.assumeRolePolicy(serializeJson(
jsonObject(
jsonProperty("Version", "2012-10-17"),
jsonProperty("Statement", jsonArray(jsonObject(
jsonProperty("Effect", "Allow"),
jsonProperty("Principal", jsonObject(
jsonProperty("Service", "cloudwatch.amazonaws.com")
)),
jsonProperty("Action", jsonArray(
"sts:AssumeRole",
"sts:TagSession"
)),
jsonProperty("Condition", jsonObject(
jsonProperty("StringEquals", jsonObject(
jsonProperty("aws:SourceAccount", current.accountId())
))
))
)))
)))
.build());
var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
.role(example.name())
.policyArn(String.format("arn:%s:iam::aws:policy/CloudWatchOmniDomainAccessPolicy", currentGetPartition.partition()))
.build());
var exampleOrganizationDomain = new OrganizationDomain("exampleOrganizationDomain", OrganizationDomainArgs.builder()
.name("example")
.identityProviders("IAM")
.domainAccessRoleArn(example.arn())
.build(), CustomResourceOptions.builder()
.dependsOn(exampleRolePolicyAttachment)
.build());
}
}
resources:
example:
type: aws:iam:Role
properties:
name: example
assumeRolePolicy:
fn::toJSON:
Version: 2012-10-17
Statement:
- Effect: Allow
Principal:
Service: cloudwatch.amazonaws.com
Action:
- sts:AssumeRole
- sts:TagSession
Condition:
StringEquals:
aws:SourceAccount: ${current.accountId}
exampleRolePolicyAttachment:
type: aws:iam:RolePolicyAttachment
name: example
properties:
role: ${example.name}
policyArn: arn:${currentGetPartition.partition}:iam::aws:policy/CloudWatchOmniDomainAccessPolicy
exampleOrganizationDomain:
type: aws:cloudwatchomni:OrganizationDomain
name: example
properties:
name: example
identityProviders:
- IAM
domainAccessRoleArn: ${example.arn}
options:
dependsOn:
- ${exampleRolePolicyAttachment}
variables:
current:
fn::invoke:
function: aws:getCallerIdentity
arguments: {}
currentGetPartition:
fn::invoke:
function: aws:getPartition
arguments: {}
terraform {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_caller_identity" "current" {
}
data "aws_partition" "currentGetPartition" {
}
resource "aws_iam_role" "example" {
lifecycle {
create_before_destroy = true
}
name = "example"
assume_role_policy = jsonencode({
"Version" = "2012-10-17"
"Statement" = [{
"Effect" = "Allow"
"Principal" = {
"Service" = "cloudwatch.amazonaws.com"
}
"Action" = ["sts:AssumeRole", "sts:TagSession"]
"Condition" = {
"StringEquals" = {
"aws:SourceAccount" = data.aws_caller_identity.current.account_id
}
}
}]
})
}
resource "aws_iam_role_policy_attachment" "example" {
lifecycle {
create_before_destroy = true
}
role = aws_iam_role.example.name
policy_arn ="arn:${data.aws_partition.currentGetPartition.partition}:iam::aws:policy/CloudWatchOmniDomainAccessPolicy"
}
resource "aws_cloudwatchomni_organization_domain" "example" {
depends_on = [aws_iam_role_policy_attachment.example]
lifecycle {
create_before_destroy = true
}
name = "example"
identity_providers = ["IAM"]
domain_access_role_arn = aws_iam_role.example.arn
}
With IAM Identity Center
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.ssoadmin.getInstances({});
const exampleOrganizationDomain = new aws.cloudwatchomni.OrganizationDomain("example", {
identityProviderConfiguration: {
identityCenterConfiguration: {
identityCenterInstanceArn: example.then(example => example.arns?.[0]),
},
},
name: "example",
identityProviders: [
"IAM",
"IDC",
],
domainAccessRoleArn: exampleAwsIamRole.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.ssoadmin.get_instances()
example_organization_domain = aws.cloudwatchomni.OrganizationDomain("example",
identity_provider_configuration={
"identity_center_configuration": {
"identity_center_instance_arn": example.arns[0],
},
},
name="example",
identity_providers=[
"IAM",
"IDC",
],
domain_access_role_arn=example_aws_iam_role["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatchomni"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ssoadmin"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := ssoadmin.GetInstances(ctx, &ssoadmin.GetInstancesArgs{}, nil)
if err != nil {
return err
}
_, err = cloudwatchomni.NewOrganizationDomain(ctx, "example", &cloudwatchomni.OrganizationDomainArgs{
IdentityProviderConfiguration: &cloudwatchomni.OrganizationDomainIdentityProviderConfigurationArgs{
IdentityCenterConfiguration: &cloudwatchomni.OrganizationDomainIdentityProviderConfigurationIdentityCenterConfigurationArgs{
IdentityCenterInstanceArn: pulumi.String(example.Arns[0]),
},
},
Name: pulumi.String("example"),
IdentityProviders: pulumi.StringArray{
pulumi.String("IAM"),
pulumi.String("IDC"),
},
DomainAccessRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.SsoAdmin.GetInstances.Invoke();
var exampleOrganizationDomain = new Aws.CloudWatchOmni.OrganizationDomain("example", new()
{
IdentityProviderConfiguration = new Aws.CloudWatchOmni.Inputs.OrganizationDomainIdentityProviderConfigurationArgs
{
IdentityCenterConfiguration = new Aws.CloudWatchOmni.Inputs.OrganizationDomainIdentityProviderConfigurationIdentityCenterConfigurationArgs
{
IdentityCenterInstanceArn = example.Apply(getInstancesResult => getInstancesResult.Arns[0]),
},
},
Name = "example",
IdentityProviders = new[]
{
"IAM",
"IDC",
},
DomainAccessRoleArn = exampleAwsIamRole.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ssoadmin.SsoadminFunctions;
import com.pulumi.aws.ssoadmin.inputs.GetInstancesArgs;
import com.pulumi.aws.cloudwatchomni.OrganizationDomain;
import com.pulumi.aws.cloudwatchomni.OrganizationDomainArgs;
import com.pulumi.aws.cloudwatchomni.inputs.OrganizationDomainIdentityProviderConfigurationArgs;
import com.pulumi.aws.cloudwatchomni.inputs.OrganizationDomainIdentityProviderConfigurationIdentityCenterConfigurationArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
final var example = SsoadminFunctions.getInstances(GetInstancesArgs.builder()
.build());
var exampleOrganizationDomain = new OrganizationDomain("exampleOrganizationDomain", OrganizationDomainArgs.builder()
.identityProviderConfiguration(OrganizationDomainIdentityProviderConfigurationArgs.builder()
.identityCenterConfiguration(OrganizationDomainIdentityProviderConfigurationIdentityCenterConfigurationArgs.builder()
.identityCenterInstanceArn(example.arns()[0])
.build())
.build())
.name("example")
.identityProviders(
"IAM",
"IDC")
.domainAccessRoleArn(exampleAwsIamRole.get("arn"))
.build());
}
}
resources:
exampleOrganizationDomain:
type: aws:cloudwatchomni:OrganizationDomain
name: example
properties:
identityProviderConfiguration:
identityCenterConfiguration:
identityCenterInstanceArn: ${example.arns[0]}
name: example
identityProviders:
- IAM
- IDC
domainAccessRoleArn: ${exampleAwsIamRole.arn}
variables:
example:
fn::invoke:
function: aws:ssoadmin:getInstances
arguments: {}
terraform {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_ssoadmin_instances" "example" {
}
resource "aws_cloudwatchomni_organization_domain" "example" {
lifecycle {
create_before_destroy = true
}
identity_provider_configuration {
identity_center_configuration {
identity_center_instance_arn = data.aws_ssoadmin_instances.example.arns[0]
}
}
name = "example"
identity_providers = ["IAM", "IDC"]
domain_access_role_arn = exampleAwsIamRole.arn
}
Create OrganizationDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrganizationDomain(name: string, args: OrganizationDomainArgs, opts?: CustomResourceOptions);@overload
def OrganizationDomain(resource_name: str,
args: OrganizationDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OrganizationDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_access_role_arn: Optional[str] = None,
identity_providers: Optional[Sequence[str]] = None,
identity_provider_configuration: Optional[OrganizationDomainIdentityProviderConfigurationArgs] = None,
name: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewOrganizationDomain(ctx *Context, name string, args OrganizationDomainArgs, opts ...ResourceOption) (*OrganizationDomain, error)public OrganizationDomain(string name, OrganizationDomainArgs args, CustomResourceOptions? opts = null)
public OrganizationDomain(String name, OrganizationDomainArgs args)
public OrganizationDomain(String name, OrganizationDomainArgs args, CustomResourceOptions options)
type: aws:cloudwatchomni:OrganizationDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_cloudwatchomni_organization_domain" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args OrganizationDomainArgs
- 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 OrganizationDomainArgs
- 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 OrganizationDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrganizationDomainArgs
- 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 organizationDomainResource = new Aws.CloudWatchOmni.OrganizationDomain("organizationDomainResource", new()
{
DomainAccessRoleArn = "string",
IdentityProviders = new[]
{
"string",
},
IdentityProviderConfiguration = new Aws.CloudWatchOmni.Inputs.OrganizationDomainIdentityProviderConfigurationArgs
{
IdentityCenterConfiguration = new Aws.CloudWatchOmni.Inputs.OrganizationDomainIdentityProviderConfigurationIdentityCenterConfigurationArgs
{
IdentityCenterInstanceArn = "string",
},
},
Name = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := cloudwatchomni.NewOrganizationDomain(ctx, "organizationDomainResource", &cloudwatchomni.OrganizationDomainArgs{
DomainAccessRoleArn: pulumi.String("string"),
IdentityProviders: pulumi.StringArray{
pulumi.String("string"),
},
IdentityProviderConfiguration: &cloudwatchomni.OrganizationDomainIdentityProviderConfigurationArgs{
IdentityCenterConfiguration: &cloudwatchomni.OrganizationDomainIdentityProviderConfigurationIdentityCenterConfigurationArgs{
IdentityCenterInstanceArn: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "aws_cloudwatchomni_organization_domain" "organizationDomainResource" {
lifecycle {
create_before_destroy = true
}
domain_access_role_arn = "string"
identity_providers = ["string"]
identity_provider_configuration = {
identity_center_configuration = {
identity_center_instance_arn = "string"
}
}
name = "string"
region = "string"
tags = {
"string" = "string"
}
}
var organizationDomainResource = new OrganizationDomain("organizationDomainResource", OrganizationDomainArgs.builder()
.domainAccessRoleArn("string")
.identityProviders("string")
.identityProviderConfiguration(OrganizationDomainIdentityProviderConfigurationArgs.builder()
.identityCenterConfiguration(OrganizationDomainIdentityProviderConfigurationIdentityCenterConfigurationArgs.builder()
.identityCenterInstanceArn("string")
.build())
.build())
.name("string")
.region("string")
.tags(Map.of("string", "string"))
.build());
organization_domain_resource = aws.cloudwatchomni.OrganizationDomain("organizationDomainResource",
domain_access_role_arn="string",
identity_providers=["string"],
identity_provider_configuration={
"identity_center_configuration": {
"identity_center_instance_arn": "string",
},
},
name="string",
region="string",
tags={
"string": "string",
})
const organizationDomainResource = new aws.cloudwatchomni.OrganizationDomain("organizationDomainResource", {
domainAccessRoleArn: "string",
identityProviders: ["string"],
identityProviderConfiguration: {
identityCenterConfiguration: {
identityCenterInstanceArn: "string",
},
},
name: "string",
region: "string",
tags: {
string: "string",
},
});
type: aws:cloudwatchomni:OrganizationDomain
properties:
domainAccessRoleArn: string
identityProviderConfiguration:
identityCenterConfiguration:
identityCenterInstanceArn: string
identityProviders:
- string
name: string
region: string
tags:
string: string
OrganizationDomain 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 OrganizationDomain resource accepts the following input properties:
- Domain
Access stringRole Arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - Identity
Providers List<string> - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - Identity
Provider OrganizationConfiguration Domain Identity Provider Configuration - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - Name string
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Domain
Access stringRole Arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - Identity
Providers []string - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - Identity
Provider OrganizationConfiguration Domain Identity Provider Configuration Args - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - Name string
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- domain_
access_ stringrole_ arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - identity_
providers list(string) - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - identity_
provider_ objectconfiguration - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - name string
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- domain
Access StringRole Arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - identity
Providers List<String> - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - identity
Provider OrganizationConfiguration Domain Identity Provider Configuration - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - name String
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- domain
Access stringRole Arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - identity
Providers string[] - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - identity
Provider OrganizationConfiguration Domain Identity Provider Configuration - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - name string
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- domain_
access_ strrole_ arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - identity_
providers Sequence[str] - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - identity_
provider_ Organizationconfiguration Domain Identity Provider Configuration Args - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - name str
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- domain
Access StringRole Arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - identity
Providers List<String> - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - identity
Provider Property MapConfiguration - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - name String
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationDomain resource produces the following output properties:
- Arn string
- ARN of the organization domain.
- Custom
Endpoint List<string>Urls - Additional endpoint URLs derived from the domain name.
- Domain
Endpoint stringUrl - HTTPS endpoint URL for accessing the domain.
- Domain
Id string - Unique identifier of the organization domain.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identity
Center stringApplication Arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - Organization
Id string - ID of the organization that the domain belongs to.
- Owner
Account stringId - ID of the management account that owns the domain.
- Status string
- Status of the domain.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN of the organization domain.
- Custom
Endpoint []stringUrls - Additional endpoint URLs derived from the domain name.
- Domain
Endpoint stringUrl - HTTPS endpoint URL for accessing the domain.
- Domain
Id string - Unique identifier of the organization domain.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identity
Center stringApplication Arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - Organization
Id string - ID of the organization that the domain belongs to.
- Owner
Account stringId - ID of the management account that owns the domain.
- Status string
- Status of the domain.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the organization domain.
- custom_
endpoint_ list(string)urls - Additional endpoint URLs derived from the domain name.
- domain_
endpoint_ stringurl - HTTPS endpoint URL for accessing the domain.
- domain_
id string - Unique identifier of the organization domain.
- id string
- The provider-assigned unique ID for this managed resource.
- identity_
center_ stringapplication_ arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - organization_
id string - ID of the organization that the domain belongs to.
- owner_
account_ stringid - ID of the management account that owns the domain.
- status string
- Status of the domain.
- map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the organization domain.
- custom
Endpoint List<String>Urls - Additional endpoint URLs derived from the domain name.
- domain
Endpoint StringUrl - HTTPS endpoint URL for accessing the domain.
- domain
Id String - Unique identifier of the organization domain.
- id String
- The provider-assigned unique ID for this managed resource.
- identity
Center StringApplication Arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - organization
Id String - ID of the organization that the domain belongs to.
- owner
Account StringId - ID of the management account that owns the domain.
- status String
- Status of the domain.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the organization domain.
- custom
Endpoint string[]Urls - Additional endpoint URLs derived from the domain name.
- domain
Endpoint stringUrl - HTTPS endpoint URL for accessing the domain.
- domain
Id string - Unique identifier of the organization domain.
- id string
- The provider-assigned unique ID for this managed resource.
- identity
Center stringApplication Arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - organization
Id string - ID of the organization that the domain belongs to.
- owner
Account stringId - ID of the management account that owns the domain.
- status string
- Status of the domain.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN of the organization domain.
- custom_
endpoint_ Sequence[str]urls - Additional endpoint URLs derived from the domain name.
- domain_
endpoint_ strurl - HTTPS endpoint URL for accessing the domain.
- domain_
id str - Unique identifier of the organization domain.
- id str
- The provider-assigned unique ID for this managed resource.
- identity_
center_ strapplication_ arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - organization_
id str - ID of the organization that the domain belongs to.
- owner_
account_ strid - ID of the management account that owns the domain.
- status str
- Status of the domain.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the organization domain.
- custom
Endpoint List<String>Urls - Additional endpoint URLs derived from the domain name.
- domain
Endpoint StringUrl - HTTPS endpoint URL for accessing the domain.
- domain
Id String - Unique identifier of the organization domain.
- id String
- The provider-assigned unique ID for this managed resource.
- identity
Center StringApplication Arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - organization
Id String - ID of the organization that the domain belongs to.
- owner
Account StringId - ID of the management account that owns the domain.
- status String
- Status of the domain.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing OrganizationDomain Resource
Get an existing OrganizationDomain 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?: OrganizationDomainState, opts?: CustomResourceOptions): OrganizationDomain@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
custom_endpoint_urls: Optional[Sequence[str]] = None,
domain_access_role_arn: Optional[str] = None,
domain_endpoint_url: Optional[str] = None,
domain_id: Optional[str] = None,
identity_center_application_arn: Optional[str] = None,
identity_provider_configuration: Optional[OrganizationDomainIdentityProviderConfigurationArgs] = None,
identity_providers: Optional[Sequence[str]] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
owner_account_id: Optional[str] = None,
region: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> OrganizationDomainfunc GetOrganizationDomain(ctx *Context, name string, id IDInput, state *OrganizationDomainState, opts ...ResourceOption) (*OrganizationDomain, error)public static OrganizationDomain Get(string name, Input<string> id, OrganizationDomainState? state, CustomResourceOptions? opts = null)public static OrganizationDomain get(String name, Output<String> id, OrganizationDomainState state, CustomResourceOptions options)resources: existingOrganizationDomain: type: aws:cloudwatchomni:OrganizationDomain get: id: ${id}import {
to = aws_cloudwatchomni_organization_domain.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state OrganizationDomainState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state OrganizationDomainState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state OrganizationDomainState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state OrganizationDomainState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Arn string
- ARN of the organization domain.
- Custom
Endpoint List<string>Urls - Additional endpoint URLs derived from the domain name.
- Domain
Access stringRole Arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - Domain
Endpoint stringUrl - HTTPS endpoint URL for accessing the domain.
- Domain
Id string - Unique identifier of the organization domain.
- Identity
Center stringApplication Arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - Identity
Provider OrganizationConfiguration Domain Identity Provider Configuration - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - Identity
Providers List<string> - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - Name string
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- Organization
Id string - ID of the organization that the domain belongs to.
- Owner
Account stringId - ID of the management account that owns the domain.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- Status of the domain.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN of the organization domain.
- Custom
Endpoint []stringUrls - Additional endpoint URLs derived from the domain name.
- Domain
Access stringRole Arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - Domain
Endpoint stringUrl - HTTPS endpoint URL for accessing the domain.
- Domain
Id string - Unique identifier of the organization domain.
- Identity
Center stringApplication Arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - Identity
Provider OrganizationConfiguration Domain Identity Provider Configuration Args - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - Identity
Providers []string - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - Name string
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- Organization
Id string - ID of the organization that the domain belongs to.
- Owner
Account stringId - ID of the management account that owns the domain.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- Status of the domain.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the organization domain.
- custom_
endpoint_ list(string)urls - Additional endpoint URLs derived from the domain name.
- domain_
access_ stringrole_ arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - domain_
endpoint_ stringurl - HTTPS endpoint URL for accessing the domain.
- domain_
id string - Unique identifier of the organization domain.
- identity_
center_ stringapplication_ arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - identity_
provider_ objectconfiguration - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - identity_
providers list(string) - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - name string
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- organization_
id string - ID of the organization that the domain belongs to.
- owner_
account_ stringid - ID of the management account that owns the domain.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status string
- Status of the domain.
- map(string)
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the organization domain.
- custom
Endpoint List<String>Urls - Additional endpoint URLs derived from the domain name.
- domain
Access StringRole Arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - domain
Endpoint StringUrl - HTTPS endpoint URL for accessing the domain.
- domain
Id String - Unique identifier of the organization domain.
- identity
Center StringApplication Arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - identity
Provider OrganizationConfiguration Domain Identity Provider Configuration - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - identity
Providers List<String> - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - name String
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- organization
Id String - ID of the organization that the domain belongs to.
- owner
Account StringId - ID of the management account that owns the domain.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- Status of the domain.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the organization domain.
- custom
Endpoint string[]Urls - Additional endpoint URLs derived from the domain name.
- domain
Access stringRole Arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - domain
Endpoint stringUrl - HTTPS endpoint URL for accessing the domain.
- domain
Id string - Unique identifier of the organization domain.
- identity
Center stringApplication Arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - identity
Provider OrganizationConfiguration Domain Identity Provider Configuration - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - identity
Providers string[] - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - name string
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- organization
Id string - ID of the organization that the domain belongs to.
- owner
Account stringId - ID of the management account that owns the domain.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status string
- Status of the domain.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN of the organization domain.
- custom_
endpoint_ Sequence[str]urls - Additional endpoint URLs derived from the domain name.
- domain_
access_ strrole_ arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - domain_
endpoint_ strurl - HTTPS endpoint URL for accessing the domain.
- domain_
id str - Unique identifier of the organization domain.
- identity_
center_ strapplication_ arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - identity_
provider_ Organizationconfiguration Domain Identity Provider Configuration Args - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - identity_
providers Sequence[str] - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - name str
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- organization_
id str - ID of the organization that the domain belongs to.
- owner_
account_ strid - ID of the management account that owns the domain.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status str
- Status of the domain.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the organization domain.
- custom
Endpoint List<String>Urls - Additional endpoint URLs derived from the domain name.
- domain
Access StringRole Arn - ARN of the IAM role that CloudWatch Omni assumes to access the organization. The role must be in the management account, trust
cloudwatch.amazonaws.comforsts:AssumeRoleandsts:TagSession, and have theCloudWatchOmniDomainAccessPolicyAWS managed policy attached. - domain
Endpoint StringUrl - HTTPS endpoint URL for accessing the domain.
- domain
Id String - Unique identifier of the organization domain.
- identity
Center StringApplication Arn - ARN of the IAM Identity Center application. Only set when
identityProvidersincludesIDC. - identity
Provider Property MapConfiguration - Identity provider configuration. Required when
identityProvidersincludesIDC. See below. - identity
Providers List<String> - Set of identity providers that users can sign in with. Valid values:
IAM,IDC. - name String
Name of the domain. Must be 3-63 characters, contain only lowercase letters, numbers, and hyphens, begin and end with a letter or number, and not contain consecutive hyphens. Changing the name changes the domain's custom endpoint URLs.
The following arguments are optional:
- organization
Id String - ID of the organization that the domain belongs to.
- owner
Account StringId - ID of the management account that owns the domain.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- Status of the domain.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Supporting Types
OrganizationDomainIdentityProviderConfiguration, OrganizationDomainIdentityProviderConfigurationArgs
- Identity
Center OrganizationConfiguration Domain Identity Provider Configuration Identity Center Configuration - IAM Identity Center configuration. See below.
- Identity
Center OrganizationConfiguration Domain Identity Provider Configuration Identity Center Configuration - IAM Identity Center configuration. See below.
- identity_
center_ objectconfiguration - IAM Identity Center configuration. See below.
- identity
Center OrganizationConfiguration Domain Identity Provider Configuration Identity Center Configuration - IAM Identity Center configuration. See below.
- identity
Center OrganizationConfiguration Domain Identity Provider Configuration Identity Center Configuration - IAM Identity Center configuration. See below.
- identity_
center_ Organizationconfiguration Domain Identity Provider Configuration Identity Center Configuration - IAM Identity Center configuration. See below.
- identity
Center Property MapConfiguration - IAM Identity Center configuration. See below.
OrganizationDomainIdentityProviderConfigurationIdentityCenterConfiguration, OrganizationDomainIdentityProviderConfigurationIdentityCenterConfigurationArgs
- Identity
Center stringInstance Arn - ARN of the IAM Identity Center instance.
- Identity
Center stringInstance Arn - ARN of the IAM Identity Center instance.
- identity_
center_ stringinstance_ arn - ARN of the IAM Identity Center instance.
- identity
Center StringInstance Arn - ARN of the IAM Identity Center instance.
- identity
Center stringInstance Arn - ARN of the IAM Identity Center instance.
- identity_
center_ strinstance_ arn - ARN of the IAM Identity Center instance.
- identity
Center StringInstance Arn - ARN of the IAM Identity Center instance.
Import
Identity Schema
Required
domainId(String) Domain ID.
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import a CloudWatch Omni Organization Domain by domain ID. For example:
$ pulumi import aws:cloudwatchomni/organizationDomain:OrganizationDomain example d-0123456789abcdefghijklmno
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.
published on Friday, Nov 13, 2026 by Pulumi