Skip to content
v2.278.0

ActiveDirectoryConfigProperty Struct ​

Information about the Active Directory config.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspaces as workspaces } from 'aws-cdk-lib';
const activeDirectoryConfigProperty: workspaces.CfnDirectory.ActiveDirectoryConfigProperty = {
  domainName: 'domainName',
  serviceAccountSecretArn: 'serviceAccountSecretArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_workspaces as workspaces

active_directory_config_property = workspaces.CfnDirectory.ActiveDirectoryConfigProperty(
    domain_name="domainName",
    service_account_secret_arn="serviceAccountSecretArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.workspaces.*;

ActiveDirectoryConfigProperty activeDirectoryConfigProperty = ActiveDirectoryConfigProperty.builder()
        .domainName("domainName")
        .serviceAccountSecretArn("serviceAccountSecretArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WorkSpaces;

var activeDirectoryConfigProperty = new ActiveDirectoryConfigProperty {
    DomainName = "domainName",
    ServiceAccountSecretArn = "serviceAccountSecretArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

activeDirectoryConfigProperty := &ActiveDirectoryConfigProperty{
	DomainName: jsii.String("domainName"),
	ServiceAccountSecretArn: jsii.String("serviceAccountSecretArn"),
}

Properties ​

domainNamestringdomain_namestrdomainNameStringDomainNamestringDomainName*string required #
The name of the domain.
serviceAccountSecretArnstringservice_account_secret_arnstrserviceAccountSecretArnStringServiceAccountSecretArnstringServiceAccountSecretArn*string required #
Indicates the secret ARN on the service account.