com.pulumi.awsnative.shield.kotlin.DrtAccessArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.shield.kotlin
import com.pulumi.awsnative.shield.DrtAccessArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Config the role and list of Amazon S3 log buckets used by the Shield Response Team (SRT) to access your AWS account while assisting with attack mitigation.
* @property logBucketList Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription.
* @property roleArn Authorizes the Shield Response Team (SRT) using the specified role, to access your AWS account to assist with DDoS attack mitigation during potential attacks. This enables the SRT to inspect your AWS WAF configuration and create or update AWS WAF rules and web ACLs.
*/
public data class DrtAccessArgs(
public val logBucketList: Output>? = null,
public val roleArn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.shield.DrtAccessArgs =
com.pulumi.awsnative.shield.DrtAccessArgs.builder()
.logBucketList(logBucketList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.roleArn(roleArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DrtAccessArgs].
*/
@PulumiTagMarker
public class DrtAccessArgsBuilder internal constructor() {
private var logBucketList: Output>? = null
private var roleArn: Output? = null
/**
* @param value Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription.
*/
@JvmName("qvtdgfgcjydgicwd")
public suspend fun logBucketList(`value`: Output>) {
this.logBucketList = value
}
@JvmName("tssbivngseibadnh")
public suspend fun logBucketList(vararg values: Output) {
this.logBucketList = Output.all(values.asList())
}
/**
* @param values Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription.
*/
@JvmName("rxdjpstyjqmarlxh")
public suspend fun logBucketList(values: List