![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.redshiftserverless.kotlin.outputs.GetNamespaceResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.redshiftserverless.kotlin.outputs
import com.pulumi.awsnative.redshiftserverless.kotlin.enums.NamespaceLogExport
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property adminPasswordSecretKmsKeyId The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
* @property adminUsername The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
* @property dbName The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet.
* @property defaultIamRoleArn The default IAM role ARN for the namespace that is being created.
* @property iamRoles A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10.
* @property kmsKeyId The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace.
* @property logExports The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog
* @property namespace Definition of Namespace resource.
* @property namespaceResourcePolicy The resource policy document that will be attached to the namespace.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::RedshiftServerless::Namespace` for more information about the expected schema for this property.
* @property snapshotCopyConfigurations The snapshot copy configurations for the namespace.
*/
public data class GetNamespaceResult(
public val adminPasswordSecretKmsKeyId: String? = null,
public val adminUsername: String? = null,
public val dbName: String? = null,
public val defaultIamRoleArn: String? = null,
public val iamRoles: List? = null,
public val kmsKeyId: String? = null,
public val logExports: List? = null,
public val namespace: Namespace? = null,
public val namespaceResourcePolicy: Any? = null,
public val snapshotCopyConfigurations: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.redshiftserverless.outputs.GetNamespaceResult): GetNamespaceResult = GetNamespaceResult(
adminPasswordSecretKmsKeyId = javaType.adminPasswordSecretKmsKeyId().map({ args0 ->
args0
}).orElse(null),
adminUsername = javaType.adminUsername().map({ args0 -> args0 }).orElse(null),
dbName = javaType.dbName().map({ args0 -> args0 }).orElse(null),
defaultIamRoleArn = javaType.defaultIamRoleArn().map({ args0 -> args0 }).orElse(null),
iamRoles = javaType.iamRoles().map({ args0 -> args0 }),
kmsKeyId = javaType.kmsKeyId().map({ args0 -> args0 }).orElse(null),
logExports = javaType.logExports().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.redshiftserverless.kotlin.enums.NamespaceLogExport.Companion.toKotlin(args0)
})
}),
namespace = javaType.namespace().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.redshiftserverless.kotlin.outputs.Namespace.Companion.toKotlin(args0)
})
}).orElse(null),
namespaceResourcePolicy = javaType.namespaceResourcePolicy().map({ args0 -> args0 }).orElse(null),
snapshotCopyConfigurations = javaType.snapshotCopyConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.redshiftserverless.kotlin.outputs.NamespaceSnapshotCopyConfiguration.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy