Class: AWSCDK::Transfer::CfnConnector::ConnectorVPCLatticeEgressConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Transfer::CfnConnector::ConnectorVPCLatticeEgressConfigProperty
- Defined in:
- transfer/cfn_connector.rb
Overview
VPC_LATTICE egress configuration that specifies the Resource Configuration ARN and port for connecting to SFTP servers through customer VPCs.
Requires a valid Resource Configuration with appropriate network access.
Instance Attribute Summary collapse
-
#port_number ⇒ Numeric?
readonly
Port number for connecting to the SFTP server through VPC_LATTICE.
-
#resource_configuration_arn ⇒ String
readonly
ARN of the VPC_LATTICE Resource Configuration that defines the target SFTP server location.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(resource_configuration_arn:, port_number: nil) ⇒ ConnectorVPCLatticeEgressConfigProperty
constructor
A new instance of ConnectorVPCLatticeEgressConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(resource_configuration_arn:, port_number: nil) ⇒ ConnectorVPCLatticeEgressConfigProperty
Returns a new instance of ConnectorVPCLatticeEgressConfigProperty.
945 946 947 948 949 950 |
# File 'transfer/cfn_connector.rb', line 945 def initialize(resource_configuration_arn:, port_number: nil) @resource_configuration_arn = resource_configuration_arn Jsii::Type.check_type(@resource_configuration_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceConfigurationArn") @port_number = port_number Jsii::Type.check_type(@port_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "portNumber") unless @port_number.nil? end |
Instance Attribute Details
#port_number ⇒ Numeric? (readonly)
Port number for connecting to the SFTP server through VPC_LATTICE.
Defaults to 22 if not specified. Must match the port on which the target SFTP server is listening.
965 966 967 |
# File 'transfer/cfn_connector.rb', line 965 def port_number @port_number end |
#resource_configuration_arn ⇒ String (readonly)
ARN of the VPC_LATTICE Resource Configuration that defines the target SFTP server location.
Must point to a valid Resource Configuration in the customer's VPC with appropriate network connectivity to the SFTP server.
958 959 960 |
# File 'transfer/cfn_connector.rb', line 958 def resource_configuration_arn @resource_configuration_arn end |
Class Method Details
.jsii_properties ⇒ Object
967 968 969 970 971 972 |
# File 'transfer/cfn_connector.rb', line 967 def self.jsii_properties { :resource_configuration_arn => "resourceConfigurationArn", :port_number => "portNumber", } end |
Instance Method Details
#to_jsii ⇒ Object
974 975 976 977 978 979 980 981 |
# File 'transfer/cfn_connector.rb', line 974 def to_jsii result = {} result.merge!({ "resourceConfigurationArn" => @resource_configuration_arn, "portNumber" => @port_number, }) result.compact end |