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 ObjectCurrent egress configuration of the connector, showing how traffic is routed to the SFTP server.final StringType of egress configuration for the connector.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:
-
getAs2Config
Description copied from interface:CfnConnectorPropsA structure that contains the parameters for an AS2 connector object.- Specified by:
getAs2Configin interfaceCfnConnectorProps- See Also:
-
getEgressConfig
Description copied from interface:CfnConnectorPropsCurrent egress configuration of the connector, showing how traffic is routed to the SFTP server.Contains VPC Lattice settings when using VPC_LATTICE egress type.
When using the VPC_LATTICE egress type, AWS Transfer Family uses a managed Service Network to simplify the resource sharing process.
Returns union: either
IResolvableorCfnConnector.ConnectorEgressConfigProperty- Specified by:
getEgressConfigin interfaceCfnConnectorProps- See Also:
-
getEgressType
Description copied from interface:CfnConnectorPropsType of egress configuration for the connector.SERVICE_MANAGED uses Transfer Family managed NAT gateways, while VPC_LATTICE routes traffic through customer VPCs using VPC Lattice.
- Specified by:
getEgressTypein 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.Returns union: either
IResolvableorCfnConnector.SftpConfigProperty- 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:
-
getUrl
Description copied from interface:CfnConnectorPropsThe URL of the partner's AS2 or SFTP endpoint.When creating AS2 connectors or service-managed SFTP connectors (connectors without egress configuration), you must provide a URL to specify the remote server endpoint. For VPC Lattice type connectors, the URL must be null.
- Specified by:
getUrlin 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()
-