Generate Image with Amazon Bedrock > Using the Generate Image with Amazon Bedrock recipe > Step 3. Configure and publish the File connection
  

Step 3. Configure and publish the File connection

Configure the file directory and specify the action to be taken if a file already exists, and then publish the FileConnection connection.
  1. 1Open the FileConnection connection.
  2. 2From the Runtime Environment list, select the Secure Agent.
  3. 3On the Event Targets tab, in the Directory field, enter the directory to store the files. In the File Exists field, select TryRename.
  4. 4Save and publish the connection.