Skip to main content

sol_function_instances

Creates, updates, deletes, gets or lists a sol_function_instances resource.

Overview

Namesol_function_instances
TypeResource
Idaws.tnb.sol_function_instances

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringNetwork function instance ID. (pattern: <code>^fi-[a-f0-9]{17}$</code>)
arnstringNetwork function instance ARN. (pattern: <code>^arn:(aws|aws-cn|aws-iso|aws-iso-b|aws-us-gov):tnb:([a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-[0-9]):\d{12}:(function-instance/fi-[a-f0-9]{17})$</code>)
instantiated_vnf_infoobjectInformation about the network function. A network function instance is a function in a function package .
instantiation_statestringNetwork function instantiation state. (INSTANTIATED, NOT_INSTANTIATED)
metadataobjectThe metadata of a network function instance. A network function instance is a function in a function package .
ns_instance_idstringNetwork instance ID. (pattern: <code>^ni-[a-f0-9]{17}$</code>)
tagsobjectA tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
vnf_pkg_idstringFunction package ID. (pattern: <code>^fp-[a-f0-9]{17}$</code>)
vnf_product_namestringNetwork function product name.
vnf_providerstringNetwork function provider.
vnfd_idstringFunction package descriptor ID. (pattern: <code>^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$</code>)
vnfd_versionstringFunction package descriptor version.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_sol_function_instanceselectvnf_instance_id, regionGets the details of a network function instance, including the instantiation state and metadata from the function package descriptor in the network function package. A network function instance is a function in a function package .
list_sol_function_instancesselectregionmax_results, nextpage_opaque_markerLists network function instances. A network function instance is a function in a function package .

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
vnf_instance_idstringID of the network function.
max_resultsintegerThe maximum number of results to include in the response.
nextpage_opaque_markerstringThe token for the next page of results.

SELECT examples

Gets the details of a network function instance, including the instantiation state and metadata from the function package descriptor in the network function package. A network function instance is a function in a function package .

SELECT
id,
arn,
instantiated_vnf_info,
instantiation_state,
metadata,
ns_instance_id,
tags,
vnf_pkg_id,
vnf_product_name,
vnf_provider,
vnfd_id,
vnfd_version
FROM aws.tnb.sol_function_instances
WHERE vnf_instance_id = '{{ vnf_instance_id }}' -- required
AND region = '{{ region }}' -- required
;