
com.pulumi.awsnative.transfer.kotlin.outputs.GetConnectorResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.transfer.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property accessRole Specifies the access role for the connector.
* @property arn Specifies the unique Amazon Resource Name (ARN) for the connector.
* @property as2Config Configuration for an AS2 connector.
* @property connectorId A unique identifier for the connector.
* @property loggingRole Specifies the logging role for the connector.
* @property securityPolicyName Security policy for SFTP Connector
* @property serviceManagedEgressIpAddresses The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you create the connector.
* @property sftpConfig Configuration for an SFTP connector.
* @property tags Key-value pairs that can be used to group and search for connectors. Tags are metadata attached to connectors for any purpose.
* @property url URL for Connector
*/
public data class GetConnectorResult(
public val accessRole: String? = null,
public val arn: String? = null,
public val as2Config: As2ConfigProperties? = null,
public val connectorId: String? = null,
public val loggingRole: String? = null,
public val securityPolicyName: String? = null,
public val serviceManagedEgressIpAddresses: List? = null,
public val sftpConfig: SftpConfigProperties? = null,
public val tags: List? = null,
public val url: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.transfer.outputs.GetConnectorResult): GetConnectorResult = GetConnectorResult(
accessRole = javaType.accessRole().map({ args0 -> args0 }).orElse(null),
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
as2Config = javaType.as2Config().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.transfer.kotlin.outputs.As2ConfigProperties.Companion.toKotlin(args0)
})
}).orElse(null),
connectorId = javaType.connectorId().map({ args0 -> args0 }).orElse(null),
loggingRole = javaType.loggingRole().map({ args0 -> args0 }).orElse(null),
securityPolicyName = javaType.securityPolicyName().map({ args0 -> args0 }).orElse(null),
serviceManagedEgressIpAddresses = javaType.serviceManagedEgressIpAddresses().map({ args0 ->
args0
}),
sftpConfig = javaType.sftpConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.transfer.kotlin.outputs.SftpConfigProperties.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
url = javaType.url().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy