SSHPublicKey
Source:
src/AWS/IAM/SSHPublicKey.ts
An IAM SSH public key for CodeCommit-compatible workflows.
SSHPublicKey uploads and manages a user’s public key for services such as
AWS CodeCommit that authenticate through IAM-backed SSH credentials.
Managing SSH Keys
Section titled “Managing SSH Keys”const user = yield* User("GitUser", { userName: "codecommit-user",});
const key = yield* SSHPublicKey("GitKey", { userName: user.userName, sshPublicKeyBody: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample codecommit-user",});