CfnDirectoryConfigProps

class aws_cdk.aws_appstream.CfnDirectoryConfigProps(*, directory_name, organizational_unit_distinguished_names, service_account_credentials, certificate_based_auth_properties=None)

Bases: object

Properties for defining a CfnDirectoryConfig.

Parameters
  • directory_name (str) – The fully qualified name of the directory (for example, corp.example.com).

  • organizational_unit_distinguished_names (Sequence[str]) – The distinguished names of the organizational units for computer accounts.

  • service_account_credentials (Union[ServiceAccountCredentialsProperty, Dict[str, Any], IResolvable]) – 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 with noEcho as shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .

  • certificate_based_auth_properties (Union[CertificateBasedAuthPropertiesProperty, Dict[str, Any], IResolvable, None]) – AWS::AppStream::DirectoryConfig.CertificateBasedAuthProperties.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-directoryconfig.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appstream as appstream

cfn_directory_config_props = appstream.CfnDirectoryConfigProps(
    directory_name="directoryName",
    organizational_unit_distinguished_names=["organizationalUnitDistinguishedNames"],
    service_account_credentials=appstream.CfnDirectoryConfig.ServiceAccountCredentialsProperty(
        account_name="accountName",
        account_password="accountPassword"
    ),

    # the properties below are optional
    certificate_based_auth_properties=appstream.CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty(
        certificate_authority_arn="certificateAuthorityArn",
        status="status"
    )
)

Attributes

certificate_based_auth_properties

AWS::AppStream::DirectoryConfig.CertificateBasedAuthProperties.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-directoryconfig.html#cfn-appstream-directoryconfig-certificatebasedauthproperties

Return type

Union[CertificateBasedAuthPropertiesProperty, IResolvable, None]

directory_name

The fully qualified name of the directory (for example, corp.example.com).

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-directoryconfig.html#cfn-appstream-directoryconfig-directoryname

Return type

str

organizational_unit_distinguished_names

The distinguished names of the organizational units for computer accounts.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-directoryconfig.html#cfn-appstream-directoryconfig-organizationalunitdistinguishednames

Return type

List[str]

service_account_credentials

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 with noEcho as shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-directoryconfig.html#cfn-appstream-directoryconfig-serviceaccountcredentials

Return type

Union[ServiceAccountCredentialsProperty, IResolvable]