CfnHostKeyProps Struct
Properties for defining a CfnHostKey.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as transfer } from 'aws-cdk-lib';
const cfnHostKeyProps: transfer.CfnHostKeyProps = {
serverId: 'serverId',
// the properties below are optional
description: 'description',
hostKeyBody: 'hostKeyBody',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
The text description for this host key.
The private key portion of an SSH key pair.
Transfer Family accepts RSA, ECDSA, and ED25519 keys.
The identifier of the server that contains the host key.