

Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.

# Erstellen Sie ein Control-M-Verbindungsprofil für AWS Mainframe Modernization
<a name="connection-profile"></a>

Verbindungsprofile definieren Verbindungsattribute und Sicherheitsanmeldeinformationen für eine bestimmte Instance einer Anwendung. Auf jedes Verbindungsprofil können mehrere Aufträge verweisen. Sie können separate Profile für jede eindeutige Kombination aus Anwendung und Anmeldeinformationen einrichten.

[Um [Verbindungsprofile zu definieren](https://documents.bmc.com/supportu/9.0.21/en-US/Documentation/Creating_a_centralized_connection_profile.htm), können Sie die grafische Benutzeroberfläche (GUI) verwenden, die in der **Konfigurationsdomäne** der Control-M-Weboberfläche verfügbar ist, oder Sie können JSON verwenden.](https://docs.bmc.com/docs/automation-api/monthly/connection-profiles-1116950312.html) Informationen zum Verbindungsprofil des AWS Mainframe Modernization Plug-ins finden Sie in der [Control-M-Dokumentation](https://documents.bmc.com/supportu/9.0.21/en-US/Documentation/Mainframe_Modernization_Connection_Profiles.htm#AWSMainframeModernizationConnectionProfileParameters).

Der folgende Code ist ein Beispiel für die Verwendung von JSON:

```
{
  "MANAGED-M2-REPLATFORM": {
    "Type": "ConnectionProfile:AWS Mainframe Modernization",
    "Mainframe Modernization URL": "https://m2.{{AwsRegion}}.amazonaws.com",
    "Connection Timeout": "30",
    "AWS Region": "us-west-2",
    "Authentication": "NoSecret",
    "IAM Role": "--- IAM Role name ---",
    "AWS Logs URL": "https://logs.{{AwsRegion}}.amazonaws.com",
    "Description": "",
    "Centralized": true
  }
}
```

Erstellen Sie eine JSON-Datei, die dem Beispiel ähnelt, und stellen Sie sie mithilfe des [Control-M Automation API-Bereitstellungsdienstes](https://docs.bmc.com/docs/automation-api/monthly/deploy-service-1116950327.html) bereit. Wenn der JSON-Code beispielsweise in einer Datei mit dem Namen gespeichert wird`cp-MANAGED-M2-REPLATFORM.json`, lautet die `ctm` CLI-Syntax für die Bereitstellung dieses Verbindungsprofils wie folgt:

```
 ctm deploy cp-MANAGED-M2-REPLATFORM.json
```

Die Antwort der Control-M Automation API wird wie folgt aussehen:

```
[
  {
    "deploymentFile": "cp-Managed-M2-REPLATFORM.json",
    "deploymentState": "DEPLOYED_CONNECTION_PROFILES",
    "deploymentStatus": "ENDED_OK",
    "successfulFoldersCount": 0,
    "successfulSmartFoldersCount": 0,
    "successfulSubFoldersCount": 0,
    "successfulJobsCount": 0,
    "successfulConnectionProfilesCount": 1,
    "successfulDriversCount": 0,
    "isDeployDescriptorValid": false,
    "deployedConnectionProfiles": [
      "MANAGED-M2-REPLATFORM"
    ]
  }
]
```