simple_ad
Gets an individual simple_ad
resource
Overview
Name | simple_ad |
Type | Resource |
Description | simple_ad |
Id | awscc.directoryservice.simple_ad |
Fields
Name | Datatype | Description |
---|---|---|
directory_id | string | The unique identifier for a directory. |
alias | string | The alias for a directory. |
dns_ip_addresses | array | The IP addresses of the DNS servers for the directory, such as [ "172.31.3.154", "172.31.63.203" ]. |
create_alias | boolean | The name of the configuration set. |
description | string | Description for the directory. |
enable_sso | boolean | Whether to enable single sign-on for a Simple Active Directory in AWS. |
name | string | The fully qualified domain name for the AWS Managed Simple AD directory. |
password | string | The password for the default administrative user named Admin. |
short_name | string | The NetBIOS name for your domain. |
size | string | The size of the directory. |
vpc_settings | object | VPC settings of the Simple AD directory server in AWS. |
region | string | AWS 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