asSecretsManagerSecret
Casts this Configuration as a SecretsManagerSecret and retrieves its aws.sdk.kotlin.services.accessanalyzer.model.SecretsManagerSecretConfiguration value. Throws an exception if the Configuration is not a SecretsManagerSecret.