
com.pulumi.awsnative.securitylake.kotlin.inputs.SubscriberNotificationHttpsNotificationConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.securitylake.kotlin.inputs
import com.pulumi.awsnative.securitylake.inputs.SubscriberNotificationHttpsNotificationConfigurationArgs.builder
import com.pulumi.awsnative.securitylake.kotlin.enums.SubscriberNotificationHttpsNotificationConfigurationHttpMethod
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The configuration for HTTPS subscriber notification.
* @property authorizationApiKeyName The key name for the notification subscription.
* @property authorizationApiKeyValue The key value for the notification subscription.
* @property endpoint The subscription endpoint in Security Lake.
* @property httpMethod The HTTPS method used for the notification subscription.
* @property targetRoleArn The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
*/
public data class SubscriberNotificationHttpsNotificationConfigurationArgs(
public val authorizationApiKeyName: Output? = null,
public val authorizationApiKeyValue: Output? = null,
public val endpoint: Output,
public val httpMethod: Output? =
null,
public val targetRoleArn: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.securitylake.inputs.SubscriberNotificationHttpsNotificationConfigurationArgs =
com.pulumi.awsnative.securitylake.inputs.SubscriberNotificationHttpsNotificationConfigurationArgs.builder()
.authorizationApiKeyName(authorizationApiKeyName?.applyValue({ args0 -> args0 }))
.authorizationApiKeyValue(authorizationApiKeyValue?.applyValue({ args0 -> args0 }))
.endpoint(endpoint.applyValue({ args0 -> args0 }))
.httpMethod(httpMethod?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.targetRoleArn(targetRoleArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SubscriberNotificationHttpsNotificationConfigurationArgs].
*/
@PulumiTagMarker
public class SubscriberNotificationHttpsNotificationConfigurationArgsBuilder internal constructor() {
private var authorizationApiKeyName: Output? = null
private var authorizationApiKeyValue: Output? = null
private var endpoint: Output? = null
private var httpMethod: Output? =
null
private var targetRoleArn: Output? = null
/**
* @param value The key name for the notification subscription.
*/
@JvmName("ngakxqjaulcxfbcj")
public suspend fun authorizationApiKeyName(`value`: Output) {
this.authorizationApiKeyName = value
}
/**
* @param value The key value for the notification subscription.
*/
@JvmName("doonjegtoqmrhxxi")
public suspend fun authorizationApiKeyValue(`value`: Output) {
this.authorizationApiKeyValue = value
}
/**
* @param value The subscription endpoint in Security Lake.
*/
@JvmName("xvhsqerydmepuqtt")
public suspend fun endpoint(`value`: Output) {
this.endpoint = value
}
/**
* @param value The HTTPS method used for the notification subscription.
*/
@JvmName("xdkdqcxplejnlevt")
public suspend fun httpMethod(`value`: Output) {
this.httpMethod = value
}
/**
* @param value The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
*/
@JvmName("qmgjfhrxyiseatof")
public suspend fun targetRoleArn(`value`: Output) {
this.targetRoleArn = value
}
/**
* @param value The key name for the notification subscription.
*/
@JvmName("umtbcjfcogojpcje")
public suspend fun authorizationApiKeyName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authorizationApiKeyName = mapped
}
/**
* @param value The key value for the notification subscription.
*/
@JvmName("rcbiniwrtteeqsno")
public suspend fun authorizationApiKeyValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authorizationApiKeyValue = mapped
}
/**
* @param value The subscription endpoint in Security Lake.
*/
@JvmName("bsiumuwogmxrvsjn")
public suspend fun endpoint(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.endpoint = mapped
}
/**
* @param value The HTTPS method used for the notification subscription.
*/
@JvmName("rntfiivbxuewbnhh")
public suspend fun httpMethod(`value`: SubscriberNotificationHttpsNotificationConfigurationHttpMethod?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.httpMethod = mapped
}
/**
* @param value The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
*/
@JvmName("ealbxblwepxhfxfr")
public suspend fun targetRoleArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.targetRoleArn = mapped
}
internal fun build(): SubscriberNotificationHttpsNotificationConfigurationArgs =
SubscriberNotificationHttpsNotificationConfigurationArgs(
authorizationApiKeyName = authorizationApiKeyName,
authorizationApiKeyValue = authorizationApiKeyValue,
endpoint = endpoint ?: throw PulumiNullFieldException("endpoint"),
httpMethod = httpMethod,
targetRoleArn = targetRoleArn ?: throw PulumiNullFieldException("targetRoleArn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy