asCustomHeadersOrNull
Casts this McpServerAuthorizationConfig as a CustomHeaders and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerCustomHeadersConfig value. Returns null if the McpServerAuthorizationConfig is not a CustomHeaders.