Class: AWSCDK::RedshiftServerless::CfnWorkgroup::EndpointProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RedshiftServerless::CfnWorkgroup::EndpointProperty
- Defined in:
- redshift_serverless/cfn_workgroup.rb
Overview
The VPC endpoint object.
Instance Attribute Summary collapse
-
#address ⇒ String?
readonly
The DNS address of the VPC endpoint.
-
#port ⇒ Numeric?
readonly
The port that Amazon Redshift Serverless listens on.
-
#vpc_endpoints ⇒ AWSCDK::IResolvable, ...
readonly
An array of
VpcEndpointobjects.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(address: nil, port: nil, vpc_endpoints: nil) ⇒ EndpointProperty
constructor
A new instance of EndpointProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(address: nil, port: nil, vpc_endpoints: nil) ⇒ EndpointProperty
Returns a new instance of EndpointProperty.
920 921 922 923 924 925 926 927 |
# File 'redshift_serverless/cfn_workgroup.rb', line 920 def initialize(address: nil, port: nil, vpc_endpoints: nil) @address = address Jsii::Type.check_type(@address, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "address") unless @address.nil? @port = port Jsii::Type.check_type(@port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "port") unless @port.nil? @vpc_endpoints = vpc_endpoints Jsii::Type.check_type(@vpc_endpoints, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcmVkc2hpZnRzZXJ2ZXJsZXNzLkNmbldvcmtncm91cC5WcGNFbmRwb2ludFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "vpcEndpoints") unless @vpc_endpoints.nil? end |
Instance Attribute Details
#address ⇒ String? (readonly)
The DNS address of the VPC endpoint.
933 934 935 |
# File 'redshift_serverless/cfn_workgroup.rb', line 933 def address @address end |
#port ⇒ Numeric? (readonly)
The port that Amazon Redshift Serverless listens on.
938 939 940 |
# File 'redshift_serverless/cfn_workgroup.rb', line 938 def port @port end |
#vpc_endpoints ⇒ AWSCDK::IResolvable, ... (readonly)
An array of VpcEndpoint objects.
943 944 945 |
# File 'redshift_serverless/cfn_workgroup.rb', line 943 def vpc_endpoints @vpc_endpoints end |
Class Method Details
.jsii_properties ⇒ Object
945 946 947 948 949 950 951 |
# File 'redshift_serverless/cfn_workgroup.rb', line 945 def self.jsii_properties { :address => "address", :port => "port", :vpc_endpoints => "vpcEndpoints", } end |
Instance Method Details
#to_jsii ⇒ Object
953 954 955 956 957 958 959 960 961 |
# File 'redshift_serverless/cfn_workgroup.rb', line 953 def to_jsii result = {} result.merge!({ "address" => @address, "port" => @port, "vpcEndpoints" => @vpc_endpoints, }) result.compact end |