Class: AWSCDK::NeptuneGraph::CfnPrivateGraphEndpointProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NeptuneGraph::CfnPrivateGraphEndpointProps
- Defined in:
- neptune_graph/cfn_private_graph_endpoint_props.rb
Overview
Properties for defining a CfnPrivateGraphEndpoint.
Instance Attribute Summary collapse
-
#graph_identifier ⇒ String
readonly
The unique identifier of the Neptune Analytics graph.
-
#security_group_ids ⇒ Array<String>?
readonly
Security groups to be attached to the private graph endpoint..
-
#subnet_ids ⇒ Array<String>?
readonly
Subnets in which private graph endpoint ENIs are created.
-
#vpc_id ⇒ String
readonly
The VPC in which the private graph endpoint needs to be created.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(graph_identifier:, vpc_id:, security_group_ids: nil, subnet_ids: nil) ⇒ CfnPrivateGraphEndpointProps
constructor
A new instance of CfnPrivateGraphEndpointProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(graph_identifier:, vpc_id:, security_group_ids: nil, subnet_ids: nil) ⇒ CfnPrivateGraphEndpointProps
Returns a new instance of CfnPrivateGraphEndpointProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'neptune_graph/cfn_private_graph_endpoint_props.rb', line 13 def initialize(graph_identifier:, vpc_id:, security_group_ids: nil, subnet_ids: nil) @graph_identifier = graph_identifier Jsii::Type.check_type(@graph_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "graphIdentifier") @vpc_id = vpc_id Jsii::Type.check_type(@vpc_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcId") @security_group_ids = security_group_ids Jsii::Type.check_type(@security_group_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "securityGroupIds") unless @security_group_ids.nil? @subnet_ids = subnet_ids Jsii::Type.check_type(@subnet_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "subnetIds") unless @subnet_ids.nil? end |
Instance Attribute Details
#graph_identifier ⇒ String (readonly)
The unique identifier of the Neptune Analytics graph.
28 29 30 |
# File 'neptune_graph/cfn_private_graph_endpoint_props.rb', line 28 def graph_identifier @graph_identifier end |
#security_group_ids ⇒ Array<String>? (readonly)
Security groups to be attached to the private graph endpoint..
38 39 40 |
# File 'neptune_graph/cfn_private_graph_endpoint_props.rb', line 38 def security_group_ids @security_group_ids end |
#subnet_ids ⇒ Array<String>? (readonly)
Subnets in which private graph endpoint ENIs are created.
43 44 45 |
# File 'neptune_graph/cfn_private_graph_endpoint_props.rb', line 43 def subnet_ids @subnet_ids end |
#vpc_id ⇒ String (readonly)
The VPC in which the private graph endpoint needs to be created.
33 34 35 |
# File 'neptune_graph/cfn_private_graph_endpoint_props.rb', line 33 def vpc_id @vpc_id end |
Class Method Details
.jsii_properties ⇒ Object
45 46 47 48 49 50 51 52 |
# File 'neptune_graph/cfn_private_graph_endpoint_props.rb', line 45 def self.jsii_properties { :graph_identifier => "graphIdentifier", :vpc_id => "vpcId", :security_group_ids => "securityGroupIds", :subnet_ids => "subnetIds", } end |
Instance Method Details
#to_jsii ⇒ Object
54 55 56 57 58 59 60 61 62 63 |
# File 'neptune_graph/cfn_private_graph_endpoint_props.rb', line 54 def to_jsii result = {} result.merge!({ "graphIdentifier" => @graph_identifier, "vpcId" => @vpc_id, "securityGroupIds" => @security_group_ids, "subnetIds" => @subnet_ids, }) result.compact end |