EndpointAccess

class EndpointAccess : KotlinCustomResource

Creates a new Amazon Redshift Serverless Endpoint Access.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.redshiftserverless.EndpointAccess("example", {
endpointName: "example",
workgroupName: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.redshiftserverless.EndpointAccess("example",
endpoint_name="example",
workgroup_name="example")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.RedshiftServerless.EndpointAccess("example", new()
{
EndpointName = "example",
WorkgroupName = "example",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/redshiftserverless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redshiftserverless.NewEndpointAccess(ctx, "example", &redshiftserverless.EndpointAccessArgs{
EndpointName: pulumi.String("example"),
WorkgroupName: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
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());
}
}
resources:
example:
type: aws:redshiftserverless:EndpointAccess
properties:
endpointName: example
workgroupName: example

Import

Using pulumi import, import Redshift Serverless Endpoint Access using the endpoint_name. For example:

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

Properties

Link copied to clipboard
val address: Output<String>

The DNS address of the VPC endpoint.

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.

Link copied to clipboard
val endpointName: Output<String>

The name of the endpoint.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ownerAccount: Output<String>?

The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.

Link copied to clipboard
val port: Output<Int>

The port that Amazon Redshift Serverless listens on.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val subnetIds: Output<List<String>>

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

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

The VPC endpoint or the Redshift Serverless workgroup. See VPC Endpoint below.

Link copied to clipboard

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

Link copied to clipboard
val workgroupName: Output<String>

The name of the workgroup.