Class: AWSCDK::Transfer::CfnConnector::ConnectorEgressConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
transfer/cfn_connector.rb

Overview

Configuration structure that defines how traffic is routed from the connector to the SFTP server.

Contains VPC Lattice settings when using VPC_LATTICE egress type for private connectivity through customer VPCs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vpc_lattice:) ⇒ ConnectorEgressConfigProperty

Returns a new instance of ConnectorEgressConfigProperty.

Parameters:



907
908
909
910
# File 'transfer/cfn_connector.rb', line 907

def initialize(vpc_lattice:)
  @vpc_lattice = vpc_lattice.is_a?(Hash) ? ::AWSCDK::Transfer::CfnConnector::ConnectorVPCLatticeEgressConfigProperty.new(**vpc_lattice.transform_keys(&:to_sym)) : vpc_lattice
  Jsii::Type.check_type(@vpc_lattice, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c190cmFuc2Zlci5DZm5Db25uZWN0b3IuQ29ubmVjdG9yVnBjTGF0dGljZUVncmVzc0NvbmZpZ1Byb3BlcnR5In1dfX0=")), "vpcLattice")
end

Instance Attribute Details

#vpc_latticeAWSCDK::IResolvable, AWSCDK::Transfer::CfnConnector::ConnectorVPCLatticeEgressConfigProperty (readonly)

VPC_LATTICE configuration for routing connector traffic through customer VPCs.

Enables private connectivity to SFTP servers without requiring public internet access or complex network configurations.



918
919
920
# File 'transfer/cfn_connector.rb', line 918

def vpc_lattice
  @vpc_lattice
end

Class Method Details

.jsii_propertiesObject



920
921
922
923
924
# File 'transfer/cfn_connector.rb', line 920

def self.jsii_properties
  {
    :vpc_lattice => "vpcLattice",
  }
end

Instance Method Details

#to_jsiiObject



926
927
928
929
930
931
932
# File 'transfer/cfn_connector.rb', line 926

def to_jsii
  result = {}
  result.merge!({
    "vpcLattice" => @vpc_lattice,
  })
  result.compact
end