Try AWS Native preview for resources not in the classic version.
aws.redshiftserverless.EndpointAccess
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Creates a new Amazon Redshift Serverless Endpoint Access.
Example Usage
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());
}
}
import pulumi
import pulumi_aws as aws
example = aws.redshiftserverless.EndpointAccess("example",
endpoint_name="example",
workgroup_name="example")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.redshiftserverless.EndpointAccess("example", {
endpointName: "example",
workgroupName: "example",
});
resources:
example:
type: aws:redshiftserverless:EndpointAccess
properties:
endpointName: example
workgroupName: example
Create EndpointAccess Resource
new EndpointAccess(name: string, args: EndpointAccessArgs, opts?: CustomResourceOptions);
@overload
def EndpointAccess(resource_name: str,
opts: Optional[ResourceOptions] = None,
endpoint_name: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
vpc_security_group_ids: Optional[Sequence[str]] = None,
workgroup_name: Optional[str] = None)
@overload
def EndpointAccess(resource_name: str,
args: EndpointAccessArgs,
opts: Optional[ResourceOptions] = None)
func NewEndpointAccess(ctx *Context, name string, args EndpointAccessArgs, opts ...ResourceOption) (*EndpointAccess, error)
public EndpointAccess(string name, EndpointAccessArgs args, CustomResourceOptions? opts = null)
public EndpointAccess(String name, EndpointAccessArgs args)
public EndpointAccess(String name, EndpointAccessArgs args, CustomResourceOptions options)
type: aws:redshiftserverless:EndpointAccess
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointAccessArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EndpointAccessArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EndpointAccessArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointAccessArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointAccessArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EndpointAccess Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EndpointAccess resource accepts the following input properties:
- Endpoint
Name string The name of the endpoint.
- Subnet
Ids List<string> An array of VPC subnet IDs to associate with the endpoint.
- Workgroup
Name string The name of the workgroup.
- Vpc
Security List<string>Group Ids An array of security group IDs to associate with the workgroup.
- Endpoint
Name string The name of the endpoint.
- Subnet
Ids []string An array of VPC subnet IDs to associate with the endpoint.
- Workgroup
Name string The name of the workgroup.
- Vpc
Security []stringGroup Ids An array of security group IDs to associate with the workgroup.
- endpoint
Name String The name of the endpoint.
- subnet
Ids List<String> An array of VPC subnet IDs to associate with the endpoint.
- workgroup
Name String The name of the workgroup.
- vpc
Security List<String>Group Ids An array of security group IDs to associate with the workgroup.
- endpoint
Name string The name of the endpoint.
- subnet
Ids string[] An array of VPC subnet IDs to associate with the endpoint.
- workgroup
Name string The name of the workgroup.
- vpc
Security string[]Group Ids An array of security group IDs to associate with the workgroup.
- endpoint_
name str The name of the endpoint.
- subnet_
ids Sequence[str] An array of VPC subnet IDs to associate with the endpoint.
- workgroup_
name str The name of the workgroup.
- vpc_
security_ Sequence[str]group_ ids An array of security group IDs to associate with the workgroup.
- endpoint
Name String The name of the endpoint.
- subnet
Ids List<String> An array of VPC subnet IDs to associate with the endpoint.
- workgroup
Name String The name of the workgroup.
- vpc
Security List<String>Group Ids An array of security group IDs to associate with the workgroup.
Outputs
All input properties are implicitly available as output properties. Additionally, the EndpointAccess resource produces the following output properties:
- Address string
The DNS address of the VPC endpoint.
- Arn string
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- Id string
The provider-assigned unique ID for this managed resource.
- Port int
The port that Amazon Redshift Serverless listens on.
- Vpc
Endpoints List<EndpointAccess Vpc Endpoint> The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
- Address string
The DNS address of the VPC endpoint.
- Arn string
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- Id string
The provider-assigned unique ID for this managed resource.
- Port int
The port that Amazon Redshift Serverless listens on.
- Vpc
Endpoints []EndpointAccess Vpc Endpoint The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
- address String
The DNS address of the VPC endpoint.
- arn String
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- id String
The provider-assigned unique ID for this managed resource.
- port Integer
The port that Amazon Redshift Serverless listens on.
- vpc
Endpoints List<EndpointAccess Vpc Endpoint> The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
- address string
The DNS address of the VPC endpoint.
- arn string
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- id string
The provider-assigned unique ID for this managed resource.
- port number
The port that Amazon Redshift Serverless listens on.
- vpc
Endpoints EndpointAccess Vpc Endpoint[] The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
- address str
The DNS address of the VPC endpoint.
- arn str
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- id str
The provider-assigned unique ID for this managed resource.
- port int
The port that Amazon Redshift Serverless listens on.
- vpc_
endpoints Sequence[EndpointAccess Vpc Endpoint] The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
- address String
The DNS address of the VPC endpoint.
- arn String
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- id String
The provider-assigned unique ID for this managed resource.
- port Number
The port that Amazon Redshift Serverless listens on.
- vpc
Endpoints List<Property Map> The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
Look up Existing EndpointAccess Resource
Get an existing EndpointAccess resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EndpointAccessState, opts?: CustomResourceOptions): EndpointAccess
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
arn: Optional[str] = None,
endpoint_name: Optional[str] = None,
port: Optional[int] = None,
subnet_ids: Optional[Sequence[str]] = None,
vpc_endpoints: Optional[Sequence[EndpointAccessVpcEndpointArgs]] = None,
vpc_security_group_ids: Optional[Sequence[str]] = None,
workgroup_name: Optional[str] = None) -> EndpointAccess
func GetEndpointAccess(ctx *Context, name string, id IDInput, state *EndpointAccessState, opts ...ResourceOption) (*EndpointAccess, error)
public static EndpointAccess Get(string name, Input<string> id, EndpointAccessState? state, CustomResourceOptions? opts = null)
public static EndpointAccess get(String name, Output<String> id, EndpointAccessState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Address string
The DNS address of the VPC endpoint.
- Arn string
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- Endpoint
Name string The name of the endpoint.
- Port int
The port that Amazon Redshift Serverless listens on.
- Subnet
Ids List<string> An array of VPC subnet IDs to associate with the endpoint.
- Vpc
Endpoints List<EndpointAccess Vpc Endpoint> The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.- Vpc
Security List<string>Group Ids An array of security group IDs to associate with the workgroup.
- Workgroup
Name string The name of the workgroup.
- Address string
The DNS address of the VPC endpoint.
- Arn string
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- Endpoint
Name string The name of the endpoint.
- Port int
The port that Amazon Redshift Serverless listens on.
- Subnet
Ids []string An array of VPC subnet IDs to associate with the endpoint.
- Vpc
Endpoints []EndpointAccess Vpc Endpoint Args The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.- Vpc
Security []stringGroup Ids An array of security group IDs to associate with the workgroup.
- Workgroup
Name string The name of the workgroup.
- address String
The DNS address of the VPC endpoint.
- arn String
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- endpoint
Name String The name of the endpoint.
- port Integer
The port that Amazon Redshift Serverless listens on.
- subnet
Ids List<String> An array of VPC subnet IDs to associate with the endpoint.
- vpc
Endpoints List<EndpointAccess Vpc Endpoint> The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.- vpc
Security List<String>Group Ids An array of security group IDs to associate with the workgroup.
- workgroup
Name String The name of the workgroup.
- address string
The DNS address of the VPC endpoint.
- arn string
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- endpoint
Name string The name of the endpoint.
- port number
The port that Amazon Redshift Serverless listens on.
- subnet
Ids string[] An array of VPC subnet IDs to associate with the endpoint.
- vpc
Endpoints EndpointAccess Vpc Endpoint[] The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.- vpc
Security string[]Group Ids An array of security group IDs to associate with the workgroup.
- workgroup
Name string The name of the workgroup.
- address str
The DNS address of the VPC endpoint.
- arn str
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- endpoint_
name str The name of the endpoint.
- port int
The port that Amazon Redshift Serverless listens on.
- subnet_
ids Sequence[str] An array of VPC subnet IDs to associate with the endpoint.
- vpc_
endpoints Sequence[EndpointAccess Vpc Endpoint Args] The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.- vpc_
security_ Sequence[str]group_ ids An array of security group IDs to associate with the workgroup.
- workgroup_
name str The name of the workgroup.
- address String
The DNS address of the VPC endpoint.
- arn String
Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
- endpoint
Name String The name of the endpoint.
- port Number
The port that Amazon Redshift Serverless listens on.
- subnet
Ids List<String> An array of VPC subnet IDs to associate with the endpoint.
- vpc
Endpoints List<Property Map> The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.- vpc
Security List<String>Group Ids An array of security group IDs to associate with the workgroup.
- workgroup
Name String The name of the workgroup.
Supporting Types
EndpointAccessVpcEndpoint, EndpointAccessVpcEndpointArgs
- Network
Interfaces List<EndpointAccess Vpc Endpoint Network Interface> The network interfaces of the endpoint.. See
Network Interface
below.- Vpc
Endpoint stringId The DNS address of the VPC endpoint.
- Vpc
Id string The port that Amazon Redshift Serverless listens on.
- Network
Interfaces []EndpointAccess Vpc Endpoint Network Interface The network interfaces of the endpoint.. See
Network Interface
below.- Vpc
Endpoint stringId The DNS address of the VPC endpoint.
- Vpc
Id string The port that Amazon Redshift Serverless listens on.
- network
Interfaces List<EndpointAccess Vpc Endpoint Network Interface> The network interfaces of the endpoint.. See
Network Interface
below.- vpc
Endpoint StringId The DNS address of the VPC endpoint.
- vpc
Id String The port that Amazon Redshift Serverless listens on.
- network
Interfaces EndpointAccess Vpc Endpoint Network Interface[] The network interfaces of the endpoint.. See
Network Interface
below.- vpc
Endpoint stringId The DNS address of the VPC endpoint.
- vpc
Id string The port that Amazon Redshift Serverless listens on.
- network_
interfaces Sequence[EndpointAccess Vpc Endpoint Network Interface] The network interfaces of the endpoint.. See
Network Interface
below.- vpc_
endpoint_ strid The DNS address of the VPC endpoint.
- vpc_
id str The port that Amazon Redshift Serverless listens on.
- network
Interfaces List<Property Map> The network interfaces of the endpoint.. See
Network Interface
below.- vpc
Endpoint StringId The DNS address of the VPC endpoint.
- vpc
Id String The port that Amazon Redshift Serverless listens on.
EndpointAccessVpcEndpointNetworkInterface, EndpointAccessVpcEndpointNetworkInterfaceArgs
- Availability
Zone string The availability Zone.
- Network
Interface stringId The unique identifier of the network interface.
- Private
Ip stringAddress The IPv4 address of the network interface within the subnet.
- Subnet
Id string The unique identifier of the subnet.
- Availability
Zone string The availability Zone.
- Network
Interface stringId The unique identifier of the network interface.
- Private
Ip stringAddress The IPv4 address of the network interface within the subnet.
- Subnet
Id string The unique identifier of the subnet.
- availability
Zone String The availability Zone.
- network
Interface StringId The unique identifier of the network interface.
- private
Ip StringAddress The IPv4 address of the network interface within the subnet.
- subnet
Id String The unique identifier of the subnet.
- availability
Zone string The availability Zone.
- network
Interface stringId The unique identifier of the network interface.
- private
Ip stringAddress The IPv4 address of the network interface within the subnet.
- subnet
Id string The unique identifier of the subnet.
- availability_
zone str The availability Zone.
- network_
interface_ strid The unique identifier of the network interface.
- private_
ip_ straddress The IPv4 address of the network interface within the subnet.
- subnet_
id str The unique identifier of the subnet.
- availability
Zone String The availability Zone.
- network
Interface StringId The unique identifier of the network interface.
- private
Ip StringAddress The IPv4 address of the network interface within the subnet.
- subnet
Id String The unique identifier of the subnet.
Import
Using pulumi import
, import Redshift Serverless Endpoint Access using the endpoint_name
. For example:
$ pulumi import aws:redshiftserverless/endpointAccess:EndpointAccess example example
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.