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

com.pulumi.awsnative.cloudtrail.kotlin.outputs.GetEventDataStoreResult.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.cloudtrail.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property advancedEventSelectors The advanced event selectors that were used to select events for the data store.
 * @property billingMode The mode that the event data store will use to charge for event storage.
 * @property createdTimestamp The timestamp of the event data store's creation.
 * @property eventDataStoreArn The ARN of the event data store.
 * @property federationEnabled Indicates whether federation is enabled on an event data store.
 * @property federationRoleArn The ARN of the role used for event data store federation.
 * @property ingestionEnabled Indicates whether the event data store is ingesting events.
 * @property insightSelectors Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing event data store. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store.
 * @property insightsDestination Specifies the ARN of the event data store that will collect Insights events. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store
 * @property kmsKeyId Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
 * @property multiRegionEnabled Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
 * @property name The name of the event data store.
 * @property organizationEnabled Indicates that an event data store is collecting logged events for an organization.
 * @property retentionPeriod The retention period, in days.
 * @property status The status of an event data store. Values are STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
 * @property tags A list of tags.
 * @property terminationProtectionEnabled Indicates whether the event data store is protected from termination.
 * @property updatedTimestamp The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
 */
public data class GetEventDataStoreResult(
    public val advancedEventSelectors: List? = null,
    public val billingMode: String? = null,
    public val createdTimestamp: String? = null,
    public val eventDataStoreArn: String? = null,
    public val federationEnabled: Boolean? = null,
    public val federationRoleArn: String? = null,
    public val ingestionEnabled: Boolean? = null,
    public val insightSelectors: List? = null,
    public val insightsDestination: String? = null,
    public val kmsKeyId: String? = null,
    public val multiRegionEnabled: Boolean? = null,
    public val name: String? = null,
    public val organizationEnabled: Boolean? = null,
    public val retentionPeriod: Int? = null,
    public val status: String? = null,
    public val tags: List? = null,
    public val terminationProtectionEnabled: Boolean? = null,
    public val updatedTimestamp: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cloudtrail.outputs.GetEventDataStoreResult): GetEventDataStoreResult = GetEventDataStoreResult(
            advancedEventSelectors = javaType.advancedEventSelectors().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudtrail.kotlin.outputs.EventDataStoreAdvancedEventSelector.Companion.toKotlin(args0)
                })
            }),
            billingMode = javaType.billingMode().map({ args0 -> args0 }).orElse(null),
            createdTimestamp = javaType.createdTimestamp().map({ args0 -> args0 }).orElse(null),
            eventDataStoreArn = javaType.eventDataStoreArn().map({ args0 -> args0 }).orElse(null),
            federationEnabled = javaType.federationEnabled().map({ args0 -> args0 }).orElse(null),
            federationRoleArn = javaType.federationRoleArn().map({ args0 -> args0 }).orElse(null),
            ingestionEnabled = javaType.ingestionEnabled().map({ args0 -> args0 }).orElse(null),
            insightSelectors = javaType.insightSelectors().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudtrail.kotlin.outputs.EventDataStoreInsightSelector.Companion.toKotlin(args0)
                })
            }),
            insightsDestination = javaType.insightsDestination().map({ args0 -> args0 }).orElse(null),
            kmsKeyId = javaType.kmsKeyId().map({ args0 -> args0 }).orElse(null),
            multiRegionEnabled = javaType.multiRegionEnabled().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            organizationEnabled = javaType.organizationEnabled().map({ args0 -> args0 }).orElse(null),
            retentionPeriod = javaType.retentionPeriod().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            terminationProtectionEnabled = javaType.terminationProtectionEnabled().map({ args0 ->
                args0
            }).orElse(null),
            updatedTimestamp = javaType.updatedTimestamp().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy