Interface CfnHostKeyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHostKeyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:20.655Z")
@Stability(Stable)
public interface CfnHostKeyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnHostKey.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.transfer.*;
CfnHostKeyProps cfnHostKeyProps = CfnHostKeyProps.builder()
.serverId("serverId")
// the properties below are optional
.description("description")
.hostKeyBody("hostKeyBody")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHostKeyPropsstatic final classAn implementation forCfnHostKeyProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnHostKeyProps.Builderbuilder()default StringThe text description for this host key.default StringThe private key portion of an SSH key pair.The identifier of the server that contains the host key.getTags()Key-value pairs that can be used to group and search for host keys.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getServerId
The identifier of the server that contains the host key.- See Also:
-
getDescription
The text description for this host key.- See Also:
-
getHostKeyBody
The private key portion of an SSH key pair.Transfer Family accepts RSA, ECDSA, and ED25519 keys.
- See Also:
-
getTags
Key-value pairs that can be used to group and search for host keys.- See Also:
-
builder
- Returns:
- a
CfnHostKeyProps.BuilderofCfnHostKeyProps
-