Class: Aws::NeptuneGraph::Types::ComputeConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::NeptuneGraph::Types::ComputeConfiguration
- Defined in:
- gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/types.rb
Overview
ComputeConfiguration is a union - when making an API calls you must set exactly one of the members.
ComputeConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ComputeConfiguration corresponding to the set member.
The compute configuration of a graph. A graph is either a provisioned graph or a graph session.
Defined Under Namespace
Classes: GraphSession, ProvisionedGraph, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#graph_session ⇒ Types::GraphSessionConfiguration
Configuration for a graph session.
-
#provisioned_graph ⇒ Types::ProvisionedGraphConfiguration
Configuration for a provisioned graph.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#graph_session ⇒ Types::GraphSessionConfiguration
Configuration for a graph session. A graph session uses ephemeral compute that is bootstrapped when a query is sent to the graph. The compute is automatically stopped after a few minutes with no traffic; the next query bootstraps the compute again. Queries that bootstrap the compute are subject to cold start latency.
199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/types.rb', line 199 class ComputeConfiguration < Struct.new( :provisioned_graph, :graph_session, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ProvisionedGraph < ComputeConfiguration; end class GraphSession < ComputeConfiguration; end class Unknown < ComputeConfiguration; end end |
#provisioned_graph ⇒ Types::ProvisionedGraphConfiguration
Configuration for a provisioned graph. A provisioned graph uses dedicated compute that is always available. Use provisioned graphs for workloads that require higher memory or predictable latency.
199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/types.rb', line 199 class ComputeConfiguration < Struct.new( :provisioned_graph, :graph_session, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ProvisionedGraph < ComputeConfiguration; end class GraphSession < ComputeConfiguration; end class Unknown < ComputeConfiguration; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
199 200 201 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/types.rb', line 199 def unknown @unknown end |