Class CfnConnector.SftpConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnConnector.SftpConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnConnector.SftpConfigProperty
CfnConnector.SftpConfigProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.transfer.CfnConnector.SftpConfigProperty
CfnConnector.SftpConfigProperty.Builder, CfnConnector.SftpConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnConnector.SftpConfigProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanThe public portion of the host key, or keys, that are used to identify the external server to which you are connecting.final StringThe identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnConnector.SftpConfigProperty.Builder.
-
-
Method Details
-
getTrustedHostKeys
Description copied from interface:CfnConnector.SftpConfigPropertyThe public portion of the host key, or keys, that are used to identify the external server to which you are connecting.You can use the
ssh-keyscancommand against the SFTP server to retrieve the necessary key.TrustedHostKeysis optional forCreateConnector. If not provided, you can useTestConnectionto retrieve the server host key during the initial connection attempt, and subsequently update the connector with the observed host key.The three standard SSH public key format elements are
<key type>,<body base64>, and an optional<comment>, with spaces between each element. Specify only the<key type>and<body base64>: do not enter the<comment>portion of the key.For the trusted host key, AWS Transfer Family accepts RSA and ECDSA keys.
- For RSA keys, the
<key type>string isssh-rsa. - For ECDSA keys, the
<key type>string is eitherecdsa-sha2-nistp256,ecdsa-sha2-nistp384, orecdsa-sha2-nistp521, depending on the size of the key you generated.
Run this command to retrieve the SFTP server host key, where your SFTP server name is
ftp.host.com.ssh-keyscan ftp.host.comThis prints the public host key to standard output.
ftp.host.com ssh-rsa AAAAB3Nza...<long-string-for-public-keyCopy and paste this string into the
TrustedHostKeysfield for thecreate-connectorcommand or into the Trusted host keys field in the console.- Specified by:
getTrustedHostKeysin interfaceCfnConnector.SftpConfigProperty- See Also:
- For RSA keys, the
-
getUserSecretId
Description copied from interface:CfnConnector.SftpConfigPropertyThe identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both.The identifier must be the Amazon Resource Name (ARN) of the secret.
- Required when creating an SFTP connector
- Optional when updating an existing SFTP connector
- Specified by:
getUserSecretIdin interfaceCfnConnector.SftpConfigProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-