Class CfnDirectoryConfig
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.appstream.CfnDirectoryConfig
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,IDirectoryConfigRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:39:58.326Z")
@Stability(Stable)
public class CfnDirectoryConfig
extends CfnResource
implements IInspectable, IDirectoryConfigRef
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())
// the properties below are optional
.certificateBasedAuthProperties(CertificateBasedAuthPropertiesProperty.builder()
.certificateAuthorityArn("certificateAuthorityArn")
.status("status")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDirectoryConfig.static interfaceThe certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.static interfaceThe credentials for the service account used by the streaming instance to connect to the directory.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.appstream.IDirectoryConfigRef
IDirectoryConfigRef.Jsii$Default, IDirectoryConfigRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDirectoryConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDirectoryConfig(software.amazon.jsii.JsiiObjectRef objRef) CfnDirectoryConfig(software.constructs.Construct scope, String id, CfnDirectoryConfigProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.A reference to a DirectoryConfig resource.The fully qualified name of the directory (for example, corp.example.com).The distinguished names of the organizational units for computer accounts.The credentials for the service account used by the streaming instance to connect to the directory.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.voidThe certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.voidsetDirectoryName(String value) The fully qualified name of the directory (for example, corp.example.com).voidThe distinguished names of the organizational units for computer accounts.voidThe credentials for the service account used by the streaming instance to connect to the directory.voidThe credentials for the service account used by the streaming instance to connect to the directory.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDirectoryConfig
protected CfnDirectoryConfig(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDirectoryConfig
protected CfnDirectoryConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDirectoryConfig
@Stability(Stable) public CfnDirectoryConfig(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDirectoryConfigProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDirectoryConfigRef
A reference to a DirectoryConfig resource.- Specified by:
getDirectoryConfigRefin interfaceIDirectoryConfigRef
-
getDirectoryName
The fully qualified name of the directory (for example, corp.example.com). -
setDirectoryName
The fully qualified name of the directory (for example, corp.example.com). -
getOrganizationalUnitDistinguishedNames
The distinguished names of the organizational units for computer accounts. -
setOrganizationalUnitDistinguishedNames
The distinguished names of the organizational units for computer accounts. -
getServiceAccountCredentials
The credentials for the service account used by the streaming instance to connect to the directory.Returns union: either
IResolvableorCfnDirectoryConfig.ServiceAccountCredentialsProperty -
setServiceAccountCredentials
The credentials for the service account used by the streaming instance to connect to the directory. -
setServiceAccountCredentials
@Stability(Stable) public void setServiceAccountCredentials(@NotNull CfnDirectoryConfig.ServiceAccountCredentialsProperty value) The credentials for the service account used by the streaming instance to connect to the directory. -
getCertificateBasedAuthProperties
The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.Returns union: either
IResolvableorCfnDirectoryConfig.CertificateBasedAuthPropertiesProperty -
setCertificateBasedAuthProperties
The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. -
setCertificateBasedAuthProperties
@Stability(Stable) public void setCertificateBasedAuthProperties(@Nullable CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty value) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.
-