Skip to main content

simple_ad

Gets an individual simple_ad resource

Overview

Namesimple_ad
TypeResource
Descriptionsimple_ad
Idawscc.directoryservice.simple_ad

Fields

NameDatatypeDescription
directory_idstringThe unique identifier for a directory.
aliasstringThe alias for a directory.
dns_ip_addressesarrayThe IP addresses of the DNS servers for the directory, such as [ "172.31.3.154", "172.31.63.203" ].
create_aliasbooleanThe name of the configuration set.
descriptionstringDescription for the directory.
enable_ssobooleanWhether to enable single sign-on for a Simple Active Directory in AWS.
namestringThe fully qualified domain name for the AWS Managed Simple AD directory.
passwordstringThe password for the default administrative user named Admin.
short_namestringThe NetBIOS name for your domain.
sizestringThe size of the directory.
vpc_settingsobjectVPC settings of the Simple AD directory server in AWS.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
directory_id,
alias,
dns_ip_addresses,
create_alias,
description,
enable_sso,
name,
password,
short_name,
size,
vpc_settings
FROM awscc.directoryservice.simple_ad
WHERE data__Identifier = '<DirectoryId>';

Permissions

To operate on the simple_ad resource, the following permissions are required:

Read

ds:DescribeDirectories

Update

ds:EnableSso,
ds:DisableSso,
ds:DescribeDirectories

Delete

ds:DeleteDirectory,
ds:DescribeDirectories,
ec2:DescribeNetworkInterfaces,
ec2:DeleteSecurityGroup,
ec2:DeleteNetworkInterface,
ec2:RevokeSecurityGroupIngress,
ec2:RevokeSecurityGroupEgress,
ec2:DeleteTags