Class CfnHostKey.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnHostKey.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHostKey>
- Enclosing class:
CfnHostKey
@Stability(Stable)
public static final class CfnHostKey.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHostKey>
A fluent builder for
CfnHostKey.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnHostKey.Builderdescription(String description) The text description for this host key.hostKeyBody(String hostKeyBody) The private key portion of an SSH key pair.The identifier of the server that contains the host key.Key-value pairs that can be used to group and search for host keys.
-
Method Details
-
create
@Stability(Stable) public static CfnHostKey.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnHostKey.Builder.
-
serverId
The identifier of the server that contains the host key.- Parameters:
serverId- The identifier of the server that contains the host key. This parameter is required.- Returns:
this- See Also:
-
description
The text description for this host key.- Parameters:
description- The text description for this host key. This parameter is required.- Returns:
this- See Also:
-
hostKeyBody
The private key portion of an SSH key pair.Transfer Family accepts RSA, ECDSA, and ED25519 keys.
- Parameters:
hostKeyBody- The private key portion of an SSH key pair. This parameter is required.- Returns:
this- See Also:
-
tags
Key-value pairs that can be used to group and search for host keys.- Parameters:
tags- Key-value pairs that can be used to group and search for host keys. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHostKey>- Returns:
- a newly built instance of
CfnHostKey.
-