Class CfnConnectorProps.Jsii$Proxy
- All Implemented Interfaces:
CfnConnectorProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnConnectorProps
CfnConnectorProps-
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.CfnConnectorProps
CfnConnectorProps.Builder, CfnConnectorProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnConnectorProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnConnectorProps.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 booleanfinal StringConnectors are used to send files using either the AS2 or SFTP protocol.final ObjectA structure that contains the parameters for an AS2 connector object.final StringThe Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events.final StringThe text name of the security policy for the specified connector.final ObjectA structure that contains the parameters for an SFTP connector object.getTags()Key-value pairs that can be used to group and search for connectors.final StringgetUrl()The URL of the partner's AS2 or SFTP endpoint.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 theCfnConnectorProps.Builder.
-
-
Method Details
-
getAccessRole
Description copied from interface:CfnConnectorPropsConnectors are used to send files using either the AS2 or SFTP protocol.For the access role, provide the Amazon Resource Name (ARN) of the AWS Identity and Access Management role to use.
For AS2 connectors
With AS2, you can send files by calling
StartFileTransferand specifying the file paths in the request parameter,SendFilePaths. We use the file’s parent directory (for example, for--send-file-paths /bucket/dir/file.txt, parent directory is/bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, theAccessRoleneeds to provide read and write access to the parent directory of the file location used in theStartFileTransferrequest. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send withStartFileTransfer.If you are using Basic authentication for your AS2 connector, the access role requires the
secretsmanager:GetSecretValuepermission for the secret. If the secret is encrypted using a customer-managed key instead of the AWS managed key in Secrets Manager, then the role also needs thekms:Decryptpermission for that key.For SFTP connectors
Make sure that the access role provides read and write access to the parent directory of the file location that's used in the
StartFileTransferrequest. Additionally, make sure that the role providessecretsmanager:GetSecretValuepermission to AWS Secrets Manager .- Specified by:
getAccessRolein interfaceCfnConnectorProps- See Also:
-
getUrl
Description copied from interface:CfnConnectorPropsThe URL of the partner's AS2 or SFTP endpoint.- Specified by:
getUrlin interfaceCfnConnectorProps- See Also:
-
getAs2Config
Description copied from interface:CfnConnectorPropsA structure that contains the parameters for an AS2 connector object.- Specified by:
getAs2Configin interfaceCfnConnectorProps- See Also:
-
getLoggingRole
Description copied from interface:CfnConnectorPropsThe Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events.When set, you can view connector activity in your CloudWatch logs.
- Specified by:
getLoggingRolein interfaceCfnConnectorProps- See Also:
-
getSecurityPolicyName
Description copied from interface:CfnConnectorPropsThe text name of the security policy for the specified connector.- Specified by:
getSecurityPolicyNamein interfaceCfnConnectorProps- See Also:
-
getSftpConfig
Description copied from interface:CfnConnectorPropsA structure that contains the parameters for an SFTP connector object.- Specified by:
getSftpConfigin interfaceCfnConnectorProps- See Also:
-
getTags
Description copied from interface:CfnConnectorPropsKey-value pairs that can be used to group and search for connectors.- Specified by:
getTagsin interfaceCfnConnectorProps- 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()
-