1. Packages
  2. AWS Classic
  3. API Docs
  4. directoryservice
  5. ServiceRegion

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi

aws.directoryservice.ServiceRegion

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi

    Manages a replicated Region and directory for Multi-Region replication. Multi-Region replication is only supported for the Enterprise Edition of AWS Managed Microsoft AD.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    import * as std from "@pulumi/std";
    
    const example = aws.getRegion({});
    const available = aws.getAvailabilityZones({
        state: "available",
        filters: [{
            name: "opt-in-status",
            values: ["opt-in-not-required"],
        }],
    });
    const exampleVpc = new aws.ec2.Vpc("example", {
        cidrBlock: "10.0.0.0/16",
        tags: {
            Name: "Primary",
        },
    });
    const exampleSubnet: aws.ec2.Subnet[] = [];
    for (const range = {value: 0}; range.value < 2; range.value++) {
        exampleSubnet.push(new aws.ec2.Subnet(`example-${range.value}`, {
            vpcId: exampleVpc.id,
            availabilityZone: available.then(available => available.names[range.value]),
            cidrBlock: exampleVpc.cidrBlock.apply(cidrBlock => std.cidrsubnetOutput({
                input: cidrBlock,
                newbits: 8,
                netnum: range.value,
            })).apply(invoke => invoke.result),
            tags: {
                Name: "Primary",
            },
        }));
    }
    const exampleDirectory = new aws.directoryservice.Directory("example", {
        name: "example.com",
        password: "SuperSecretPassw0rd",
        type: "MicrosoftAD",
        vpcSettings: {
            vpcId: exampleVpc.id,
            subnetIds: exampleSubnet.map(__item => __item.id),
        },
    });
    const available-secondary = aws.getAvailabilityZones({
        state: "available",
        filters: [{
            name: "opt-in-status",
            values: ["opt-in-not-required"],
        }],
    });
    const example_secondary = new aws.ec2.Vpc("example-secondary", {
        cidrBlock: "10.1.0.0/16",
        tags: {
            Name: "Secondary",
        },
    });
    const example_secondarySubnet: aws.ec2.Subnet[] = [];
    for (const range = {value: 0}; range.value < 2; range.value++) {
        example_secondarySubnet.push(new aws.ec2.Subnet(`example-secondary-${range.value}`, {
            vpcId: example_secondary.id,
            availabilityZone: available_secondary.then(available_secondary => available_secondary.names[range.value]),
            cidrBlock: example_secondary.cidrBlock.apply(cidrBlock => std.cidrsubnetOutput({
                input: cidrBlock,
                newbits: 8,
                netnum: range.value,
            })).apply(invoke => invoke.result),
            tags: {
                Name: "Secondary",
            },
        }));
    }
    const exampleServiceRegion = new aws.directoryservice.ServiceRegion("example", {
        directoryId: exampleDirectory.id,
        regionName: example.then(example => example.name),
        vpcSettings: {
            vpcId: example_secondary.id,
            subnetIds: example_secondarySubnet.map(__item => __item.id),
        },
        tags: {
            Name: "Secondary",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    import pulumi_std as std
    
    example = aws.get_region()
    available = aws.get_availability_zones(state="available",
        filters=[aws.GetAvailabilityZonesFilterArgs(
            name="opt-in-status",
            values=["opt-in-not-required"],
        )])
    example_vpc = aws.ec2.Vpc("example",
        cidr_block="10.0.0.0/16",
        tags={
            "Name": "Primary",
        })
    example_subnet = []
    for range in [{"value": i} for i in range(0, 2)]:
        example_subnet.append(aws.ec2.Subnet(f"example-{range['value']}",
            vpc_id=example_vpc.id,
            availability_zone=available.names[range["value"]],
            cidr_block=example_vpc.cidr_block.apply(lambda cidr_block: std.cidrsubnet_output(input=cidr_block,
                newbits=8,
                netnum=range["value"])).apply(lambda invoke: invoke.result),
            tags={
                "Name": "Primary",
            }))
    example_directory = aws.directoryservice.Directory("example",
        name="example.com",
        password="SuperSecretPassw0rd",
        type="MicrosoftAD",
        vpc_settings=aws.directoryservice.DirectoryVpcSettingsArgs(
            vpc_id=example_vpc.id,
            subnet_ids=[__item.id for __item in example_subnet],
        ))
    available_secondary = aws.get_availability_zones(state="available",
        filters=[aws.GetAvailabilityZonesFilterArgs(
            name="opt-in-status",
            values=["opt-in-not-required"],
        )])
    example_secondary = aws.ec2.Vpc("example-secondary",
        cidr_block="10.1.0.0/16",
        tags={
            "Name": "Secondary",
        })
    example_secondary_subnet = []
    for range in [{"value": i} for i in range(0, 2)]:
        example_secondary_subnet.append(aws.ec2.Subnet(f"example-secondary-{range['value']}",
            vpc_id=example_secondary.id,
            availability_zone=available_secondary.names[range["value"]],
            cidr_block=example_secondary.cidr_block.apply(lambda cidr_block: std.cidrsubnet_output(input=cidr_block,
                newbits=8,
                netnum=range["value"])).apply(lambda invoke: invoke.result),
            tags={
                "Name": "Secondary",
            }))
    example_service_region = aws.directoryservice.ServiceRegion("example",
        directory_id=example_directory.id,
        region_name=example.name,
        vpc_settings=aws.directoryservice.ServiceRegionVpcSettingsArgs(
            vpc_id=example_secondary.id,
            subnet_ids=[__item.id for __item in example_secondary_subnet],
        ),
        tags={
            "Name": "Secondary",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directoryservice"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
    	"github.com/pulumi/pulumi-std/sdk/go/std"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
    example, err := aws.GetRegion(ctx, nil, nil);
    if err != nil {
    return err
    }
    available, err := aws.GetAvailabilityZones(ctx, &aws.GetAvailabilityZonesArgs{
    State: pulumi.StringRef("available"),
    Filters: []aws.GetAvailabilityZonesFilter{
    {
    Name: "opt-in-status",
    Values: []string{
    "opt-in-not-required",
    },
    },
    },
    }, nil);
    if err != nil {
    return err
    }
    exampleVpc, err := ec2.NewVpc(ctx, "example", &ec2.VpcArgs{
    CidrBlock: pulumi.String("10.0.0.0/16"),
    Tags: pulumi.StringMap{
    "Name": pulumi.String("Primary"),
    },
    })
    if err != nil {
    return err
    }
    var exampleSubnet []*ec2.Subnet
    for index := 0; index < 2; index++ {
        key0 := index
        val0 := index
    __res, err := ec2.NewSubnet(ctx, fmt.Sprintf("example-%v", key0), &ec2.SubnetArgs{
    VpcId: exampleVpc.ID(),
    AvailabilityZone: available.Names[val0],
    CidrBlock: exampleVpc.CidrBlock.ApplyT(func(cidrBlock string) (std.CidrsubnetResult, error) {
    return std.CidrsubnetOutput(ctx, std.CidrsubnetOutputArgs{
    Input: cidrBlock,
    Newbits: 8,
    Netnum: val0,
    }, nil), nil
    }).(std.CidrsubnetResultOutput).ApplyT(func(invoke std.CidrsubnetResult) (*string, error) {
    return invoke.Result, nil
    }).(pulumi.StringPtrOutput),
    Tags: pulumi.StringMap{
    "Name": pulumi.String("Primary"),
    },
    })
    if err != nil {
    return err
    }
    exampleSubnet = append(exampleSubnet, __res)
    }
    exampleDirectory, err := directoryservice.NewDirectory(ctx, "example", &directoryservice.DirectoryArgs{
    Name: pulumi.String("example.com"),
    Password: pulumi.String("SuperSecretPassw0rd"),
    Type: pulumi.String("MicrosoftAD"),
    VpcSettings: &directoryservice.DirectoryVpcSettingsArgs{
    VpcId: exampleVpc.ID(),
    SubnetIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:44,17-36),
    },
    })
    if err != nil {
    return err
    }
    available_secondary, err := aws.GetAvailabilityZones(ctx, &aws.GetAvailabilityZonesArgs{
    State: pulumi.StringRef("available"),
    Filters: []aws.GetAvailabilityZonesFilter{
    {
    Name: "opt-in-status",
    Values: []string{
    "opt-in-not-required",
    },
    },
    },
    }, nil);
    if err != nil {
    return err
    }
    _, err = ec2.NewVpc(ctx, "example-secondary", &ec2.VpcArgs{
    CidrBlock: pulumi.String("10.1.0.0/16"),
    Tags: pulumi.StringMap{
    "Name": pulumi.String("Secondary"),
    },
    })
    if err != nil {
    return err
    }
    var example_secondarySubnet []*ec2.Subnet
    for index := 0; index < 2; index++ {
        key0 := index
        val0 := index
    __res, err := ec2.NewSubnet(ctx, fmt.Sprintf("example-secondary-%v", key0), &ec2.SubnetArgs{
    VpcId: example_secondary.ID(),
    AvailabilityZone: available_secondary.Names[val0],
    CidrBlock: example_secondary.CidrBlock.ApplyT(func(cidrBlock string) (std.CidrsubnetResult, error) {
    return std.CidrsubnetOutput(ctx, std.CidrsubnetOutputArgs{
    Input: cidrBlock,
    Newbits: 8,
    Netnum: val0,
    }, nil), nil
    }).(std.CidrsubnetResultOutput).ApplyT(func(invoke std.CidrsubnetResult) (*string, error) {
    return invoke.Result, nil
    }).(pulumi.StringPtrOutput),
    Tags: pulumi.StringMap{
    "Name": pulumi.String("Secondary"),
    },
    })
    if err != nil {
    return err
    }
    example_secondarySubnet = append(example_secondarySubnet, __res)
    }
    _, err = directoryservice.NewServiceRegion(ctx, "example", &directoryservice.ServiceRegionArgs{
    DirectoryId: exampleDirectory.ID(),
    RegionName: *pulumi.String(example.Name),
    VpcSettings: &directoryservice.ServiceRegionVpcSettingsArgs{
    VpcId: example_secondary.ID(),
    SubnetIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:87,17-46),
    },
    Tags: pulumi.StringMap{
    "Name": pulumi.String("Secondary"),
    },
    })
    if err != nil {
    return err
    }
    return nil
    })
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    using Std = Pulumi.Std;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.GetRegion.Invoke();
    
        var available = Aws.GetAvailabilityZones.Invoke(new()
        {
            State = "available",
            Filters = new[]
            {
                new Aws.Inputs.GetAvailabilityZonesFilterInputArgs
                {
                    Name = "opt-in-status",
                    Values = new[]
                    {
                        "opt-in-not-required",
                    },
                },
            },
        });
    
        var exampleVpc = new Aws.Ec2.Vpc("example", new()
        {
            CidrBlock = "10.0.0.0/16",
            Tags = 
            {
                { "Name", "Primary" },
            },
        });
    
        var exampleSubnet = new List<Aws.Ec2.Subnet>();
        for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++)
        {
            var range = new { Value = rangeIndex };
            exampleSubnet.Add(new Aws.Ec2.Subnet($"example-{range.Value}", new()
            {
                VpcId = exampleVpc.Id,
                AvailabilityZone = available.Apply(getAvailabilityZonesResult => getAvailabilityZonesResult.Names)[range.Value],
                CidrBlock = exampleVpc.CidrBlock.Apply(cidrBlock => Std.Cidrsubnet.Invoke(new()
                {
                    Input = cidrBlock,
                    Newbits = 8,
                    Netnum = range.Value,
                })).Apply(invoke => invoke.Result),
                Tags = 
                {
                    { "Name", "Primary" },
                },
            }));
        }
        var exampleDirectory = new Aws.DirectoryService.Directory("example", new()
        {
            Name = "example.com",
            Password = "SuperSecretPassw0rd",
            Type = "MicrosoftAD",
            VpcSettings = new Aws.DirectoryService.Inputs.DirectoryVpcSettingsArgs
            {
                VpcId = exampleVpc.Id,
                SubnetIds = exampleSubnet.Select(__item => __item.Id).ToList(),
            },
        });
    
        var available_secondary = Aws.GetAvailabilityZones.Invoke(new()
        {
            State = "available",
            Filters = new[]
            {
                new Aws.Inputs.GetAvailabilityZonesFilterInputArgs
                {
                    Name = "opt-in-status",
                    Values = new[]
                    {
                        "opt-in-not-required",
                    },
                },
            },
        });
    
        var example_secondary = new Aws.Ec2.Vpc("example-secondary", new()
        {
            CidrBlock = "10.1.0.0/16",
            Tags = 
            {
                { "Name", "Secondary" },
            },
        });
    
        var example_secondarySubnet = new List<Aws.Ec2.Subnet>();
        for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++)
        {
            var range = new { Value = rangeIndex };
            example_secondarySubnet.Add(new Aws.Ec2.Subnet($"example-secondary-{range.Value}", new()
            {
                VpcId = example_secondary.Id,
                AvailabilityZone = available_secondary.Apply(available_secondary => available_secondary.Apply(getAvailabilityZonesResult => getAvailabilityZonesResult.Names)[range.Value]),
                CidrBlock = example_secondary.CidrBlock.Apply(cidrBlock => Std.Cidrsubnet.Invoke(new()
                {
                    Input = cidrBlock,
                    Newbits = 8,
                    Netnum = range.Value,
                })).Apply(invoke => invoke.Result),
                Tags = 
                {
                    { "Name", "Secondary" },
                },
            }));
        }
        var exampleServiceRegion = new Aws.DirectoryService.ServiceRegion("example", new()
        {
            DirectoryId = exampleDirectory.Id,
            RegionName = example.Apply(getRegionResult => getRegionResult.Name),
            VpcSettings = new Aws.DirectoryService.Inputs.ServiceRegionVpcSettingsArgs
            {
                VpcId = example_secondary.Id,
                SubnetIds = example_secondarySubnet.Select(__item => __item.Id).ToList(),
            },
            Tags = 
            {
                { "Name", "Secondary" },
            },
        });
    
    });
    
    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.GetRegionArgs;
    import com.pulumi.aws.inputs.GetAvailabilityZonesArgs;
    import com.pulumi.aws.ec2.Vpc;
    import com.pulumi.aws.ec2.VpcArgs;
    import com.pulumi.aws.ec2.Subnet;
    import com.pulumi.aws.ec2.SubnetArgs;
    import com.pulumi.aws.directoryservice.Directory;
    import com.pulumi.aws.directoryservice.DirectoryArgs;
    import com.pulumi.aws.directoryservice.inputs.DirectoryVpcSettingsArgs;
    import com.pulumi.aws.directoryservice.ServiceRegion;
    import com.pulumi.aws.directoryservice.ServiceRegionArgs;
    import com.pulumi.aws.directoryservice.inputs.ServiceRegionVpcSettingsArgs;
    import com.pulumi.codegen.internal.KeyedValue;
    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) {
            final var example = AwsFunctions.getRegion();
    
            final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
                .state("available")
                .filters(GetAvailabilityZonesFilterArgs.builder()
                    .name("opt-in-status")
                    .values("opt-in-not-required")
                    .build())
                .build());
    
            var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
                .cidrBlock("10.0.0.0/16")
                .tags(Map.of("Name", "Primary"))
                .build());
    
            for (var i = 0; i < 2; i++) {
                new Subnet("exampleSubnet-" + i, SubnetArgs.builder()            
                    .vpcId(exampleVpc.id())
                    .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names())[range.value()])
                    .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
                    .tags(Map.of("Name", "Primary"))
                    .build());
    
            
    }
            var exampleDirectory = new Directory("exampleDirectory", DirectoryArgs.builder()        
                .name("example.com")
                .password("SuperSecretPassw0rd")
                .type("MicrosoftAD")
                .vpcSettings(DirectoryVpcSettingsArgs.builder()
                    .vpcId(exampleVpc.id())
                    .subnetIds(exampleSubnet.stream().map(element -> element.id()).collect(toList()))
                    .build())
                .build());
    
            final var available-secondary = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
                .state("available")
                .filters(GetAvailabilityZonesFilterArgs.builder()
                    .name("opt-in-status")
                    .values("opt-in-not-required")
                    .build())
                .build());
    
            var example_secondary = new Vpc("example-secondary", VpcArgs.builder()        
                .cidrBlock("10.1.0.0/16")
                .tags(Map.of("Name", "Secondary"))
                .build());
    
            for (var i = 0; i < 2; i++) {
                new Subnet("example-secondarySubnet-" + i, SubnetArgs.builder()            
                    .vpcId(example_secondary.id())
                    .availabilityZone(available_secondary.names()[range.value()])
                    .cidrBlock(example_secondary.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
                    .tags(Map.of("Name", "Secondary"))
                    .build());
    
            
    }
            var exampleServiceRegion = new ServiceRegion("exampleServiceRegion", ServiceRegionArgs.builder()        
                .directoryId(exampleDirectory.id())
                .regionName(example.applyValue(getRegionResult -> getRegionResult.name()))
                .vpcSettings(ServiceRegionVpcSettingsArgs.builder()
                    .vpcId(example_secondary.id())
                    .subnetIds(example_secondarySubnet.stream().map(element -> element.id()).collect(toList()))
                    .build())
                .tags(Map.of("Name", "Secondary"))
                .build());
    
        }
    }
    
    Coming soon!```
    </pulumi-choosable>
    </div>
    
    
    
    ## Create ServiceRegion Resource {#create}
    <div>
    <pulumi-chooser type="language" options="typescript,python,go,csharp,java,yaml"></pulumi-chooser>
    </div>
    
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    <div class="highlight"><pre class="chroma"><code class="language-typescript" data-lang="typescript"><span class="k">new </span><span class="nx">ServiceRegion</span><span class="p">(</span><span class="nx">name</span><span class="p">:</span> <span class="nx">string</span><span class="p">,</span> <span class="nx">args</span><span class="p">:</span> <span class="nx"><a href="#inputs">ServiceRegionArgs</a></span><span class="p">,</span> <span class="nx">opts</span><span class="p">?:</span> <span class="nx"><a href="/docs/reference/pkg/nodejs/pulumi/pulumi/#CustomResourceOptions">CustomResourceOptions</a></span><span class="p">);</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <div class="highlight"><pre class="chroma"><code class="language-python" data-lang="python"><span class=nd>@overload</span>
    <span class="k">def </span><span class="nx">ServiceRegion</span><span class="p">(</span><span class="nx">resource_name</span><span class="p">:</span> <span class="nx">str</span><span class="p">,</span>
                      <span class="nx">opts</span><span class="p">:</span> <span class="nx"><a href="/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions">Optional[ResourceOptions]</a></span> = None<span class="p">,</span>
                      <span class="nx">desired_number_of_domain_controllers</span><span class="p">:</span> <span class="nx">Optional[int]</span> = None<span class="p">,</span>
                      <span class="nx">directory_id</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">,</span>
                      <span class="nx">region_name</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">,</span>
                      <span class="nx">tags</span><span class="p">:</span> <span class="nx">Optional[Mapping[str, str]]</span> = None<span class="p">,</span>
                      <span class="nx">vpc_settings</span><span class="p">:</span> <span class="nx">Optional[ServiceRegionVpcSettingsArgs]</span> = None<span class="p">)</span>
    <span class=nd>@overload</span>
    <span class="k">def </span><span class="nx">ServiceRegion</span><span class="p">(</span><span class="nx">resource_name</span><span class="p">:</span> <span class="nx">str</span><span class="p">,</span>
                      <span class="nx">args</span><span class="p">:</span> <span class="nx"><a href="#inputs">ServiceRegionArgs</a></span><span class="p">,</span>
                      <span class="nx">opts</span><span class="p">:</span> <span class="nx"><a href="/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions">Optional[ResourceOptions]</a></span> = None<span class="p">)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    <div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"><span class="k">func </span><span class="nx">NewServiceRegion</span><span class="p">(</span><span class="nx">ctx</span><span class="p"> *</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#Context">Context</a></span><span class="p">,</span> <span class="nx">name</span><span class="p"> </span><span class="nx">string</span><span class="p">,</span> <span class="nx">args</span><span class="p"> </span><span class="nx"><a href="#inputs">ServiceRegionArgs</a></span><span class="p">,</span> <span class="nx">opts</span><span class="p"> ...</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#ResourceOption">ResourceOption</a></span><span class="p">) (*<span class="nx">ServiceRegion</span>, error)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    <div class="highlight"><pre class="chroma"><code class="language-csharp" data-lang="csharp"><span class="k">public </span><span class="nx">ServiceRegion</span><span class="p">(</span><span class="nx">string</span><span class="p"> </span><span class="nx">name<span class="p">,</span> <span class="nx"><a href="#inputs">ServiceRegionArgs</a></span><span class="p"> </span><span class="nx">args<span class="p">,</span> <span class="nx"><a href="/docs/reference/pkg/dotnet/Pulumi/Pulumi.CustomResourceOptions.html">CustomResourceOptions</a></span><span class="p">? </span><span class="nx">opts = null<span class="p">)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    <div class="highlight"><pre class="chroma">
    <code class="language-java" data-lang="java"><span class="k">public </span><span class="nx">ServiceRegion</span><span class="p">(</span><span class="nx">String</span><span class="p"> </span><span class="nx">name<span class="p">,</span> <span class="nx"><a href="#inputs">ServiceRegionArgs</a></span><span class="p"> </span><span class="nx">args<span class="p">)</span>
    <span class="k">public </span><span class="nx">ServiceRegion</span><span class="p">(</span><span class="nx">String</span><span class="p"> </span><span class="nx">name<span class="p">,</span> <span class="nx"><a href="#inputs">ServiceRegionArgs</a></span><span class="p"> </span><span class="nx">args<span class="p">,</span> <span class="nx">CustomResourceOptions</span><span class="p"> </span><span class="nx">options<span class="p">)</span>
    </code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="yaml">
    <div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">type: <span class="nx">aws:directoryservice:ServiceRegion</span><span class="p"></span>
    <span class="p">properties</span><span class="p">: </span><span class="c">#&nbsp;The arguments to resource properties.</span>
    <span class="p"></span><span class="p">options</span><span class="p">: </span><span class="c">#&nbsp;Bag of options to control resource&#39;s behavior.</span>
    <span class="p"></span>
    </code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    
    <dl class="resources-properties"><dt
            class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The unique name of the resource.</dd><dt
            class="property-required" title="Required">
            <span>args</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#inputs">ServiceRegionArgs</a></span>
        </dt>
        <dd>The arguments to resource properties.</dd><dt
            class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="/docs/reference/pkg/nodejs/pulumi/pulumi/#CustomResourceOptions">CustomResourceOptions</a></span>
        </dt>
        <dd>Bag of options to control resource&#39;s behavior.</dd></dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    
    <dl class="resources-properties"><dt
            class="property-required" title="Required">
            <span>resource_name</span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The unique name of the resource.</dd><dt
            class="property-required" title="Required">
            <span>args</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#inputs">ServiceRegionArgs</a></span>
        </dt>
        <dd>The arguments to resource properties.</dd><dt
            class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions">ResourceOptions</a></span>
        </dt>
        <dd>Bag of options to control resource&#39;s behavior.</dd></dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    
    <dl class="resources-properties"><dt
            class="property-optional" title="Optional">
            <span>ctx</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#Context">Context</a></span>
        </dt>
        <dd>Context object for the current deployment.</dd><dt
            class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The unique name of the resource.</dd><dt
            class="property-required" title="Required">
            <span>args</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#inputs">ServiceRegionArgs</a></span>
        </dt>
        <dd>The arguments to resource properties.</dd><dt
            class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#ResourceOption">ResourceOption</a></span>
        </dt>
        <dd>Bag of options to control resource&#39;s behavior.</dd></dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    
    <dl class="resources-properties"><dt
            class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The unique name of the resource.</dd><dt
            class="property-required" title="Required">
            <span>args</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#inputs">ServiceRegionArgs</a></span>
        </dt>
        <dd>The arguments to resource properties.</dd><dt
            class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="/docs/reference/pkg/dotnet/Pulumi/Pulumi.CustomResourceOptions.html">CustomResourceOptions</a></span>
        </dt>
        <dd>Bag of options to control resource&#39;s behavior.</dd></dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    
    <dl class="resources-properties"><dt
            class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The unique name of the resource.</dd><dt
            class="property-required" title="Required">
            <span>args</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#inputs">ServiceRegionArgs</a></span>
        </dt>
        <dd>The arguments to resource properties.</dd><dt
            class="property-optional" title="Optional">
            <span>options</span>
            <span class="property-indicator"></span>
            <span class="property-type">CustomResourceOptions</span>
        </dt>
        <dd>Bag of options to control resource&#39;s behavior.</dd></dl>
    
    </pulumi-choosable>
    </div>
    
    ## ServiceRegion Resource Properties {#properties}
    
    To learn more about resource properties and how to use them, see [Inputs and Outputs](/docs/intro/concepts/inputs-outputs) in the Architecture and Concepts docs.
    
    ### Inputs
    
    The ServiceRegion resource accepts the following [input](/docs/intro/concepts/inputs-outputs) properties:
    
    
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="directoryid_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#directoryid_csharp" style="color: inherit; text-decoration: inherit;">Directory<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="regionname_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#regionname_csharp" style="color: inherit; text-decoration: inherit;">Region<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpcsettings_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpcsettings_csharp" style="color: inherit; text-decoration: inherit;">Vpc<wbr>Settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Service<wbr>Region<wbr>Vpc<wbr>Settings</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd><dt class="property-optional"
                title="Optional">
            <span id="desirednumberofdomaincontrollers_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#desirednumberofdomaincontrollers_csharp" style="color: inherit; text-decoration: inherit;">Desired<wbr>Number<wbr>Of<wbr>Domain<wbr>Controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional"
                title="Optional">
            <span id="tags_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tags_csharp" style="color: inherit; text-decoration: inherit;">Tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Dictionary&lt;string, string&gt;</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="directoryid_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#directoryid_go" style="color: inherit; text-decoration: inherit;">Directory<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="regionname_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#regionname_go" style="color: inherit; text-decoration: inherit;">Region<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpcsettings_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpcsettings_go" style="color: inherit; text-decoration: inherit;">Vpc<wbr>Settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Service<wbr>Region<wbr>Vpc<wbr>Settings<wbr>Args</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd><dt class="property-optional"
                title="Optional">
            <span id="desirednumberofdomaincontrollers_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#desirednumberofdomaincontrollers_go" style="color: inherit; text-decoration: inherit;">Desired<wbr>Number<wbr>Of<wbr>Domain<wbr>Controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional"
                title="Optional">
            <span id="tags_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tags_go" style="color: inherit; text-decoration: inherit;">Tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">map[string]string</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="directoryid_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#directoryid_java" style="color: inherit; text-decoration: inherit;">directory<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="regionname_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#regionname_java" style="color: inherit; text-decoration: inherit;">region<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpcsettings_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpcsettings_java" style="color: inherit; text-decoration: inherit;">vpc<wbr>Settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Service<wbr>Region<wbr>Vpc<wbr>Settings</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd><dt class="property-optional"
                title="Optional">
            <span id="desirednumberofdomaincontrollers_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#desirednumberofdomaincontrollers_java" style="color: inherit; text-decoration: inherit;">desired<wbr>Number<wbr>Of<wbr>Domain<wbr>Controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Integer</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional"
                title="Optional">
            <span id="tags_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tags_java" style="color: inherit; text-decoration: inherit;">tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Map&lt;String,String&gt;</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="directoryid_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#directoryid_nodejs" style="color: inherit; text-decoration: inherit;">directory<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="regionname_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#regionname_nodejs" style="color: inherit; text-decoration: inherit;">region<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpcsettings_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpcsettings_nodejs" style="color: inherit; text-decoration: inherit;">vpc<wbr>Settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Service<wbr>Region<wbr>Vpc<wbr>Settings</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd><dt class="property-optional"
                title="Optional">
            <span id="desirednumberofdomaincontrollers_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#desirednumberofdomaincontrollers_nodejs" style="color: inherit; text-decoration: inherit;">desired<wbr>Number<wbr>Of<wbr>Domain<wbr>Controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">number</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional"
                title="Optional">
            <span id="tags_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tags_nodejs" style="color: inherit; text-decoration: inherit;">tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">{[key: string]: string}</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="directory_id_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#directory_id_python" style="color: inherit; text-decoration: inherit;">directory_<wbr>id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="region_name_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_name_python" style="color: inherit; text-decoration: inherit;">region_<wbr>name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpc_settings_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpc_settings_python" style="color: inherit; text-decoration: inherit;">vpc_<wbr>settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Service<wbr>Region<wbr>Vpc<wbr>Settings<wbr>Args</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd><dt class="property-optional"
                title="Optional">
            <span id="desired_number_of_domain_controllers_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#desired_number_of_domain_controllers_python" style="color: inherit; text-decoration: inherit;">desired_<wbr>number_<wbr>of_<wbr>domain_<wbr>controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional"
                title="Optional">
            <span id="tags_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tags_python" style="color: inherit; text-decoration: inherit;">tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Mapping[str, str]</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="yaml">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="directoryid_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#directoryid_yaml" style="color: inherit; text-decoration: inherit;">directory<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="regionname_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#regionname_yaml" style="color: inherit; text-decoration: inherit;">region<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpcsettings_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpcsettings_yaml" style="color: inherit; text-decoration: inherit;">vpc<wbr>Settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Property Map</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd><dt class="property-optional"
                title="Optional">
            <span id="desirednumberofdomaincontrollers_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#desirednumberofdomaincontrollers_yaml" style="color: inherit; text-decoration: inherit;">desired<wbr>Number<wbr>Of<wbr>Domain<wbr>Controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Number</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional"
                title="Optional">
            <span id="tags_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tags_yaml" style="color: inherit; text-decoration: inherit;">tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Map&lt;String&gt;</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd></dl>
    </pulumi-choosable>
    </div>
    
    
    ### Outputs
    
    All [input](#inputs) properties are implicitly available as output properties. Additionally, the ServiceRegion resource produces the following output properties:
    
    
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_csharp" style="color: inherit; text-decoration: inherit;">Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property- property-deprecated"
                title=", Deprecated">
            <span id="tagsall_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tagsall_csharp" style="color: inherit; text-decoration: inherit;">Tags<wbr>All</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Dictionary&lt;string, string&gt;</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_go" style="color: inherit; text-decoration: inherit;">Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property- property-deprecated"
                title=", Deprecated">
            <span id="tagsall_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tagsall_go" style="color: inherit; text-decoration: inherit;">Tags<wbr>All</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">map[string]string</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_java" style="color: inherit; text-decoration: inherit;">id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property- property-deprecated"
                title=", Deprecated">
            <span id="tagsall_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tagsall_java" style="color: inherit; text-decoration: inherit;">tags<wbr>All</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Map&lt;String,String&gt;</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_nodejs" style="color: inherit; text-decoration: inherit;">id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property- property-deprecated"
                title=", Deprecated">
            <span id="tagsall_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tagsall_nodejs" style="color: inherit; text-decoration: inherit;">tags<wbr>All</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">{[key: string]: string}</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_python" style="color: inherit; text-decoration: inherit;">id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property- property-deprecated"
                title=", Deprecated">
            <span id="tags_all_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tags_all_python" style="color: inherit; text-decoration: inherit;">tags_<wbr>all</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Mapping[str, str]</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="yaml">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_yaml" style="color: inherit; text-decoration: inherit;">id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property- property-deprecated"
                title=", Deprecated">
            <span id="tagsall_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#tagsall_yaml" style="color: inherit; text-decoration: inherit;">tags<wbr>All</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Map&lt;String&gt;</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd></dl>
    </pulumi-choosable>
    </div>
    
    
    
    ## Look up Existing ServiceRegion Resource {#look-up}
    
    Get an existing ServiceRegion resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
    <div>
    <pulumi-chooser type="language" options="typescript,python,go,csharp,java,yaml"></pulumi-chooser>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    <div class="highlight"><pre class="chroma"><code class="language-typescript" data-lang="typescript"><span class="k">public static </span><span class="nf">get</span><span class="p">(</span><span class="nx">name</span><span class="p">:</span> <span class="nx">string</span><span class="p">,</span> <span class="nx">id</span><span class="p">:</span> <span class="nx"><a href="/docs/reference/pkg/nodejs/pulumi/pulumi/#ID">Input&lt;ID&gt;</a></span><span class="p">,</span> <span class="nx">state</span><span class="p">?:</span> <span class="nx">ServiceRegionState</span><span class="p">,</span> <span class="nx">opts</span><span class="p">?:</span> <span class="nx"><a href="/docs/reference/pkg/nodejs/pulumi/pulumi/#CustomResourceOptions">CustomResourceOptions</a></span><span class="p">): </span><span class="nx">ServiceRegion</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <div class="highlight"><pre class="chroma"><code class="language-python" data-lang="python"><span class=nd>@staticmethod</span>
    <span class="k">def </span><span class="nf">get</span><span class="p">(</span><span class="nx">resource_name</span><span class="p">:</span> <span class="nx">str</span><span class="p">,</span>
            <span class="nx">id</span><span class="p">:</span> <span class="nx">str</span><span class="p">,</span>
            <span class="nx">opts</span><span class="p">:</span> <span class="nx"><a href="/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions">Optional[ResourceOptions]</a></span> = None<span class="p">,</span>
            <span class="nx">desired_number_of_domain_controllers</span><span class="p">:</span> <span class="nx">Optional[int]</span> = None<span class="p">,</span>
            <span class="nx">directory_id</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">,</span>
            <span class="nx">region_name</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">,</span>
            <span class="nx">tags</span><span class="p">:</span> <span class="nx">Optional[Mapping[str, str]]</span> = None<span class="p">,</span>
            <span class="nx">tags_all</span><span class="p">:</span> <span class="nx">Optional[Mapping[str, str]]</span> = None<span class="p">,</span>
            <span class="nx">vpc_settings</span><span class="p">:</span> <span class="nx">Optional[ServiceRegionVpcSettingsArgs]</span> = None<span class="p">) -&gt;</span> ServiceRegion</code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    <div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"><span class="k">func </span>GetServiceRegion<span class="p">(</span><span class="nx">ctx</span><span class="p"> *</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#Context">Context</a></span><span class="p">,</span> <span class="nx">name</span><span class="p"> </span><span class="nx">string</span><span class="p">,</span> <span class="nx">id</span><span class="p"> </span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#IDInput">IDInput</a></span><span class="p">,</span> <span class="nx">state</span><span class="p"> *</span><span class="nx">ServiceRegionState</span><span class="p">,</span> <span class="nx">opts</span><span class="p"> ...</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#ResourceOption">ResourceOption</a></span><span class="p">) (*<span class="nx">ServiceRegion</span>, error)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    <div class="highlight"><pre class="chroma"><code class="language-csharp" data-lang="csharp"><span class="k">public static </span><span class="nx">ServiceRegion</span><span class="nf"> Get</span><span class="p">(</span><span class="nx">string</span><span class="p"> </span><span class="nx">name<span class="p">,</span> <span class="nx"><a href="/docs/reference/pkg/dotnet/Pulumi/Pulumi.Input-1.html">Input&lt;string&gt;</a></span><span class="p"> </span><span class="nx">id<span class="p">,</span> <span class="nx">ServiceRegionState</span><span class="p">? </span><span class="nx">state<span class="p">,</span> <span class="nx"><a href="/docs/reference/pkg/dotnet/Pulumi/Pulumi.CustomResourceOptions.html">CustomResourceOptions</a></span><span class="p">? </span><span class="nx">opts = null<span class="p">)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    <div class="highlight"><pre class="chroma"><code class="language-java" data-lang="java"><span class="k">public static </span><span class="nx">ServiceRegion</span><span class="nf"> get</span><span class="p">(</span><span class="nx">String</span><span class="p"> </span><span class="nx">name<span class="p">,</span> <span class="nx">Output&lt;String&gt;</span><span class="p"> </span><span class="nx">id<span class="p">,</span> <span class="nx">ServiceRegionState</span><span class="p"> </span><span class="nx">state<span class="p">,</span> <span class="nx">CustomResourceOptions</span><span class="p"> </span><span class="nx">options<span class="p">)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="yaml">
    <div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">Resource lookup is not supported in YAML</code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    
    <dl class="resources-properties">
        <dt class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The unique name of the resulting resource.</dd>
        <dt class="property-required" title="Required">
            <span>id</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The <em>unique</em> provider ID of the resource to lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>state</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>Any extra arguments used during the lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>A bag of options that control this resource's behavior.</dd>
    </dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <dl class="resources-properties">
        <dt class="property-required" title="Required">
            <span>resource_name</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The unique name of the resulting resource.</dd>
        <dt class="property-required" title="Optional">
            <span>id</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The <em>unique</em> provider ID of the resource to lookup.</dd>
    </dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    
    <dl class="resources-properties">
        <dt class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The unique name of the resulting resource.</dd>
        <dt class="property-required" title="Required">
            <span>id</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The <em>unique</em> provider ID of the resource to lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>state</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>Any extra arguments used during the lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>A bag of options that control this resource's behavior.</dd>
    </dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    
    <dl class="resources-properties">
        <dt class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The unique name of the resulting resource.</dd>
        <dt class="property-required" title="Required">
            <span>id</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The <em>unique</em> provider ID of the resource to lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>state</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>Any extra arguments used during the lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>A bag of options that control this resource's behavior.</dd>
    </dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    
    <dl class="resources-properties">
        <dt class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The unique name of the resulting resource.</dd>
        <dt class="property-required" title="Required">
            <span>id</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The <em>unique</em> provider ID of the resource to lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>state</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>Any extra arguments used during the lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>A bag of options that control this resource's behavior.</dd>
    </dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="typescript,javascript,python,go,csharp,java">
    The following state arguments are supported:
    
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_desirednumberofdomaincontrollers_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_desirednumberofdomaincontrollers_csharp" style="color: inherit; text-decoration: inherit;">Desired<wbr>Number<wbr>Of<wbr>Domain<wbr>Controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_directoryid_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_directoryid_csharp" style="color: inherit; text-decoration: inherit;">Directory<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_regionname_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_regionname_csharp" style="color: inherit; text-decoration: inherit;">Region<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_tags_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tags_csharp" style="color: inherit; text-decoration: inherit;">Tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Dictionary&lt;string, string&gt;</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd><dt class="property-optional property-deprecated"
                title="Optional, Deprecated">
            <span id="state_tagsall_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tagsall_csharp" style="color: inherit; text-decoration: inherit;">Tags<wbr>All</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Dictionary&lt;string, string&gt;</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_vpcsettings_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_vpcsettings_csharp" style="color: inherit; text-decoration: inherit;">Vpc<wbr>Settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Service<wbr>Region<wbr>Vpc<wbr>Settings</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_desirednumberofdomaincontrollers_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_desirednumberofdomaincontrollers_go" style="color: inherit; text-decoration: inherit;">Desired<wbr>Number<wbr>Of<wbr>Domain<wbr>Controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_directoryid_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_directoryid_go" style="color: inherit; text-decoration: inherit;">Directory<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_regionname_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_regionname_go" style="color: inherit; text-decoration: inherit;">Region<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_tags_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tags_go" style="color: inherit; text-decoration: inherit;">Tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">map[string]string</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd><dt class="property-optional property-deprecated"
                title="Optional, Deprecated">
            <span id="state_tagsall_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tagsall_go" style="color: inherit; text-decoration: inherit;">Tags<wbr>All</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">map[string]string</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_vpcsettings_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_vpcsettings_go" style="color: inherit; text-decoration: inherit;">Vpc<wbr>Settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Service<wbr>Region<wbr>Vpc<wbr>Settings<wbr>Args</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_desirednumberofdomaincontrollers_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_desirednumberofdomaincontrollers_java" style="color: inherit; text-decoration: inherit;">desired<wbr>Number<wbr>Of<wbr>Domain<wbr>Controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Integer</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_directoryid_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_directoryid_java" style="color: inherit; text-decoration: inherit;">directory<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_regionname_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_regionname_java" style="color: inherit; text-decoration: inherit;">region<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_tags_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tags_java" style="color: inherit; text-decoration: inherit;">tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Map&lt;String,String&gt;</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd><dt class="property-optional property-deprecated"
                title="Optional, Deprecated">
            <span id="state_tagsall_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tagsall_java" style="color: inherit; text-decoration: inherit;">tags<wbr>All</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Map&lt;String,String&gt;</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_vpcsettings_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_vpcsettings_java" style="color: inherit; text-decoration: inherit;">vpc<wbr>Settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Service<wbr>Region<wbr>Vpc<wbr>Settings</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_desirednumberofdomaincontrollers_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_desirednumberofdomaincontrollers_nodejs" style="color: inherit; text-decoration: inherit;">desired<wbr>Number<wbr>Of<wbr>Domain<wbr>Controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">number</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_directoryid_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_directoryid_nodejs" style="color: inherit; text-decoration: inherit;">directory<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_regionname_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_regionname_nodejs" style="color: inherit; text-decoration: inherit;">region<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_tags_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tags_nodejs" style="color: inherit; text-decoration: inherit;">tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">{[key: string]: string}</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd><dt class="property-optional property-deprecated"
                title="Optional, Deprecated">
            <span id="state_tagsall_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tagsall_nodejs" style="color: inherit; text-decoration: inherit;">tags<wbr>All</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">{[key: string]: string}</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_vpcsettings_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_vpcsettings_nodejs" style="color: inherit; text-decoration: inherit;">vpc<wbr>Settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Service<wbr>Region<wbr>Vpc<wbr>Settings</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_desired_number_of_domain_controllers_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_desired_number_of_domain_controllers_python" style="color: inherit; text-decoration: inherit;">desired_<wbr>number_<wbr>of_<wbr>domain_<wbr>controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_directory_id_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_directory_id_python" style="color: inherit; text-decoration: inherit;">directory_<wbr>id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_region_name_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_region_name_python" style="color: inherit; text-decoration: inherit;">region_<wbr>name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_tags_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tags_python" style="color: inherit; text-decoration: inherit;">tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Mapping[str, str]</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd><dt class="property-optional property-deprecated"
                title="Optional, Deprecated">
            <span id="state_tags_all_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tags_all_python" style="color: inherit; text-decoration: inherit;">tags_<wbr>all</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Mapping[str, str]</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_vpc_settings_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_vpc_settings_python" style="color: inherit; text-decoration: inherit;">vpc_<wbr>settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Service<wbr>Region<wbr>Vpc<wbr>Settings<wbr>Args</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="yaml">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_desirednumberofdomaincontrollers_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_desirednumberofdomaincontrollers_yaml" style="color: inherit; text-decoration: inherit;">desired<wbr>Number<wbr>Of<wbr>Domain<wbr>Controllers</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Number</span>
        </dt>
        <dd>The number of domain controllers desired in the replicated directory. Minimum value of <code>2</code>.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_directoryid_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_directoryid_yaml" style="color: inherit; text-decoration: inherit;">directory<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The identifier of the directory to which you want to add Region replication.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_regionname_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_regionname_yaml" style="color: inherit; text-decoration: inherit;">region<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the Region where you want to add domain controllers for replication.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_tags_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tags_yaml" style="color: inherit; text-decoration: inherit;">tags</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Map&lt;String&gt;</span>
        </dt>
        <dd>Map of tags to assign to this resource. If configured with a provider <code>default_tags</code> configuration block present, tags with matching keys will overwrite those defined at the provider-level.</dd><dt class="property-optional property-deprecated"
                title="Optional, Deprecated">
            <span id="state_tagsall_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_tagsall_yaml" style="color: inherit; text-decoration: inherit;">tags<wbr>All</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Map&lt;String&gt;</span>
        </dt>
        <dd>A map of tags assigned to the resource, including those inherited from the provider <code>default_tags</code> configuration block.<p class="property-message">Deprecated:Please use <code>tags</code> instead.</p></dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_vpcsettings_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_vpcsettings_yaml" style="color: inherit; text-decoration: inherit;">vpc<wbr>Settings</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#serviceregionvpcsettings">Property Map</a></span>
        </dt>
        <dd>VPC information in the replicated Region. Detailed below.</dd></dl>
    </pulumi-choosable>
    </div>
    </pulumi-choosable>
    </div>
    
    
    
    
    
    
    ## Supporting Types
    
    
    
    <h4 id="serviceregionvpcsettings">
    Service<wbr>Region<wbr>Vpc<wbr>Settings<pulumi-choosable type="language" values="python,go" class="inline">, Service<wbr>Region<wbr>Vpc<wbr>Settings<wbr>Args</pulumi-choosable>
    </h4>
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="subnetids_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#subnetids_csharp" style="color: inherit; text-decoration: inherit;">Subnet<wbr>Ids</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">List&lt;string&gt;</span>
        </dt>
        <dd>The identifiers of the subnets for the directory servers.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpcid_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpcid_csharp" style="color: inherit; text-decoration: inherit;">Vpc<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The identifier of the VPC in which to create the directory.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="subnetids_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#subnetids_go" style="color: inherit; text-decoration: inherit;">Subnet<wbr>Ids</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">[]string</span>
        </dt>
        <dd>The identifiers of the subnets for the directory servers.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpcid_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpcid_go" style="color: inherit; text-decoration: inherit;">Vpc<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The identifier of the VPC in which to create the directory.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="subnetids_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#subnetids_java" style="color: inherit; text-decoration: inherit;">subnet<wbr>Ids</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">List&lt;String&gt;</span>
        </dt>
        <dd>The identifiers of the subnets for the directory servers.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpcid_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpcid_java" style="color: inherit; text-decoration: inherit;">vpc<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The identifier of the VPC in which to create the directory.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="subnetids_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#subnetids_nodejs" style="color: inherit; text-decoration: inherit;">subnet<wbr>Ids</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string[]</span>
        </dt>
        <dd>The identifiers of the subnets for the directory servers.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpcid_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpcid_nodejs" style="color: inherit; text-decoration: inherit;">vpc<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The identifier of the VPC in which to create the directory.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="subnet_ids_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#subnet_ids_python" style="color: inherit; text-decoration: inherit;">subnet_<wbr>ids</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Sequence[str]</span>
        </dt>
        <dd>The identifiers of the subnets for the directory servers.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpc_id_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpc_id_python" style="color: inherit; text-decoration: inherit;">vpc_<wbr>id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The identifier of the VPC in which to create the directory.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="yaml">
    <dl class="resources-properties"><dt class="property-required property-replacement"
                title="Required">
            <span id="subnetids_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#subnetids_yaml" style="color: inherit; text-decoration: inherit;">subnet<wbr>Ids</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">List&lt;String&gt;</span>
        </dt>
        <dd>The identifiers of the subnets for the directory servers.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="vpcid_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#vpcid_yaml" style="color: inherit; text-decoration: inherit;">vpc<wbr>Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The identifier of the VPC in which to create the directory.</dd></dl>
    </pulumi-choosable>
    </div>
    
    ## Import
    
    
    
    Using `pulumi import`, import Replicated Regions using directory ID,Region name. For example:
    
    ```sh
    $ pulumi import aws:directoryservice/serviceRegion:ServiceRegion example d-9267651497,us-east-2
    

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi