Package com.pulumi.aws.directoryservice
Class ServiceRegion
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.directoryservice.ServiceRegion
-
public class ServiceRegion extends com.pulumi.resources.CustomResource
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. ## 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 ```
-
-
Constructor Summary
Constructors Constructor Description ServiceRegion(java.lang.String name)
ServiceRegion(java.lang.String name, ServiceRegionArgs args)
ServiceRegion(java.lang.String name, ServiceRegionArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.Integer>
desiredNumberOfDomainControllers()
com.pulumi.core.Output<java.lang.String>
directoryId()
static ServiceRegion
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ServiceRegionState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
regionName()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
tags()
com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>
tagsAll()
com.pulumi.core.Output<ServiceRegionVpcSettings>
vpcSettings()
-
-
-
Constructor Detail
-
ServiceRegion
public ServiceRegion(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
ServiceRegion
public ServiceRegion(java.lang.String name, ServiceRegionArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
ServiceRegion
public ServiceRegion(java.lang.String name, ServiceRegionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
desiredNumberOfDomainControllers
public com.pulumi.core.Output<java.lang.Integer> desiredNumberOfDomainControllers()
- Returns:
- The number of domain controllers desired in the replicated directory. Minimum value of `2`.
-
directoryId
public com.pulumi.core.Output<java.lang.String> directoryId()
- Returns:
- The identifier of the directory to which you want to add Region replication.
-
regionName
public com.pulumi.core.Output<java.lang.String> regionName()
- Returns:
- The name of the Region where you want to add domain controllers for replication.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Map of tags to assign to this resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
- Returns:
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
-
vpcSettings
public com.pulumi.core.Output<ServiceRegionVpcSettings> vpcSettings()
- Returns:
- VPC information in the replicated Region. Detailed below.
-
get
public static ServiceRegion get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable ServiceRegionState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-