deleteInfrastructureConfiguration
inline suspend fun ImagebuilderClient.deleteInfrastructureConfiguration(crossinline block: DeleteInfrastructureConfigurationRequest.Builder.() -> Unit): DeleteInfrastructureConfigurationResponse
Deletes an infrastructure configuration. You can't delete a configuration that an image pipeline still references. The request fails with ResourceDependencyException. Update or delete the referencing pipelines first.
Samples
// The following example deletes the infrastructure configuration with the specified ARN.
val resp = imagebuilderClient.deleteInfrastructureConfiguration {
infrastructureConfigurationArn = "arn:aws:imagebuilder:us-west-2:111122223333:infrastructure-configuration/my-example-infrastructure"
}Content copied to clipboard