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

com.pulumi.awsnative.datasync.kotlin.outputs.TaskReportConfigDestinationS3.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.datasync.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Specifies the Amazon S3 bucket where DataSync uploads your task report.
 * @property bucketAccessRoleArn Specifies the Amazon Resource Name (ARN) of the IAM policy that allows Datasync to upload a task report to your S3 bucket.
 * @property s3BucketArn Specifies the ARN of the S3 bucket where Datasync uploads your report.
 * @property subdirectory Specifies a bucket prefix for your report.
 */
public data class TaskReportConfigDestinationS3(
    public val bucketAccessRoleArn: String? = null,
    public val s3BucketArn: String? = null,
    public val subdirectory: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.datasync.outputs.TaskReportConfigDestinationS3): TaskReportConfigDestinationS3 = TaskReportConfigDestinationS3(
            bucketAccessRoleArn = javaType.bucketAccessRoleArn().map({ args0 -> args0 }).orElse(null),
            s3BucketArn = javaType.s3BucketArn().map({ args0 -> args0 }).orElse(null),
            subdirectory = javaType.subdirectory().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy