EndpointAccessArgs

data class EndpointAccessArgs(val clusterIdentifier: Output<String>? = null, val endpointName: Output<String>? = null, val resourceOwner: Output<String>? = null, val subnetGroupName: Output<String>? = null, val vpcSecurityGroupIds: Output<List<String>>? = null) : ConvertibleToJava<EndpointAccessArgs>

Creates a new Amazon Redshift endpoint access.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.redshift.EndpointAccess;
import com.pulumi.aws.redshift.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")
.subnetGroupName(aws_redshift_subnet_group.example().id())
.clusterIdentifier(aws_redshift_cluster.example().cluster_identifier())
.build());
}
}

Import

Redshift endpoint access can be imported using the name, e.g.,

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

Constructors

Link copied to clipboard
constructor(clusterIdentifier: Output<String>? = null, endpointName: Output<String>? = null, resourceOwner: Output<String>? = null, subnetGroupName: Output<String>? = null, vpcSecurityGroupIds: Output<List<String>>? = null)

Properties

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

The cluster identifier of the cluster to access.

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

The Redshift-managed VPC endpoint name.

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

The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in another Amazon Web Services account.

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

The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.

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

The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

Functions

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