com.faendir.awscdkkt.generated.services.imagebuilder.CfnComponentDsl.kt Maven / Gradle / Ivy
package com.faendir.awscdkkt.generated.services.imagebuilder
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.imagebuilder.CfnComponent
import software.amazon.awscdk.services.imagebuilder.CfnComponentProps
import software.constructs.Construct
@Generated
public fun Construct.cfnComponent(
id: String,
props: CfnComponentProps,
initializer: @AwsCdkDsl CfnComponent.() -> Unit = {},
): CfnComponent = CfnComponent(this, id, props).apply(initializer)
@Generated
public fun Construct.buildCfnComponent(id: String, initializer: @AwsCdkDsl
CfnComponent.Builder.() -> Unit = {}): CfnComponent = CfnComponent.Builder.create(this,
id).apply(initializer).build()