EndpointAccessArgs

data class EndpointAccessArgs(val endpointName: Output<String>? = null, val subnetIds: Output<List<String>>? = null, val vpcSecurityGroupIds: Output<List<String>>? = null, val workgroupName: Output<String>? = null) : ConvertibleToJava<EndpointAccessArgs>

Creates a new Amazon Redshift Serverless Endpoint Access.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.redshiftserverless.EndpointAccess;
import com.pulumi.aws.redshiftserverless.EndpointAccessArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new EndpointAccess("example", EndpointAccessArgs.builder()
.endpointName("example")
.workgroupName("example")
.build());
}
}

Import

Redshift Serverless Endpoint Access can be imported using the endpoint_name, e.g.,

$ pulumi import aws:redshiftserverless/endpointAccess:EndpointAccess example example

Constructors

Link copied to clipboard
constructor(endpointName: Output<String>? = null, subnetIds: Output<List<String>>? = null, vpcSecurityGroupIds: Output<List<String>>? = null, workgroupName: Output<String>? = null)

Properties

Link copied to clipboard
val endpointName: Output<String>? = null

The name of the endpoint.

Link copied to clipboard
val subnetIds: Output<List<String>>? = null

An array of VPC subnet IDs to associate with the endpoint.

Link copied to clipboard
val vpcSecurityGroupIds: Output<List<String>>? = null

An array of security group IDs to associate with the workgroup.

Link copied to clipboard
val workgroupName: Output<String>? = null

The name of the workgroup.

Functions

Link copied to clipboard
open override fun toJava(): EndpointAccessArgs