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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.transfer.CfnConnectorProps
CfnConnectorProps.Builder, CfnConnectorProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnConnectorProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnConnectorProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
Connectors are used to send files using either the AS2 or SFTP protocol.final Object
A structure that contains the parameters for an AS2 connector object.final String
The 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 String
The text name of the security policy for the specified connector.final Object
A 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 String
getUrl()
The URL of the partner's AS2 or SFTP endpoint.final int
hashCode()
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:CfnConnectorProps
Connectors 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
StartFileTransfer
and 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, theAccessRole
needs to provide read and write access to the parent directory of the file location used in theStartFileTransfer
request. 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:GetSecretValue
permission 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:Decrypt
permission 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
StartFileTransfer
request. Additionally, make sure that the role providessecretsmanager:GetSecretValue
permission to AWS Secrets Manager .- Specified by:
getAccessRole
in interfaceCfnConnectorProps
- See Also:
-
getUrl
Description copied from interface:CfnConnectorProps
The URL of the partner's AS2 or SFTP endpoint.- Specified by:
getUrl
in interfaceCfnConnectorProps
- See Also:
-
getAs2Config
Description copied from interface:CfnConnectorProps
A structure that contains the parameters for an AS2 connector object.- Specified by:
getAs2Config
in interfaceCfnConnectorProps
- See Also:
-
getLoggingRole
Description copied from interface:CfnConnectorProps
The 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:
getLoggingRole
in interfaceCfnConnectorProps
- See Also:
-
getSecurityPolicyName
Description copied from interface:CfnConnectorProps
The text name of the security policy for the specified connector.- Specified by:
getSecurityPolicyName
in interfaceCfnConnectorProps
- See Also:
-
getSftpConfig
Description copied from interface:CfnConnectorProps
A structure that contains the parameters for an SFTP connector object.- Specified by:
getSftpConfig
in interfaceCfnConnectorProps
- See Also:
-
getTags
Description copied from interface:CfnConnectorProps
Key-value pairs that can be used to group and search for connectors.- Specified by:
getTags
in interfaceCfnConnectorProps
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-