instantiateSolNetworkInstance

Instantiates a network instance.

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.

Before you can instantiate a network instance, you have to create a network instance. For more information, see CreateSolNetworkInstance.

Samples

import aws.smithy.kotlin.runtime.content.Document
import aws.smithy.kotlin.runtime.content.buildDocument

fun main() { 
   //sampleStart 
   // Instantiate a Sol Network Instance
val resp = tnbClient.instantiateSolNetworkInstance {
    nsInstanceId = "ni-0d5b823eb5c2a9241"
    tags = mapOf<String, String>(
        "Name" to "Resource"
    )
} 
   //sampleEnd
}
import aws.smithy.kotlin.runtime.content.Document
import aws.smithy.kotlin.runtime.content.buildDocument

fun main() { 
   //sampleStart 
   // Instantiate a Sol Network Instance with Overrides
val resp = tnbClient.instantiateSolNetworkInstance {
    nsInstanceId = "ni-0d5b823eb5c2a9241"
    additionalParamsForNs = buildDocument {
        "cidr_block" to Document("10.0.0.0/16")
        "availability_zone" to Document("us-west-2a")
    }
} 
   //sampleEnd
}