Class CfnDirectoryConfig.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnDirectoryConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectoryConfig>
- Enclosing class:
CfnDirectoryConfig
@Stability(Stable)
public static final class CfnDirectoryConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectoryConfig>
A fluent builder for
CfnDirectoryConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
certificateBasedAuthProperties
(IResolvable certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.certificateBasedAuthProperties
(CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.static CfnDirectoryConfig.Builder
directoryName
(String directoryName) The fully qualified name of the directory (for example, corp.example.com).organizationalUnitDistinguishedNames
(List<String> organizationalUnitDistinguishedNames) The distinguished names of the organizational units for computer accounts.serviceAccountCredentials
(IResolvable serviceAccountCredentials) The credentials for the service account used by the streaming instance to connect to the directory.serviceAccountCredentials
(CfnDirectoryConfig.ServiceAccountCredentialsProperty serviceAccountCredentials) The credentials for the service account used by the streaming instance to connect to the directory.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnDirectoryConfig.Builder
.
-
directoryName
The fully qualified name of the directory (for example, corp.example.com).- Parameters:
directoryName
- The fully qualified name of the directory (for example, corp.example.com). This parameter is required.- Returns:
this
-
organizationalUnitDistinguishedNames
@Stability(Stable) public CfnDirectoryConfig.Builder organizationalUnitDistinguishedNames(List<String> organizationalUnitDistinguishedNames) The distinguished names of the organizational units for computer accounts.- Parameters:
organizationalUnitDistinguishedNames
- The distinguished names of the organizational units for computer accounts. This parameter is required.- Returns:
this
-
serviceAccountCredentials
@Stability(Stable) public CfnDirectoryConfig.Builder serviceAccountCredentials(IResolvable serviceAccountCredentials) The credentials for the service account used by the streaming instance to connect to the directory.Do not use this parameter directly. Use
ServiceAccountCredentials
as an input parameter withnoEcho
as shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .- Parameters:
serviceAccountCredentials
- The credentials for the service account used by the streaming instance to connect to the directory. This parameter is required.- Returns:
this
-
serviceAccountCredentials
@Stability(Stable) public CfnDirectoryConfig.Builder serviceAccountCredentials(CfnDirectoryConfig.ServiceAccountCredentialsProperty serviceAccountCredentials) The credentials for the service account used by the streaming instance to connect to the directory.Do not use this parameter directly. Use
ServiceAccountCredentials
as an input parameter withnoEcho
as shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .- Parameters:
serviceAccountCredentials
- The credentials for the service account used by the streaming instance to connect to the directory. This parameter is required.- Returns:
this
-
certificateBasedAuthProperties
@Stability(Stable) public CfnDirectoryConfig.Builder certificateBasedAuthProperties(IResolvable certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.- Parameters:
certificateBasedAuthProperties
- The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. This parameter is required.- Returns:
this
-
certificateBasedAuthProperties
@Stability(Stable) public CfnDirectoryConfig.Builder certificateBasedAuthProperties(CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.- Parameters:
certificateBasedAuthProperties
- The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDirectoryConfig>
- Returns:
- a newly built instance of
CfnDirectoryConfig
.
-