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

com.pulumi.awsnative.apigateway.kotlin.outputs.DeploymentAccessLogSetting.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.apigateway.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * The ``AccessLogSetting`` property type specifies settings for logging access in this stage.
 *   ``AccessLogSetting`` is a property of the [StageDescription](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html) property type.
 * @property destinationArn The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with ``amazon-apigateway-``.
 * @property format A single line format of the access logs of data, as specified by selected $context variables. The format must include at least ``$context.requestId``.
 */
public data class DeploymentAccessLogSetting(
    public val destinationArn: String? = null,
    public val format: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.apigateway.outputs.DeploymentAccessLogSetting): DeploymentAccessLogSetting = DeploymentAccessLogSetting(
            destinationArn = javaType.destinationArn().map({ args0 -> args0 }).orElse(null),
            format = javaType.format().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy