![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.medialive.kotlin.EventBridgeRuleTemplateGroup.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.medialive.kotlin
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.Map
/**
* Builder for [EventBridgeRuleTemplateGroup].
*/
@PulumiTagMarker
public class EventBridgeRuleTemplateGroupResourceBuilder internal constructor() {
public var name: String? = null
public var args: EventBridgeRuleTemplateGroupArgs = EventBridgeRuleTemplateGroupArgs()
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 EventBridgeRuleTemplateGroupArgsBuilder.() -> Unit) {
val builder = EventBridgeRuleTemplateGroupArgsBuilder()
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(): EventBridgeRuleTemplateGroup {
val builtJavaResource =
com.pulumi.awsnative.medialive.EventBridgeRuleTemplateGroup(
this.name,
this.args.toJava(),
this.opts.toJava(),
)
return EventBridgeRuleTemplateGroup(builtJavaResource)
}
}
/**
* Definition of AWS::MediaLive::EventBridgeRuleTemplateGroup Resource Type
*/
public class EventBridgeRuleTemplateGroup internal constructor(
override val javaResource: com.pulumi.awsnative.medialive.EventBridgeRuleTemplateGroup,
) : KotlinCustomResource(javaResource, EventBridgeRuleTemplateGroupMapper) {
/**
* An eventbridge rule template group's ARN (Amazon Resource Name)
*/
public val arn: Output
get() = javaResource.arn().applyValue({ args0 -> args0 })
/**
* An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`
*/
public val awsId: Output
get() = javaResource.awsId().applyValue({ args0 -> args0 })
/**
* The date and time of resource creation.
*/
public val createdAt: Output
get() = javaResource.createdAt().applyValue({ args0 -> args0 })
/**
* A resource's optional description.
*/
public val description: Output?
get() = javaResource.description().applyValue({ args0 ->
args0.map({ args0 ->
args0
}).orElse(null)
})
public val identifier: Output
get() = javaResource.identifier().applyValue({ args0 -> args0 })
/**
* The date and time of latest resource modification.
*/
public val modifiedAt: Output
get() = javaResource.modifiedAt().applyValue({ args0 -> args0 })
/**
* A resource's name. Names must be unique within the scope of a resource type in a specific region.
*/
public val name: Output
get() = javaResource.name().applyValue({ args0 -> args0 })
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy