Class: AWSCDK::RedshiftServerless::CfnWorkgroup::VPCEndpointProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RedshiftServerless::CfnWorkgroup::VPCEndpointProperty
- Defined in:
- redshift_serverless/cfn_workgroup.rb
Overview
The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.
Instance Attribute Summary collapse
-
#network_interfaces ⇒ AWSCDK::IResolvable, ...
readonly
One or more network interfaces of the endpoint.
-
#vpc_endpoint_id ⇒ String?
readonly
The connection endpoint ID for connecting to Amazon Redshift Serverless.
-
#vpc_id ⇒ String?
readonly
The VPC identifier that the endpoint is associated with.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(network_interfaces: nil, vpc_endpoint_id: nil, vpc_id: nil) ⇒ VPCEndpointProperty
constructor
A new instance of VPCEndpointProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(network_interfaces: nil, vpc_endpoint_id: nil, vpc_id: nil) ⇒ VPCEndpointProperty
Returns a new instance of VPCEndpointProperty.
1081 1082 1083 1084 1085 1086 1087 1088 |
# File 'redshift_serverless/cfn_workgroup.rb', line 1081 def initialize(network_interfaces: nil, vpc_endpoint_id: nil, vpc_id: nil) @network_interfaces = network_interfaces Jsii::Type.check_type(@network_interfaces, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcmVkc2hpZnRzZXJ2ZXJsZXNzLkNmbldvcmtncm91cC5OZXR3b3JrSW50ZXJmYWNlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "networkInterfaces") unless @network_interfaces.nil? @vpc_endpoint_id = vpc_endpoint_id Jsii::Type.check_type(@vpc_endpoint_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcEndpointId") unless @vpc_endpoint_id.nil? @vpc_id = vpc_id Jsii::Type.check_type(@vpc_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcId") unless @vpc_id.nil? end |
Instance Attribute Details
#network_interfaces ⇒ AWSCDK::IResolvable, ... (readonly)
One or more network interfaces of the endpoint.
Also known as an interface endpoint.
1096 1097 1098 |
# File 'redshift_serverless/cfn_workgroup.rb', line 1096 def network_interfaces @network_interfaces end |
#vpc_endpoint_id ⇒ String? (readonly)
The connection endpoint ID for connecting to Amazon Redshift Serverless.
1101 1102 1103 |
# File 'redshift_serverless/cfn_workgroup.rb', line 1101 def vpc_endpoint_id @vpc_endpoint_id end |
#vpc_id ⇒ String? (readonly)
The VPC identifier that the endpoint is associated with.
1106 1107 1108 |
# File 'redshift_serverless/cfn_workgroup.rb', line 1106 def vpc_id @vpc_id end |
Class Method Details
.jsii_properties ⇒ Object
1108 1109 1110 1111 1112 1113 1114 |
# File 'redshift_serverless/cfn_workgroup.rb', line 1108 def self.jsii_properties { :network_interfaces => "networkInterfaces", :vpc_endpoint_id => "vpcEndpointId", :vpc_id => "vpcId", } end |
Instance Method Details
#to_jsii ⇒ Object
1116 1117 1118 1119 1120 1121 1122 1123 1124 |
# File 'redshift_serverless/cfn_workgroup.rb', line 1116 def to_jsii result = {} result.merge!({ "networkInterfaces" => @network_interfaces, "vpcEndpointId" => @vpc_endpoint_id, "vpcId" => @vpc_id, }) result.compact end |