
com.pulumi.awsnative.osis.kotlin.outputs.PipelineVpcOptions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.osis.kotlin.outputs
import com.pulumi.awsnative.osis.kotlin.enums.PipelineVpcOptionsVpcEndpointManagement
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Container for the values required to configure VPC access for the pipeline. If you don't specify these values, OpenSearch Ingestion Service creates the pipeline with a public endpoint.
* @property securityGroupIds A list of security groups associated with the VPC endpoint.
* @property subnetIds A list of subnet IDs associated with the VPC endpoint.
* @property vpcAttachmentOptions Options for attaching a VPC to the pipeline.
* @property vpcEndpointManagement Defines whether you or Amazon OpenSearch Ingestion service create and manage the VPC endpoint configured for the pipeline.
*/
public data class PipelineVpcOptions(
public val securityGroupIds: List? = null,
public val subnetIds: List,
public val vpcAttachmentOptions: PipelineVpcOptionsVpcAttachmentOptionsProperties? = null,
public val vpcEndpointManagement: PipelineVpcOptionsVpcEndpointManagement? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.osis.outputs.PipelineVpcOptions): PipelineVpcOptions = PipelineVpcOptions(
securityGroupIds = javaType.securityGroupIds().map({ args0 -> args0 }),
subnetIds = javaType.subnetIds().map({ args0 -> args0 }),
vpcAttachmentOptions = javaType.vpcAttachmentOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.osis.kotlin.outputs.PipelineVpcOptionsVpcAttachmentOptionsProperties.Companion.toKotlin(args0)
})
}).orElse(null),
vpcEndpointManagement = javaType.vpcEndpointManagement().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.osis.kotlin.enums.PipelineVpcOptionsVpcEndpointManagement.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy