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

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>) {
        this.logBucketList = Output.all(values)
    }

    /**
     * @param value 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.
     */
    @JvmName("qqmkjkuxkgrrrjam")
    public suspend fun roleArn(`value`: Output) {
        this.roleArn = value
    }

    /**
     * @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("arefbhanyrhsulba")
    public suspend fun logBucketList(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.logBucketList = mapped
    }

    /**
     * @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("rimvqnqijuubqesl")
    public suspend fun logBucketList(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.logBucketList = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("vljqufqgqyglinty")
    public suspend fun roleArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleArn = mapped
    }

    internal fun build(): DrtAccessArgs = DrtAccessArgs(
        logBucketList = logBucketList,
        roleArn = roleArn,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy