All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.datazone.model.ProvisioningProperties.kt Maven / Gradle / Ivy

There is a newer version: 1.3.76
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.datazone.model



/**
 * The provisioning properties of an environment blueprint.
 */
public sealed class ProvisioningProperties {
    /**
     * The cloud formation properties included as part of the provisioning properties of an environment blueprint.
     */
    public data class CloudFormation(val value: aws.sdk.kotlin.services.datazone.model.CloudFormationProperties) : aws.sdk.kotlin.services.datazone.model.ProvisioningProperties() {
    }

    public object SdkUnknown : aws.sdk.kotlin.services.datazone.model.ProvisioningProperties() {
    }

    /**
     * Casts this [ProvisioningProperties] as a [CloudFormation] and retrieves its [aws.sdk.kotlin.services.datazone.model.CloudFormationProperties] value. Throws an exception if the [ProvisioningProperties] is not a
     * [CloudFormation].
     */
    public fun asCloudFormation(): aws.sdk.kotlin.services.datazone.model.CloudFormationProperties = (this as ProvisioningProperties.CloudFormation).value

    /**
     * Casts this [ProvisioningProperties] as a [CloudFormation] and retrieves its [aws.sdk.kotlin.services.datazone.model.CloudFormationProperties] value. Returns null if the [ProvisioningProperties] is not a [CloudFormation].
     */
    public fun asCloudFormationOrNull(): aws.sdk.kotlin.services.datazone.model.CloudFormationProperties? = (this as? ProvisioningProperties.CloudFormation)?.value
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy