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

com.faendir.awscdkkt.generated.services.ec2.InstanceDsl.kt Maven / Gradle / Ivy

There is a newer version: 2.167.1-1.0.1
Show newest version
package com.faendir.awscdkkt.generated.services.ec2

import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.ec2.Instance
import software.amazon.awscdk.services.ec2.InstanceProps
import software.constructs.Construct

@Generated
public fun Construct.instance(
  id: String,
  props: InstanceProps,
  initializer: @AwsCdkDsl Instance.() -> Unit = {},
): Instance = Instance(this, id, props).apply(initializer)

@Generated
public fun Construct.buildInstance(id: String, initializer: @AwsCdkDsl Instance.Builder.() -> Unit =
    {}): Instance = Instance.Builder.create(this, id).apply(initializer).build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy