asMcpservernewrelic
Casts this ServiceConfiguration as a Mcpservernewrelic and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerNewRelicConfiguration value. Throws an exception if the ServiceConfiguration is not a Mcpservernewrelic.