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

com.pulumi.awsnative.backup.kotlin.outputs.ReportDeliveryChannelProperties.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.backup.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A structure that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
 * @property formats A list of the format of your reports: CSV, JSON, or both. If not specified, the default format is CSV.
 * @property s3BucketName The unique name of the S3 bucket that receives your reports.
 * @property s3KeyPrefix The prefix for where AWS Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.
 */
public data class ReportDeliveryChannelProperties(
    public val formats: List? = null,
    public val s3BucketName: String,
    public val s3KeyPrefix: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.backup.outputs.ReportDeliveryChannelProperties): ReportDeliveryChannelProperties = ReportDeliveryChannelProperties(
            formats = javaType.formats().map({ args0 -> args0 }),
            s3BucketName = javaType.s3BucketName(),
            s3KeyPrefix = javaType.s3KeyPrefix().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy