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

com.pulumi.awsnative.ssm.kotlin.outputs.ResourceDataSyncS3Destination.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ssm.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property bucketName The name of the S3 bucket where the aggregated data is stored.
 * @property bucketPrefix An Amazon S3 prefix for the bucket.
 * @property bucketRegion The AWS Region with the S3 bucket targeted by the resource data sync.
 * @property kmsKeyArn The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
 * @property syncFormat A supported sync format. The following format is currently supported: JsonSerDe
 */
public data class ResourceDataSyncS3Destination(
    public val bucketName: String,
    public val bucketPrefix: String? = null,
    public val bucketRegion: String,
    public val kmsKeyArn: String? = null,
    public val syncFormat: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ssm.outputs.ResourceDataSyncS3Destination): ResourceDataSyncS3Destination = ResourceDataSyncS3Destination(
            bucketName = javaType.bucketName(),
            bucketPrefix = javaType.bucketPrefix().map({ args0 -> args0 }).orElse(null),
            bucketRegion = javaType.bucketRegion(),
            kmsKeyArn = javaType.kmsKeyArn().map({ args0 -> args0 }).orElse(null),
            syncFormat = javaType.syncFormat(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy