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

com.pulumi.awsnative.iotanalytics.kotlin.outputs.DatastoreCustomerManagedS3.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.iotanalytics.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property bucket The name of the Amazon S3 bucket where your data is stored.
 * @property keyPrefix (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
 * @property roleArn The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
 */
public data class DatastoreCustomerManagedS3(
    public val bucket: String,
    public val keyPrefix: String? = null,
    public val roleArn: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotanalytics.outputs.DatastoreCustomerManagedS3): DatastoreCustomerManagedS3 = DatastoreCustomerManagedS3(
            bucket = javaType.bucket(),
            keyPrefix = javaType.keyPrefix().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy