create_directory_config
¶
create_directory_config(
*,
config_overrides: Optional[AppStreamClientConfig] = None,
directory_name: Optional[DirectoryName] = None,
organizational_unit_distinguished_names: Optional[
OrganizationalUnitDistinguishedNamesList
] = None,
service_account_credentials: Optional[ServiceAccountCredentials] = None,
certificate_based_auth_properties: Optional[CertificateBasedAuthProperties] = None,
) -> CreateDirectoryConfigResult
Creates a Directory Config object in WorkSpaces Applications. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
Parameters:
-
directory_name(Optional[DirectoryName], default:None) –The fully qualified name of the directory (for example, corp.example.com).
-
organizational_unit_distinguished_names(Optional[OrganizationalUnitDistinguishedNamesList], default:None) –The distinguished names of the organizational units for computer accounts.
-
service_account_credentials(Optional[ServiceAccountCredentials], default:None) –The credentials for the service account used by the fleet or image builder to connect to the directory.
-
certificate_based_auth_properties(Optional[CertificateBasedAuthProperties], default:None) –The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
Raises:
-
InvalidAccountStatusException–The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.
-
InvalidRoleException–The specified role is invalid.
-
LimitExceededException–The requested limit exceeds the permitted limit for an account.
-
OperationNotPermittedException–The attempted operation is not permitted.
-
ResourceAlreadyExistsException–The specified resource already exists.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appstream/_services/app_stream.py
1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 | |