com.pulumi.gcp.storage.kotlin.outputs.TransferJobTransferSpecAwsS3DataSource.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.storage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property awsAccessKey AWS credentials block.
* @property bucketName S3 Bucket name.
* @property path S3 Bucket path in bucket to transfer.
* @property roleArn The Amazon Resource Name (ARN) of the role to support temporary credentials via 'AssumeRoleWithWebIdentity'. For more information about ARNs, see [IAM ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). When a role ARN is provided, Transfer Service fetches temporary credentials for the session using a 'AssumeRoleWithWebIdentity' call for the provided role using the [GoogleServiceAccount][] for this project.
*/
public data class TransferJobTransferSpecAwsS3DataSource(
public val awsAccessKey: TransferJobTransferSpecAwsS3DataSourceAwsAccessKey? = null,
public val bucketName: String,
public val path: String? = null,
public val roleArn: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.storage.outputs.TransferJobTransferSpecAwsS3DataSource): TransferJobTransferSpecAwsS3DataSource = TransferJobTransferSpecAwsS3DataSource(
awsAccessKey = javaType.awsAccessKey().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.storage.kotlin.outputs.TransferJobTransferSpecAwsS3DataSourceAwsAccessKey.Companion.toKotlin(args0)
})
}).orElse(null),
bucketName = javaType.bucketName(),
path = javaType.path().map({ args0 -> args0 }).orElse(null),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy