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

com.pulumi.awsnative.securitylake.kotlin.outputs.GetSubscriberResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.securitylake.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.securitylake.kotlin.enums.SubscriberAccessTypesItem
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property accessTypes You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.
 * Subscribers can consume data by directly querying AWS Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as `LAKEFORMATION` .
 * @property resourceShareArn The Amazon Resource Name (ARN) of the Amazon Security Lake subscriber.
 * @property resourceShareName The ARN name of the Amazon Security Lake subscriber.
 * @property s3BucketArn The Amazon Resource Name (ARN) of the S3 bucket.
 * @property sources The supported AWS services from which logs and events are collected.
 * @property subscriberArn The Amazon Resource Name (ARN) of the Security Lake subscriber.
 * @property subscriberDescription The description for your subscriber account in Security Lake.
 * @property subscriberIdentity The AWS identity used to access your data.
 * @property subscriberName The name of your Security Lake subscriber account.
 * @property subscriberRoleArn The Amazon Resource Name (ARN) of the role used to create the Security Lake subscriber.
 * @property tags An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.
 */
public data class GetSubscriberResult(
    public val accessTypes: List? = null,
    public val resourceShareArn: String? = null,
    public val resourceShareName: String? = null,
    public val s3BucketArn: String? = null,
    public val sources: List? = null,
    public val subscriberArn: String? = null,
    public val subscriberDescription: String? = null,
    public val subscriberIdentity: SubscriberIdentityProperties? = null,
    public val subscriberName: String? = null,
    public val subscriberRoleArn: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.securitylake.outputs.GetSubscriberResult): GetSubscriberResult = GetSubscriberResult(
            accessTypes = javaType.accessTypes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.securitylake.kotlin.enums.SubscriberAccessTypesItem.Companion.toKotlin(args0)
                })
            }),
            resourceShareArn = javaType.resourceShareArn().map({ args0 -> args0 }).orElse(null),
            resourceShareName = javaType.resourceShareName().map({ args0 -> args0 }).orElse(null),
            s3BucketArn = javaType.s3BucketArn().map({ args0 -> args0 }).orElse(null),
            sources = javaType.sources().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.securitylake.kotlin.outputs.SubscriberSource.Companion.toKotlin(args0)
                })
            }),
            subscriberArn = javaType.subscriberArn().map({ args0 -> args0 }).orElse(null),
            subscriberDescription = javaType.subscriberDescription().map({ args0 -> args0 }).orElse(null),
            subscriberIdentity = javaType.subscriberIdentity().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.securitylake.kotlin.outputs.SubscriberIdentityProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            subscriberName = javaType.subscriberName().map({ args0 -> args0 }).orElse(null),
            subscriberRoleArn = javaType.subscriberRoleArn().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy