Endpoint Access Args
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());
}
}
Content copied to clipboard
Import
Redshift endpoint access can be imported using the name
, e.g.,
$ pulumi import aws:redshift/endpointAccess:EndpointAccess example example
Content copied to clipboard
Constructors
Properties
Link copied to clipboard
The cluster identifier of the cluster to access.
Link copied to clipboard
The Redshift-managed VPC endpoint name.
Link copied to clipboard
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
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
Link copied to clipboard
The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.