create_directory_config
async
¶
create_directory_config(
*,
config_overrides: Optional[AsyncAppStreamClientConfig] = 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/async_app_stream.py
1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 | |