updateInstanceMetadataOptions
inline suspend fun LightsailClient.updateInstanceMetadataOptions(crossinline block: UpdateInstanceMetadataOptionsRequest.Builder.() -> Unit): UpdateInstanceMetadataOptionsResponse
Modifies the Amazon Lightsail instance metadata parameters on a running or stopped instance. When you modify the parameters on a running instance, the GetInstance
or GetInstances
API operation initially responds with a state of pending
. After the parameter modifications are successfully applied, the state changes to applied
in subsequent GetInstance
or GetInstances
API calls. For more information, see Use IMDSv2 with an Amazon Lightsail instance in the Amazon Lightsail Developer Guide.