asAwsEcrContainerAggregation
Casts this AggregationResponse as a AwsEcrContainerAggregation and retrieves its aws.sdk.kotlin.services.inspector2.model.AwsEcrContainerAggregationResponse value. Throws an exception if the AggregationResponse is not a AwsEcrContainerAggregation.