Directory
Provides a Simple or Managed Microsoft directory in AWS Directory Service.
Note: All arguments including the password and customer username will be stored in the raw state as plain-text.
Example Usage
SimpleAD
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var main = new Aws.Ec2.Vpc("main", new Aws.Ec2.VpcArgs
{
CidrBlock = "10.0.0.0/16",
});
var foo = new Aws.Ec2.Subnet("foo", new Aws.Ec2.SubnetArgs
{
AvailabilityZone = "us-west-2a",
CidrBlock = "10.0.1.0/24",
VpcId = main.Id,
});
var barSubnet = new Aws.Ec2.Subnet("barSubnet", new Aws.Ec2.SubnetArgs
{
AvailabilityZone = "us-west-2b",
CidrBlock = "10.0.2.0/24",
VpcId = main.Id,
});
var barDirectory = new Aws.DirectoryService.Directory("barDirectory", new Aws.DirectoryService.DirectoryArgs
{
Password = "SuperSecretPassw0rd",
Size = "Small",
Tags =
{
{ "Project", "foo" },
},
VpcSettings = new Aws.DirectoryService.Inputs.DirectoryVpcSettingsArgs
{
SubnetIds =
{
foo.Id,
barSubnet.Id,
},
VpcId = main.Id,
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/directoryservice"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
foo, err := ec2.NewSubnet(ctx, "foo", &ec2.SubnetArgs{
AvailabilityZone: pulumi.String("us-west-2a"),
CidrBlock: pulumi.String("10.0.1.0/24"),
VpcId: main.ID(),
})
if err != nil {
return err
}
barSubnet, err := ec2.NewSubnet(ctx, "barSubnet", &ec2.SubnetArgs{
AvailabilityZone: pulumi.String("us-west-2b"),
CidrBlock: pulumi.String("10.0.2.0/24"),
VpcId: main.ID(),
})
if err != nil {
return err
}
_, err = directoryservice.NewDirectory(ctx, "barDirectory", &directoryservice.DirectoryArgs{
Password: pulumi.String("SuperSecretPassw0rd"),
Size: pulumi.String("Small"),
Tags: pulumi.StringMap{
"Project": pulumi.String("foo"),
},
VpcSettings: &directoryservice.DirectoryVpcSettingsArgs{
SubnetIds: pulumi.StringArray{
foo.ID(),
barSubnet.ID(),
},
VpcId: main.ID(),
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
main = aws.ec2.Vpc("main", cidr_block="10.0.0.0/16")
foo = aws.ec2.Subnet("foo",
availability_zone="us-west-2a",
cidr_block="10.0.1.0/24",
vpc_id=main.id)
bar_subnet = aws.ec2.Subnet("barSubnet",
availability_zone="us-west-2b",
cidr_block="10.0.2.0/24",
vpc_id=main.id)
bar_directory = aws.directoryservice.Directory("barDirectory",
password="SuperSecretPassw0rd",
size="Small",
tags={
"Project": "foo",
},
vpc_settings={
"subnet_ids": [
foo.id,
bar_subnet.id,
],
"vpc_id": main.id,
})import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const main = new aws.ec2.Vpc("main", {
cidrBlock: "10.0.0.0/16",
});
const foo = new aws.ec2.Subnet("foo", {
availabilityZone: "us-west-2a",
cidrBlock: "10.0.1.0/24",
vpcId: main.id,
});
const barSubnet = new aws.ec2.Subnet("bar", {
availabilityZone: "us-west-2b",
cidrBlock: "10.0.2.0/24",
vpcId: main.id,
});
const barDirectory = new aws.directoryservice.Directory("bar", {
password: "SuperSecretPassw0rd",
size: "Small",
tags: {
Project: "foo",
},
vpcSettings: {
subnetIds: [
foo.id,
barSubnet.id,
],
vpcId: main.id,
},
});Microsoft Active Directory (MicrosoftAD)
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var main = new Aws.Ec2.Vpc("main", new Aws.Ec2.VpcArgs
{
CidrBlock = "10.0.0.0/16",
});
var foo = new Aws.Ec2.Subnet("foo", new Aws.Ec2.SubnetArgs
{
AvailabilityZone = "us-west-2a",
CidrBlock = "10.0.1.0/24",
VpcId = main.Id,
});
var barSubnet = new Aws.Ec2.Subnet("barSubnet", new Aws.Ec2.SubnetArgs
{
AvailabilityZone = "us-west-2b",
CidrBlock = "10.0.2.0/24",
VpcId = main.Id,
});
var barDirectory = new Aws.DirectoryService.Directory("barDirectory", new Aws.DirectoryService.DirectoryArgs
{
Edition = "Standard",
Password = "SuperSecretPassw0rd",
Tags =
{
{ "Project", "foo" },
},
Type = "MicrosoftAD",
VpcSettings = new Aws.DirectoryService.Inputs.DirectoryVpcSettingsArgs
{
SubnetIds =
{
foo.Id,
barSubnet.Id,
},
VpcId = main.Id,
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/directoryservice"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
foo, err := ec2.NewSubnet(ctx, "foo", &ec2.SubnetArgs{
AvailabilityZone: pulumi.String("us-west-2a"),
CidrBlock: pulumi.String("10.0.1.0/24"),
VpcId: main.ID(),
})
if err != nil {
return err
}
barSubnet, err := ec2.NewSubnet(ctx, "barSubnet", &ec2.SubnetArgs{
AvailabilityZone: pulumi.String("us-west-2b"),
CidrBlock: pulumi.String("10.0.2.0/24"),
VpcId: main.ID(),
})
if err != nil {
return err
}
_, err = directoryservice.NewDirectory(ctx, "barDirectory", &directoryservice.DirectoryArgs{
Edition: pulumi.String("Standard"),
Password: pulumi.String("SuperSecretPassw0rd"),
Tags: pulumi.StringMap{
"Project": pulumi.String("foo"),
},
Type: pulumi.String("MicrosoftAD"),
VpcSettings: &directoryservice.DirectoryVpcSettingsArgs{
SubnetIds: pulumi.StringArray{
foo.ID(),
barSubnet.ID(),
},
VpcId: main.ID(),
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
main = aws.ec2.Vpc("main", cidr_block="10.0.0.0/16")
foo = aws.ec2.Subnet("foo",
availability_zone="us-west-2a",
cidr_block="10.0.1.0/24",
vpc_id=main.id)
bar_subnet = aws.ec2.Subnet("barSubnet",
availability_zone="us-west-2b",
cidr_block="10.0.2.0/24",
vpc_id=main.id)
bar_directory = aws.directoryservice.Directory("barDirectory",
edition="Standard",
password="SuperSecretPassw0rd",
tags={
"Project": "foo",
},
type="MicrosoftAD",
vpc_settings={
"subnet_ids": [
foo.id,
bar_subnet.id,
],
"vpc_id": main.id,
})import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const main = new aws.ec2.Vpc("main", {
cidrBlock: "10.0.0.0/16",
});
const foo = new aws.ec2.Subnet("foo", {
availabilityZone: "us-west-2a",
cidrBlock: "10.0.1.0/24",
vpcId: main.id,
});
const barSubnet = new aws.ec2.Subnet("bar", {
availabilityZone: "us-west-2b",
cidrBlock: "10.0.2.0/24",
vpcId: main.id,
});
const barDirectory = new aws.directoryservice.Directory("bar", {
edition: "Standard",
password: "SuperSecretPassw0rd",
tags: {
Project: "foo",
},
type: "MicrosoftAD",
vpcSettings: {
subnetIds: [
foo.id,
barSubnet.id,
],
vpcId: main.id,
},
});Microsoft Active Directory Connector (ADConnector)
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var main = new Aws.Ec2.Vpc("main", new Aws.Ec2.VpcArgs
{
CidrBlock = "10.0.0.0/16",
});
var foo = new Aws.Ec2.Subnet("foo", new Aws.Ec2.SubnetArgs
{
AvailabilityZone = "us-west-2a",
CidrBlock = "10.0.1.0/24",
VpcId = main.Id,
});
var bar = new Aws.Ec2.Subnet("bar", new Aws.Ec2.SubnetArgs
{
AvailabilityZone = "us-west-2b",
CidrBlock = "10.0.2.0/24",
VpcId = main.Id,
});
var connector = new Aws.DirectoryService.Directory("connector", new Aws.DirectoryService.DirectoryArgs
{
ConnectSettings = new Aws.DirectoryService.Inputs.DirectoryConnectSettingsArgs
{
CustomerDnsIps =
{
"A.B.C.D",
},
CustomerUsername = "Admin",
SubnetIds =
{
foo.Id,
bar.Id,
},
VpcId = main.Id,
},
Password = "SuperSecretPassw0rd",
Size = "Small",
Type = "ADConnector",
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/directoryservice"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
foo, err := ec2.NewSubnet(ctx, "foo", &ec2.SubnetArgs{
AvailabilityZone: pulumi.String("us-west-2a"),
CidrBlock: pulumi.String("10.0.1.0/24"),
VpcId: main.ID(),
})
if err != nil {
return err
}
bar, err := ec2.NewSubnet(ctx, "bar", &ec2.SubnetArgs{
AvailabilityZone: pulumi.String("us-west-2b"),
CidrBlock: pulumi.String("10.0.2.0/24"),
VpcId: main.ID(),
})
if err != nil {
return err
}
_, err = directoryservice.NewDirectory(ctx, "connector", &directoryservice.DirectoryArgs{
ConnectSettings: &directoryservice.DirectoryConnectSettingsArgs{
CustomerDnsIps: pulumi.StringArray{
pulumi.String("A.B.C.D"),
},
CustomerUsername: pulumi.String("Admin"),
SubnetIds: pulumi.StringArray{
foo.ID(),
bar.ID(),
},
VpcId: main.ID(),
},
Password: pulumi.String("SuperSecretPassw0rd"),
Size: pulumi.String("Small"),
Type: pulumi.String("ADConnector"),
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
main = aws.ec2.Vpc("main", cidr_block="10.0.0.0/16")
foo = aws.ec2.Subnet("foo",
availability_zone="us-west-2a",
cidr_block="10.0.1.0/24",
vpc_id=main.id)
bar = aws.ec2.Subnet("bar",
availability_zone="us-west-2b",
cidr_block="10.0.2.0/24",
vpc_id=main.id)
connector = aws.directoryservice.Directory("connector",
connect_settings={
"customerDnsIps": ["A.B.C.D"],
"customerUsername": "Admin",
"subnet_ids": [
foo.id,
bar.id,
],
"vpc_id": main.id,
},
password="SuperSecretPassw0rd",
size="Small",
type="ADConnector")import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const main = new aws.ec2.Vpc("main", {
cidrBlock: "10.0.0.0/16",
});
const foo = new aws.ec2.Subnet("foo", {
availabilityZone: "us-west-2a",
cidrBlock: "10.0.1.0/24",
vpcId: main.id,
});
const bar = new aws.ec2.Subnet("bar", {
availabilityZone: "us-west-2b",
cidrBlock: "10.0.2.0/24",
vpcId: main.id,
});
const connector = new aws.directoryservice.Directory("connector", {
connectSettings: {
customerDnsIps: ["A.B.C.D"],
customerUsername: "Admin",
subnetIds: [
foo.id,
bar.id,
],
vpcId: main.id,
},
password: "SuperSecretPassw0rd",
size: "Small",
type: "ADConnector",
});Create a Directory Resource
new Directory(name: string, args: DirectoryArgs, opts?: CustomResourceOptions);def Directory(resource_name, opts=None, alias=None, connect_settings=None, description=None, edition=None, enable_sso=None, name=None, password=None, short_name=None, size=None, tags=None, type=None, vpc_settings=None, __props__=None);func NewDirectory(ctx *Context, name string, args DirectoryArgs, opts ...ResourceOption) (*Directory, error)public Directory(string name, DirectoryArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args DirectoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DirectoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DirectoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Directory Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Directory resource accepts the following input properties:
- Password string
The password for the directory administrator or connector user.
- Alias string
The alias for the directory (must be unique amongst all aliases in AWS). Required for
enable_sso.- Connect
Settings DirectoryConnect Settings Args Connector related information about the directory. Fields documented below.
- Description string
A textual description for the directory.
- Edition string
The MicrosoftAD edition (
StandardorEnterprise). Defaults toEnterprise(applies to MicrosoftAD type only).- Enable
Sso bool Whether to enable single-sign on for the directory. Requires
alias. Defaults tofalse.- Name string
The fully qualified name for the directory, such as
corp.example.com- Short
Name string The short name of the directory, such as
CORP.- Size string
The size of the directory (
SmallorLargeare accepted values).- Dictionary<string, string>
A map of tags to assign to the resource.
- Type string
The directory type (
SimpleAD,ADConnectororMicrosoftADare accepted values). Defaults toSimpleAD.- Vpc
Settings DirectoryVpc Settings Args VPC related information about the directory. Fields documented below.
- Password string
The password for the directory administrator or connector user.
- Alias string
The alias for the directory (must be unique amongst all aliases in AWS). Required for
enable_sso.- Connect
Settings DirectoryConnect Settings Connector related information about the directory. Fields documented below.
- Description string
A textual description for the directory.
- Edition string
The MicrosoftAD edition (
StandardorEnterprise). Defaults toEnterprise(applies to MicrosoftAD type only).- Enable
Sso bool Whether to enable single-sign on for the directory. Requires
alias. Defaults tofalse.- Name string
The fully qualified name for the directory, such as
corp.example.com- Short
Name string The short name of the directory, such as
CORP.- Size string
The size of the directory (
SmallorLargeare accepted values).- map[string]string
A map of tags to assign to the resource.
- Type string
The directory type (
SimpleAD,ADConnectororMicrosoftADare accepted values). Defaults toSimpleAD.- Vpc
Settings DirectoryVpc Settings VPC related information about the directory. Fields documented below.
- password string
The password for the directory administrator or connector user.
- alias string
The alias for the directory (must be unique amongst all aliases in AWS). Required for
enable_sso.- connect
Settings DirectoryConnect Settings Connector related information about the directory. Fields documented below.
- description string
A textual description for the directory.
- edition string
The MicrosoftAD edition (
StandardorEnterprise). Defaults toEnterprise(applies to MicrosoftAD type only).- enable
Sso boolean Whether to enable single-sign on for the directory. Requires
alias. Defaults tofalse.- name string
The fully qualified name for the directory, such as
corp.example.com- short
Name string The short name of the directory, such as
CORP.- size string
The size of the directory (
SmallorLargeare accepted values).- {[key: string]: string}
A map of tags to assign to the resource.
- type string
The directory type (
SimpleAD,ADConnectororMicrosoftADare accepted values). Defaults toSimpleAD.- vpc
Settings DirectoryVpc Settings VPC related information about the directory. Fields documented below.
- password str
The password for the directory administrator or connector user.
- alias str
The alias for the directory (must be unique amongst all aliases in AWS). Required for
enable_sso.- connect_
settings Dict[DirectoryConnect Settings] Connector related information about the directory. Fields documented below.
- description str
A textual description for the directory.
- edition str
The MicrosoftAD edition (
StandardorEnterprise). Defaults toEnterprise(applies to MicrosoftAD type only).- enable_
sso bool Whether to enable single-sign on for the directory. Requires
alias. Defaults tofalse.- name str
The fully qualified name for the directory, such as
corp.example.com- short_
name str The short name of the directory, such as
CORP.- size str
The size of the directory (
SmallorLargeare accepted values).- Dict[str, str]
A map of tags to assign to the resource.
- type str
The directory type (
SimpleAD,ADConnectororMicrosoftADare accepted values). Defaults toSimpleAD.- vpc_
settings Dict[DirectoryVpc Settings] VPC related information about the directory. Fields documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the Directory resource produces the following output properties:
- Access
Url string The access URL for the directory, such as
http://alias.awsapps.com.- Dns
Ip List<string>Addresses A list of IP addresses of the DNS servers for the directory or connector.
- Id string
- The provider-assigned unique ID for this managed resource.
- Security
Group stringId The ID of the security group created by the directory.
- Access
Url string The access URL for the directory, such as
http://alias.awsapps.com.- Dns
Ip []stringAddresses A list of IP addresses of the DNS servers for the directory or connector.
- Id string
- The provider-assigned unique ID for this managed resource.
- Security
Group stringId The ID of the security group created by the directory.
- access
Url string The access URL for the directory, such as
http://alias.awsapps.com.- dns
Ip string[]Addresses A list of IP addresses of the DNS servers for the directory or connector.
- id string
- The provider-assigned unique ID for this managed resource.
- security
Group stringId The ID of the security group created by the directory.
- access_
url str The access URL for the directory, such as
http://alias.awsapps.com.- dns_
ip_ List[str]addresses A list of IP addresses of the DNS servers for the directory or connector.
- id str
- The provider-assigned unique ID for this managed resource.
- security_
group_ strid The ID of the security group created by the directory.
Look up an Existing Directory Resource
Get an existing Directory resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DirectoryState, opts?: CustomResourceOptions): Directorystatic get(resource_name, id, opts=None, access_url=None, alias=None, connect_settings=None, description=None, dns_ip_addresses=None, edition=None, enable_sso=None, name=None, password=None, security_group_id=None, short_name=None, size=None, tags=None, type=None, vpc_settings=None, __props__=None);func GetDirectory(ctx *Context, name string, id IDInput, state *DirectoryState, opts ...ResourceOption) (*Directory, error)public static Directory Get(string name, Input<string> id, DirectoryState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Access
Url string The access URL for the directory, such as
http://alias.awsapps.com.- Alias string
The alias for the directory (must be unique amongst all aliases in AWS). Required for
enable_sso.- Connect
Settings DirectoryConnect Settings Args Connector related information about the directory. Fields documented below.
- Description string
A textual description for the directory.
- Dns
Ip List<string>Addresses A list of IP addresses of the DNS servers for the directory or connector.
- Edition string
The MicrosoftAD edition (
StandardorEnterprise). Defaults toEnterprise(applies to MicrosoftAD type only).- Enable
Sso bool Whether to enable single-sign on for the directory. Requires
alias. Defaults tofalse.- Name string
The fully qualified name for the directory, such as
corp.example.com- Password string
The password for the directory administrator or connector user.
- Security
Group stringId The ID of the security group created by the directory.
- Short
Name string The short name of the directory, such as
CORP.- Size string
The size of the directory (
SmallorLargeare accepted values).- Dictionary<string, string>
A map of tags to assign to the resource.
- Type string
The directory type (
SimpleAD,ADConnectororMicrosoftADare accepted values). Defaults toSimpleAD.- Vpc
Settings DirectoryVpc Settings Args VPC related information about the directory. Fields documented below.
- Access
Url string The access URL for the directory, such as
http://alias.awsapps.com.- Alias string
The alias for the directory (must be unique amongst all aliases in AWS). Required for
enable_sso.- Connect
Settings DirectoryConnect Settings Connector related information about the directory. Fields documented below.
- Description string
A textual description for the directory.
- Dns
Ip []stringAddresses A list of IP addresses of the DNS servers for the directory or connector.
- Edition string
The MicrosoftAD edition (
StandardorEnterprise). Defaults toEnterprise(applies to MicrosoftAD type only).- Enable
Sso bool Whether to enable single-sign on for the directory. Requires
alias. Defaults tofalse.- Name string
The fully qualified name for the directory, such as
corp.example.com- Password string
The password for the directory administrator or connector user.
- Security
Group stringId The ID of the security group created by the directory.
- Short
Name string The short name of the directory, such as
CORP.- Size string
The size of the directory (
SmallorLargeare accepted values).- map[string]string
A map of tags to assign to the resource.
- Type string
The directory type (
SimpleAD,ADConnectororMicrosoftADare accepted values). Defaults toSimpleAD.- Vpc
Settings DirectoryVpc Settings VPC related information about the directory. Fields documented below.
- access
Url string The access URL for the directory, such as
http://alias.awsapps.com.- alias string
The alias for the directory (must be unique amongst all aliases in AWS). Required for
enable_sso.- connect
Settings DirectoryConnect Settings Connector related information about the directory. Fields documented below.
- description string
A textual description for the directory.
- dns
Ip string[]Addresses A list of IP addresses of the DNS servers for the directory or connector.
- edition string
The MicrosoftAD edition (
StandardorEnterprise). Defaults toEnterprise(applies to MicrosoftAD type only).- enable
Sso boolean Whether to enable single-sign on for the directory. Requires
alias. Defaults tofalse.- name string
The fully qualified name for the directory, such as
corp.example.com- password string
The password for the directory administrator or connector user.
- security
Group stringId The ID of the security group created by the directory.
- short
Name string The short name of the directory, such as
CORP.- size string
The size of the directory (
SmallorLargeare accepted values).- {[key: string]: string}
A map of tags to assign to the resource.
- type string
The directory type (
SimpleAD,ADConnectororMicrosoftADare accepted values). Defaults toSimpleAD.- vpc
Settings DirectoryVpc Settings VPC related information about the directory. Fields documented below.
- access_
url str The access URL for the directory, such as
http://alias.awsapps.com.- alias str
The alias for the directory (must be unique amongst all aliases in AWS). Required for
enable_sso.- connect_
settings Dict[DirectoryConnect Settings] Connector related information about the directory. Fields documented below.
- description str
A textual description for the directory.
- dns_
ip_ List[str]addresses A list of IP addresses of the DNS servers for the directory or connector.
- edition str
The MicrosoftAD edition (
StandardorEnterprise). Defaults toEnterprise(applies to MicrosoftAD type only).- enable_
sso bool Whether to enable single-sign on for the directory. Requires
alias. Defaults tofalse.- name str
The fully qualified name for the directory, such as
corp.example.com- password str
The password for the directory administrator or connector user.
- security_
group_ strid The ID of the security group created by the directory.
- short_
name str The short name of the directory, such as
CORP.- size str
The size of the directory (
SmallorLargeare accepted values).- Dict[str, str]
A map of tags to assign to the resource.
- type str
The directory type (
SimpleAD,ADConnectororMicrosoftADare accepted values). Defaults toSimpleAD.- vpc_
settings Dict[DirectoryVpc Settings] VPC related information about the directory. Fields documented below.
Supporting Types
DirectoryConnectSettings
- Customer
Dns List<string>Ips The DNS IP addresses of the domain to connect to.
- Customer
Username string The username corresponding to the password provided.
- Subnet
Ids List<string> The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
- Vpc
Id string The identifier of the VPC that the directory is in.
- Availability
Zones List<string> - Connect
Ips List<string> The IP addresses of the AD Connector servers.
- Customer
Dns []stringIps The DNS IP addresses of the domain to connect to.
- Customer
Username string The username corresponding to the password provided.
- Subnet
Ids []string The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
- Vpc
Id string The identifier of the VPC that the directory is in.
- Availability
Zones []string - Connect
Ips []string The IP addresses of the AD Connector servers.
- customer
Dns string[]Ips The DNS IP addresses of the domain to connect to.
- customer
Username string The username corresponding to the password provided.
- subnet
Ids string[] The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
- vpc
Id string The identifier of the VPC that the directory is in.
- availability
Zones string[] - connect
Ips string[] The IP addresses of the AD Connector servers.
- customer
Dns List[str]Ips The DNS IP addresses of the domain to connect to.
- customer
Username str The username corresponding to the password provided.
- subnet_
ids List[str] The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
- vpc_
id str The identifier of the VPC that the directory is in.
- availability_
zones List[str] - connect
Ips List[str] The IP addresses of the AD Connector servers.
DirectoryVpcSettings
- Subnet
Ids List<string> The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
- Vpc
Id string The identifier of the VPC that the directory is in.
- Availability
Zones List<string>
- subnet_
ids List[str] The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
- vpc_
id str The identifier of the VPC that the directory is in.
- availability_
zones List[str]
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.