@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.624Z") @Stability(value=Stable) public class CfnDirectoryConfig extends CfnResource implements IInspectable
The AWS::AppStream::DirectoryConfig resource specifies the configuration information required to join Amazon AppStream 2.0 fleets and image builders to Microsoft Active Directory domains.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appstream.*;
CfnDirectoryConfig cfnDirectoryConfig = CfnDirectoryConfig.Builder.create(this, "MyCfnDirectoryConfig")
.directoryName("directoryName")
.organizationalUnitDistinguishedNames(List.of("organizationalUnitDistinguishedNames"))
.serviceAccountCredentials(ServiceAccountCredentialsProperty.builder()
.accountName("accountName")
.accountPassword("accountPassword")
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnDirectoryConfig.Builder
A fluent builder for
CfnDirectoryConfig. |
static interface |
CfnDirectoryConfig.ServiceAccountCredentialsProperty
The credentials for the service account used by the streaming instance to connect to the directory.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDirectoryConfig(software.constructs.Construct scope,
String id,
CfnDirectoryConfigProps props)
Create a new `AWS::AppStream::DirectoryConfig`.
|
protected |
CfnDirectoryConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDirectoryConfig(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
String |
getDirectoryName()
The fully qualified name of the directory (for example, corp.example.com).
|
List<String> |
getOrganizationalUnitDistinguishedNames()
The distinguished names of the organizational units for computer accounts.
|
Object |
getServiceAccountCredentials()
The credentials for the service account used by the streaming instance to connect to the directory.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDirectoryName(String value)
The fully qualified name of the directory (for example, corp.example.com).
|
void |
setOrganizationalUnitDistinguishedNames(List<String> value)
The distinguished names of the organizational units for computer accounts.
|
void |
setServiceAccountCredentials(CfnDirectoryConfig.ServiceAccountCredentialsProperty value)
The credentials for the service account used by the streaming instance to connect to the directory.
|
void |
setServiceAccountCredentials(IResolvable value)
The credentials for the service account used by the streaming instance to connect to the directory.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDirectoryConfig(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDirectoryConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDirectoryConfig(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnDirectoryConfigProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getDirectoryName()
@Stability(value=Stable)
public void setDirectoryName(@NotNull
String value)
@Stability(value=Stable) @NotNull public List<String> getOrganizationalUnitDistinguishedNames()
@Stability(value=Stable)
public void setOrganizationalUnitDistinguishedNames(@NotNull
List<String> value)
@Stability(value=Stable) @NotNull public Object getServiceAccountCredentials()
Do not use this parameter directly. Use ServiceAccountCredentials as an input parameter with noEcho as shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .
@Stability(value=Stable)
public void setServiceAccountCredentials(@NotNull
CfnDirectoryConfig.ServiceAccountCredentialsProperty value)
Do not use this parameter directly. Use ServiceAccountCredentials as an input parameter with noEcho as shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .
@Stability(value=Stable)
public void setServiceAccountCredentials(@NotNull
IResolvable value)
Do not use this parameter directly. Use ServiceAccountCredentials as an input parameter with noEcho as shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .
Copyright © 2022. All rights reserved.