asCodeConfiguration
Casts this AgentRuntimeArtifact as a CodeConfiguration and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.CodeConfiguration value. Throws an exception if the AgentRuntimeArtifact is not a CodeConfiguration.