![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.datazone.kotlin.EnvironmentBlueprintConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datazone.kotlin
import com.pulumi.awsnative.datazone.kotlin.outputs.EnvironmentBlueprintConfigurationRegionalParameter
import com.pulumi.awsnative.datazone.kotlin.outputs.EnvironmentBlueprintConfigurationRegionalParameter.Companion.toKotlin
import com.pulumi.core.Output
import com.pulumi.kotlin.KotlinCustomResource
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.ResourceMapper
import com.pulumi.kotlin.options.CustomResourceOptions
import com.pulumi.kotlin.options.CustomResourceOptionsBuilder
import com.pulumi.resources.Resource
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
/**
* Builder for [EnvironmentBlueprintConfiguration].
*/
@PulumiTagMarker
public class EnvironmentBlueprintConfigurationResourceBuilder internal constructor() {
public var name: String? = null
public var args: EnvironmentBlueprintConfigurationArgs = EnvironmentBlueprintConfigurationArgs()
public var opts: CustomResourceOptions = CustomResourceOptions()
/**
* @param name The _unique_ name of the resulting resource.
*/
public fun name(`value`: String) {
this.name = value
}
/**
* @param block The arguments to use to populate this resource's properties.
*/
public suspend fun args(block: suspend EnvironmentBlueprintConfigurationArgsBuilder.() -> Unit) {
val builder = EnvironmentBlueprintConfigurationArgsBuilder()
block(builder)
this.args = builder.build()
}
/**
* @param block A bag of options that control this resource's behavior.
*/
public suspend fun opts(block: suspend CustomResourceOptionsBuilder.() -> Unit) {
this.opts = com.pulumi.kotlin.options.CustomResourceOptions.opts(block)
}
internal fun build(): EnvironmentBlueprintConfiguration {
val builtJavaResource =
com.pulumi.awsnative.datazone.EnvironmentBlueprintConfiguration(
this.name,
this.args.toJava(),
this.opts.toJava(),
)
return EnvironmentBlueprintConfiguration(builtJavaResource)
}
}
/**
* Definition of AWS::DataZone::EnvironmentBlueprintConfiguration Resource Type
*/
public class EnvironmentBlueprintConfiguration internal constructor(
override val javaResource: com.pulumi.awsnative.datazone.EnvironmentBlueprintConfiguration,
) : KotlinCustomResource(javaResource, EnvironmentBlueprintConfigurationMapper) {
/**
* The timestamp of when an environment blueprint was created.
*/
public val createdAt: Output
get() = javaResource.createdAt().applyValue({ args0 -> args0 })
/**
* The identifier of the Amazon DataZone domain in which an environment blueprint exists.
*/
public val domainId: Output
get() = javaResource.domainId().applyValue({ args0 -> args0 })
/**
* The identifier of the Amazon DataZone domain in which an environment blueprint exists.
*/
public val domainIdentifier: Output
get() = javaResource.domainIdentifier().applyValue({ args0 -> args0 })
/**
* The enabled AWS Regions specified in a blueprint configuration.
*/
public val enabledRegions: Output>
get() = javaResource.enabledRegions().applyValue({ args0 -> args0.map({ args0 -> args0 }) })
/**
* The identifier of the environment blueprint. This identifier should be used when creating environment profiles.
*/
public val environmentBlueprintId: Output
get() = javaResource.environmentBlueprintId().applyValue({ args0 -> args0 })
/**
* The identifier of the environment blueprint.
* In the current release, only the following values are supported: `DefaultDataLake` and `DefaultDataWarehouse` .
*/
public val environmentBlueprintIdentifier: Output
get() = javaResource.environmentBlueprintIdentifier().applyValue({ args0 -> args0 })
/**
* The ARN of the manage access role.
*/
public val manageAccessRoleArn: Output?
get() = javaResource.manageAccessRoleArn().applyValue({ args0 ->
args0.map({ args0 ->
args0
}).orElse(null)
})
/**
* The ARN of the provisioning role.
*/
public val provisioningRoleArn: Output?
get() = javaResource.provisioningRoleArn().applyValue({ args0 ->
args0.map({ args0 ->
args0
}).orElse(null)
})
/**
* The regional parameters of the environment blueprint.
*/
public val regionalParameters: Output>?
get() = javaResource.regionalParameters().applyValue({ args0 ->
args0.map({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> toKotlin(args0) }) })
}).orElse(null)
})
/**
* The timestamp of when the environment blueprint was updated.
*/
public val updatedAt: Output
get() = javaResource.updatedAt().applyValue({ args0 -> args0 })
}
public object EnvironmentBlueprintConfigurationMapper :
ResourceMapper {
override fun supportsMappingOfType(javaResource: Resource): Boolean =
com.pulumi.awsnative.datazone.EnvironmentBlueprintConfiguration::class == javaResource::class
override fun map(javaResource: Resource): EnvironmentBlueprintConfiguration =
EnvironmentBlueprintConfiguration(
javaResource as
com.pulumi.awsnative.datazone.EnvironmentBlueprintConfiguration,
)
}
/**
* @see [EnvironmentBlueprintConfiguration].
* @param name The _unique_ name of the resulting resource.
* @param block Builder for [EnvironmentBlueprintConfiguration].
*/
public suspend fun environmentBlueprintConfiguration(
name: String,
block: suspend EnvironmentBlueprintConfigurationResourceBuilder.() -> Unit,
): EnvironmentBlueprintConfiguration {
val builder = EnvironmentBlueprintConfigurationResourceBuilder()
builder.name(name)
block(builder)
return builder.build()
}
/**
* @see [EnvironmentBlueprintConfiguration].
* @param name The _unique_ name of the resulting resource.
*/
public fun environmentBlueprintConfiguration(name: String): EnvironmentBlueprintConfiguration {
val builder = EnvironmentBlueprintConfigurationResourceBuilder()
builder.name(name)
return builder.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy