redshiftserverless

package
v5.43.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointAccess added in v5.14.0

type EndpointAccess struct {
	pulumi.CustomResourceState

	// The DNS address of the VPC endpoint.
	Address pulumi.StringOutput `pulumi:"address"`
	// Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the endpoint.
	EndpointName pulumi.StringOutput `pulumi:"endpointName"`
	// The port that Amazon Redshift Serverless listens on.
	Port pulumi.IntOutput `pulumi:"port"`
	// An array of VPC subnet IDs to associate with the endpoint.
	SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
	// The VPC endpoint or the Redshift Serverless workgroup. See `VPC Endpoint` below.
	VpcEndpoints EndpointAccessVpcEndpointArrayOutput `pulumi:"vpcEndpoints"`
	// An array of security group IDs to associate with the workgroup.
	VpcSecurityGroupIds pulumi.StringArrayOutput `pulumi:"vpcSecurityGroupIds"`
	// The name of the workgroup.
	WorkgroupName pulumi.StringOutput `pulumi:"workgroupName"`
}

Creates a new Amazon Redshift Serverless Endpoint Access.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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
	})
}

```

## Import

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

```sh

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

```

func GetEndpointAccess added in v5.14.0

func GetEndpointAccess(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointAccessState, opts ...pulumi.ResourceOption) (*EndpointAccess, error)

GetEndpointAccess gets an existing EndpointAccess resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEndpointAccess added in v5.14.0

func NewEndpointAccess(ctx *pulumi.Context,
	name string, args *EndpointAccessArgs, opts ...pulumi.ResourceOption) (*EndpointAccess, error)

NewEndpointAccess registers a new resource with the given unique name, arguments, and options.

func (*EndpointAccess) ElementType added in v5.14.0

func (*EndpointAccess) ElementType() reflect.Type

func (*EndpointAccess) ToEndpointAccessOutput added in v5.14.0

func (i *EndpointAccess) ToEndpointAccessOutput() EndpointAccessOutput

func (*EndpointAccess) ToEndpointAccessOutputWithContext added in v5.14.0

func (i *EndpointAccess) ToEndpointAccessOutputWithContext(ctx context.Context) EndpointAccessOutput

type EndpointAccessArgs added in v5.14.0

type EndpointAccessArgs struct {
	// The name of the endpoint.
	EndpointName pulumi.StringInput
	// An array of VPC subnet IDs to associate with the endpoint.
	SubnetIds pulumi.StringArrayInput
	// An array of security group IDs to associate with the workgroup.
	VpcSecurityGroupIds pulumi.StringArrayInput
	// The name of the workgroup.
	WorkgroupName pulumi.StringInput
}

The set of arguments for constructing a EndpointAccess resource.

func (EndpointAccessArgs) ElementType added in v5.14.0

func (EndpointAccessArgs) ElementType() reflect.Type

type EndpointAccessArray added in v5.14.0

type EndpointAccessArray []EndpointAccessInput

func (EndpointAccessArray) ElementType added in v5.14.0

func (EndpointAccessArray) ElementType() reflect.Type

func (EndpointAccessArray) ToEndpointAccessArrayOutput added in v5.14.0

func (i EndpointAccessArray) ToEndpointAccessArrayOutput() EndpointAccessArrayOutput

func (EndpointAccessArray) ToEndpointAccessArrayOutputWithContext added in v5.14.0

func (i EndpointAccessArray) ToEndpointAccessArrayOutputWithContext(ctx context.Context) EndpointAccessArrayOutput

type EndpointAccessArrayInput added in v5.14.0

type EndpointAccessArrayInput interface {
	pulumi.Input

	ToEndpointAccessArrayOutput() EndpointAccessArrayOutput
	ToEndpointAccessArrayOutputWithContext(context.Context) EndpointAccessArrayOutput
}

EndpointAccessArrayInput is an input type that accepts EndpointAccessArray and EndpointAccessArrayOutput values. You can construct a concrete instance of `EndpointAccessArrayInput` via:

EndpointAccessArray{ EndpointAccessArgs{...} }

type EndpointAccessArrayOutput added in v5.14.0

type EndpointAccessArrayOutput struct{ *pulumi.OutputState }

func (EndpointAccessArrayOutput) ElementType added in v5.14.0

func (EndpointAccessArrayOutput) ElementType() reflect.Type

func (EndpointAccessArrayOutput) Index added in v5.14.0

func (EndpointAccessArrayOutput) ToEndpointAccessArrayOutput added in v5.14.0

func (o EndpointAccessArrayOutput) ToEndpointAccessArrayOutput() EndpointAccessArrayOutput

func (EndpointAccessArrayOutput) ToEndpointAccessArrayOutputWithContext added in v5.14.0

func (o EndpointAccessArrayOutput) ToEndpointAccessArrayOutputWithContext(ctx context.Context) EndpointAccessArrayOutput

type EndpointAccessInput added in v5.14.0

type EndpointAccessInput interface {
	pulumi.Input

	ToEndpointAccessOutput() EndpointAccessOutput
	ToEndpointAccessOutputWithContext(ctx context.Context) EndpointAccessOutput
}

type EndpointAccessMap added in v5.14.0

type EndpointAccessMap map[string]EndpointAccessInput

func (EndpointAccessMap) ElementType added in v5.14.0

func (EndpointAccessMap) ElementType() reflect.Type

func (EndpointAccessMap) ToEndpointAccessMapOutput added in v5.14.0

func (i EndpointAccessMap) ToEndpointAccessMapOutput() EndpointAccessMapOutput

func (EndpointAccessMap) ToEndpointAccessMapOutputWithContext added in v5.14.0

func (i EndpointAccessMap) ToEndpointAccessMapOutputWithContext(ctx context.Context) EndpointAccessMapOutput

type EndpointAccessMapInput added in v5.14.0

type EndpointAccessMapInput interface {
	pulumi.Input

	ToEndpointAccessMapOutput() EndpointAccessMapOutput
	ToEndpointAccessMapOutputWithContext(context.Context) EndpointAccessMapOutput
}

EndpointAccessMapInput is an input type that accepts EndpointAccessMap and EndpointAccessMapOutput values. You can construct a concrete instance of `EndpointAccessMapInput` via:

EndpointAccessMap{ "key": EndpointAccessArgs{...} }

type EndpointAccessMapOutput added in v5.14.0

type EndpointAccessMapOutput struct{ *pulumi.OutputState }

func (EndpointAccessMapOutput) ElementType added in v5.14.0

func (EndpointAccessMapOutput) ElementType() reflect.Type

func (EndpointAccessMapOutput) MapIndex added in v5.14.0

func (EndpointAccessMapOutput) ToEndpointAccessMapOutput added in v5.14.0

func (o EndpointAccessMapOutput) ToEndpointAccessMapOutput() EndpointAccessMapOutput

func (EndpointAccessMapOutput) ToEndpointAccessMapOutputWithContext added in v5.14.0

func (o EndpointAccessMapOutput) ToEndpointAccessMapOutputWithContext(ctx context.Context) EndpointAccessMapOutput

type EndpointAccessOutput added in v5.14.0

type EndpointAccessOutput struct{ *pulumi.OutputState }

func (EndpointAccessOutput) Address added in v5.14.0

The DNS address of the VPC endpoint.

func (EndpointAccessOutput) Arn added in v5.14.0

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

func (EndpointAccessOutput) ElementType added in v5.14.0

func (EndpointAccessOutput) ElementType() reflect.Type

func (EndpointAccessOutput) EndpointName added in v5.14.0

func (o EndpointAccessOutput) EndpointName() pulumi.StringOutput

The name of the endpoint.

func (EndpointAccessOutput) Port added in v5.14.0

The port that Amazon Redshift Serverless listens on.

func (EndpointAccessOutput) SubnetIds added in v5.14.0

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

func (EndpointAccessOutput) ToEndpointAccessOutput added in v5.14.0

func (o EndpointAccessOutput) ToEndpointAccessOutput() EndpointAccessOutput

func (EndpointAccessOutput) ToEndpointAccessOutputWithContext added in v5.14.0

func (o EndpointAccessOutput) ToEndpointAccessOutputWithContext(ctx context.Context) EndpointAccessOutput

func (EndpointAccessOutput) VpcEndpoints added in v5.14.0

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

func (EndpointAccessOutput) VpcSecurityGroupIds added in v5.14.0

func (o EndpointAccessOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput

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

func (EndpointAccessOutput) WorkgroupName added in v5.14.0

func (o EndpointAccessOutput) WorkgroupName() pulumi.StringOutput

The name of the workgroup.

type EndpointAccessState added in v5.14.0

type EndpointAccessState struct {
	// The DNS address of the VPC endpoint.
	Address pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
	Arn pulumi.StringPtrInput
	// The name of the endpoint.
	EndpointName pulumi.StringPtrInput
	// The port that Amazon Redshift Serverless listens on.
	Port pulumi.IntPtrInput
	// An array of VPC subnet IDs to associate with the endpoint.
	SubnetIds pulumi.StringArrayInput
	// The VPC endpoint or the Redshift Serverless workgroup. See `VPC Endpoint` below.
	VpcEndpoints EndpointAccessVpcEndpointArrayInput
	// An array of security group IDs to associate with the workgroup.
	VpcSecurityGroupIds pulumi.StringArrayInput
	// The name of the workgroup.
	WorkgroupName pulumi.StringPtrInput
}

func (EndpointAccessState) ElementType added in v5.14.0

func (EndpointAccessState) ElementType() reflect.Type

type EndpointAccessVpcEndpoint added in v5.14.0

type EndpointAccessVpcEndpoint struct {
	// The network interfaces of the endpoint.. See `Network Interface` below.
	NetworkInterfaces []EndpointAccessVpcEndpointNetworkInterface `pulumi:"networkInterfaces"`
	// The DNS address of the VPC endpoint.
	VpcEndpointId *string `pulumi:"vpcEndpointId"`
	// The port that Amazon Redshift Serverless listens on.
	VpcId *string `pulumi:"vpcId"`
}

type EndpointAccessVpcEndpointArgs added in v5.14.0

type EndpointAccessVpcEndpointArgs struct {
	// The network interfaces of the endpoint.. See `Network Interface` below.
	NetworkInterfaces EndpointAccessVpcEndpointNetworkInterfaceArrayInput `pulumi:"networkInterfaces"`
	// The DNS address of the VPC endpoint.
	VpcEndpointId pulumi.StringPtrInput `pulumi:"vpcEndpointId"`
	// The port that Amazon Redshift Serverless listens on.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

func (EndpointAccessVpcEndpointArgs) ElementType added in v5.14.0

func (EndpointAccessVpcEndpointArgs) ToEndpointAccessVpcEndpointOutput added in v5.14.0

func (i EndpointAccessVpcEndpointArgs) ToEndpointAccessVpcEndpointOutput() EndpointAccessVpcEndpointOutput

func (EndpointAccessVpcEndpointArgs) ToEndpointAccessVpcEndpointOutputWithContext added in v5.14.0

func (i EndpointAccessVpcEndpointArgs) ToEndpointAccessVpcEndpointOutputWithContext(ctx context.Context) EndpointAccessVpcEndpointOutput

type EndpointAccessVpcEndpointArray added in v5.14.0

type EndpointAccessVpcEndpointArray []EndpointAccessVpcEndpointInput

func (EndpointAccessVpcEndpointArray) ElementType added in v5.14.0

func (EndpointAccessVpcEndpointArray) ToEndpointAccessVpcEndpointArrayOutput added in v5.14.0

func (i EndpointAccessVpcEndpointArray) ToEndpointAccessVpcEndpointArrayOutput() EndpointAccessVpcEndpointArrayOutput

func (EndpointAccessVpcEndpointArray) ToEndpointAccessVpcEndpointArrayOutputWithContext added in v5.14.0

func (i EndpointAccessVpcEndpointArray) ToEndpointAccessVpcEndpointArrayOutputWithContext(ctx context.Context) EndpointAccessVpcEndpointArrayOutput

type EndpointAccessVpcEndpointArrayInput added in v5.14.0

type EndpointAccessVpcEndpointArrayInput interface {
	pulumi.Input

	ToEndpointAccessVpcEndpointArrayOutput() EndpointAccessVpcEndpointArrayOutput
	ToEndpointAccessVpcEndpointArrayOutputWithContext(context.Context) EndpointAccessVpcEndpointArrayOutput
}

EndpointAccessVpcEndpointArrayInput is an input type that accepts EndpointAccessVpcEndpointArray and EndpointAccessVpcEndpointArrayOutput values. You can construct a concrete instance of `EndpointAccessVpcEndpointArrayInput` via:

EndpointAccessVpcEndpointArray{ EndpointAccessVpcEndpointArgs{...} }

type EndpointAccessVpcEndpointArrayOutput added in v5.14.0

type EndpointAccessVpcEndpointArrayOutput struct{ *pulumi.OutputState }

func (EndpointAccessVpcEndpointArrayOutput) ElementType added in v5.14.0

func (EndpointAccessVpcEndpointArrayOutput) Index added in v5.14.0

func (EndpointAccessVpcEndpointArrayOutput) ToEndpointAccessVpcEndpointArrayOutput added in v5.14.0

func (o EndpointAccessVpcEndpointArrayOutput) ToEndpointAccessVpcEndpointArrayOutput() EndpointAccessVpcEndpointArrayOutput

func (EndpointAccessVpcEndpointArrayOutput) ToEndpointAccessVpcEndpointArrayOutputWithContext added in v5.14.0

func (o EndpointAccessVpcEndpointArrayOutput) ToEndpointAccessVpcEndpointArrayOutputWithContext(ctx context.Context) EndpointAccessVpcEndpointArrayOutput

type EndpointAccessVpcEndpointInput added in v5.14.0

type EndpointAccessVpcEndpointInput interface {
	pulumi.Input

	ToEndpointAccessVpcEndpointOutput() EndpointAccessVpcEndpointOutput
	ToEndpointAccessVpcEndpointOutputWithContext(context.Context) EndpointAccessVpcEndpointOutput
}

EndpointAccessVpcEndpointInput is an input type that accepts EndpointAccessVpcEndpointArgs and EndpointAccessVpcEndpointOutput values. You can construct a concrete instance of `EndpointAccessVpcEndpointInput` via:

EndpointAccessVpcEndpointArgs{...}

type EndpointAccessVpcEndpointNetworkInterface added in v5.14.0

type EndpointAccessVpcEndpointNetworkInterface struct {
	// The availability Zone.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// The unique identifier of the network interface.
	NetworkInterfaceId *string `pulumi:"networkInterfaceId"`
	// The IPv4 address of the network interface within the subnet.
	PrivateIpAddress *string `pulumi:"privateIpAddress"`
	// The unique identifier of the subnet.
	SubnetId *string `pulumi:"subnetId"`
}

type EndpointAccessVpcEndpointNetworkInterfaceArgs added in v5.14.0

type EndpointAccessVpcEndpointNetworkInterfaceArgs struct {
	// The availability Zone.
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
	// The unique identifier of the network interface.
	NetworkInterfaceId pulumi.StringPtrInput `pulumi:"networkInterfaceId"`
	// The IPv4 address of the network interface within the subnet.
	PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"`
	// The unique identifier of the subnet.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
}

func (EndpointAccessVpcEndpointNetworkInterfaceArgs) ElementType added in v5.14.0

func (EndpointAccessVpcEndpointNetworkInterfaceArgs) ToEndpointAccessVpcEndpointNetworkInterfaceOutput added in v5.14.0

func (i EndpointAccessVpcEndpointNetworkInterfaceArgs) ToEndpointAccessVpcEndpointNetworkInterfaceOutput() EndpointAccessVpcEndpointNetworkInterfaceOutput

func (EndpointAccessVpcEndpointNetworkInterfaceArgs) ToEndpointAccessVpcEndpointNetworkInterfaceOutputWithContext added in v5.14.0

func (i EndpointAccessVpcEndpointNetworkInterfaceArgs) ToEndpointAccessVpcEndpointNetworkInterfaceOutputWithContext(ctx context.Context) EndpointAccessVpcEndpointNetworkInterfaceOutput

type EndpointAccessVpcEndpointNetworkInterfaceArray added in v5.14.0

type EndpointAccessVpcEndpointNetworkInterfaceArray []EndpointAccessVpcEndpointNetworkInterfaceInput

func (EndpointAccessVpcEndpointNetworkInterfaceArray) ElementType added in v5.14.0

func (EndpointAccessVpcEndpointNetworkInterfaceArray) ToEndpointAccessVpcEndpointNetworkInterfaceArrayOutput added in v5.14.0

func (i EndpointAccessVpcEndpointNetworkInterfaceArray) ToEndpointAccessVpcEndpointNetworkInterfaceArrayOutput() EndpointAccessVpcEndpointNetworkInterfaceArrayOutput

func (EndpointAccessVpcEndpointNetworkInterfaceArray) ToEndpointAccessVpcEndpointNetworkInterfaceArrayOutputWithContext added in v5.14.0

func (i EndpointAccessVpcEndpointNetworkInterfaceArray) ToEndpointAccessVpcEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) EndpointAccessVpcEndpointNetworkInterfaceArrayOutput

type EndpointAccessVpcEndpointNetworkInterfaceArrayInput added in v5.14.0

type EndpointAccessVpcEndpointNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToEndpointAccessVpcEndpointNetworkInterfaceArrayOutput() EndpointAccessVpcEndpointNetworkInterfaceArrayOutput
	ToEndpointAccessVpcEndpointNetworkInterfaceArrayOutputWithContext(context.Context) EndpointAccessVpcEndpointNetworkInterfaceArrayOutput
}

EndpointAccessVpcEndpointNetworkInterfaceArrayInput is an input type that accepts EndpointAccessVpcEndpointNetworkInterfaceArray and EndpointAccessVpcEndpointNetworkInterfaceArrayOutput values. You can construct a concrete instance of `EndpointAccessVpcEndpointNetworkInterfaceArrayInput` via:

EndpointAccessVpcEndpointNetworkInterfaceArray{ EndpointAccessVpcEndpointNetworkInterfaceArgs{...} }

type EndpointAccessVpcEndpointNetworkInterfaceArrayOutput added in v5.14.0

type EndpointAccessVpcEndpointNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (EndpointAccessVpcEndpointNetworkInterfaceArrayOutput) ElementType added in v5.14.0

func (EndpointAccessVpcEndpointNetworkInterfaceArrayOutput) Index added in v5.14.0

func (EndpointAccessVpcEndpointNetworkInterfaceArrayOutput) ToEndpointAccessVpcEndpointNetworkInterfaceArrayOutput added in v5.14.0

func (EndpointAccessVpcEndpointNetworkInterfaceArrayOutput) ToEndpointAccessVpcEndpointNetworkInterfaceArrayOutputWithContext added in v5.14.0

func (o EndpointAccessVpcEndpointNetworkInterfaceArrayOutput) ToEndpointAccessVpcEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) EndpointAccessVpcEndpointNetworkInterfaceArrayOutput

type EndpointAccessVpcEndpointNetworkInterfaceInput added in v5.14.0

type EndpointAccessVpcEndpointNetworkInterfaceInput interface {
	pulumi.Input

	ToEndpointAccessVpcEndpointNetworkInterfaceOutput() EndpointAccessVpcEndpointNetworkInterfaceOutput
	ToEndpointAccessVpcEndpointNetworkInterfaceOutputWithContext(context.Context) EndpointAccessVpcEndpointNetworkInterfaceOutput
}

EndpointAccessVpcEndpointNetworkInterfaceInput is an input type that accepts EndpointAccessVpcEndpointNetworkInterfaceArgs and EndpointAccessVpcEndpointNetworkInterfaceOutput values. You can construct a concrete instance of `EndpointAccessVpcEndpointNetworkInterfaceInput` via:

EndpointAccessVpcEndpointNetworkInterfaceArgs{...}

type EndpointAccessVpcEndpointNetworkInterfaceOutput added in v5.14.0

type EndpointAccessVpcEndpointNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (EndpointAccessVpcEndpointNetworkInterfaceOutput) AvailabilityZone added in v5.14.0

The availability Zone.

func (EndpointAccessVpcEndpointNetworkInterfaceOutput) ElementType added in v5.14.0

func (EndpointAccessVpcEndpointNetworkInterfaceOutput) NetworkInterfaceId added in v5.14.0

The unique identifier of the network interface.

func (EndpointAccessVpcEndpointNetworkInterfaceOutput) PrivateIpAddress added in v5.14.0

The IPv4 address of the network interface within the subnet.

func (EndpointAccessVpcEndpointNetworkInterfaceOutput) SubnetId added in v5.14.0

The unique identifier of the subnet.

func (EndpointAccessVpcEndpointNetworkInterfaceOutput) ToEndpointAccessVpcEndpointNetworkInterfaceOutput added in v5.14.0

func (o EndpointAccessVpcEndpointNetworkInterfaceOutput) ToEndpointAccessVpcEndpointNetworkInterfaceOutput() EndpointAccessVpcEndpointNetworkInterfaceOutput

func (EndpointAccessVpcEndpointNetworkInterfaceOutput) ToEndpointAccessVpcEndpointNetworkInterfaceOutputWithContext added in v5.14.0

func (o EndpointAccessVpcEndpointNetworkInterfaceOutput) ToEndpointAccessVpcEndpointNetworkInterfaceOutputWithContext(ctx context.Context) EndpointAccessVpcEndpointNetworkInterfaceOutput

type EndpointAccessVpcEndpointOutput added in v5.14.0

type EndpointAccessVpcEndpointOutput struct{ *pulumi.OutputState }

func (EndpointAccessVpcEndpointOutput) ElementType added in v5.14.0

func (EndpointAccessVpcEndpointOutput) NetworkInterfaces added in v5.14.0

The network interfaces of the endpoint.. See `Network Interface` below.

func (EndpointAccessVpcEndpointOutput) ToEndpointAccessVpcEndpointOutput added in v5.14.0

func (o EndpointAccessVpcEndpointOutput) ToEndpointAccessVpcEndpointOutput() EndpointAccessVpcEndpointOutput

func (EndpointAccessVpcEndpointOutput) ToEndpointAccessVpcEndpointOutputWithContext added in v5.14.0

func (o EndpointAccessVpcEndpointOutput) ToEndpointAccessVpcEndpointOutputWithContext(ctx context.Context) EndpointAccessVpcEndpointOutput

func (EndpointAccessVpcEndpointOutput) VpcEndpointId added in v5.14.0

The DNS address of the VPC endpoint.

func (EndpointAccessVpcEndpointOutput) VpcId added in v5.14.0

The port that Amazon Redshift Serverless listens on.

type GetCredentialsArgs added in v5.22.0

type GetCredentialsArgs struct {
	// The name of the database to get temporary authorization to log on to.
	DbName *string `pulumi:"dbName"`
	// The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.
	DurationSeconds *int `pulumi:"durationSeconds"`
	// The name of the workgroup associated with the database.
	WorkgroupName string `pulumi:"workgroupName"`
}

A collection of arguments for invoking getCredentials.

type GetCredentialsOutputArgs added in v5.22.0

type GetCredentialsOutputArgs struct {
	// The name of the database to get temporary authorization to log on to.
	DbName pulumi.StringPtrInput `pulumi:"dbName"`
	// The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.
	DurationSeconds pulumi.IntPtrInput `pulumi:"durationSeconds"`
	// The name of the workgroup associated with the database.
	WorkgroupName pulumi.StringInput `pulumi:"workgroupName"`
}

A collection of arguments for invoking getCredentials.

func (GetCredentialsOutputArgs) ElementType added in v5.22.0

func (GetCredentialsOutputArgs) ElementType() reflect.Type

type GetCredentialsResult added in v5.22.0

type GetCredentialsResult struct {
	DbName *string `pulumi:"dbName"`
	// Temporary password that authorizes the user name returned by `dbUser` to log on to the database `dbName`.
	DbPassword string `pulumi:"dbPassword"`
	// A database user name that is authorized to log on to the database `dbName` using the password `dbPassword` . If the specified `dbUser` exists in the database, the new user name has the same database privileges as the user named in `dbUser` . By default, the user is added to PUBLIC. the user doesn't exist in the database.
	DbUser          string `pulumi:"dbUser"`
	DurationSeconds *int   `pulumi:"durationSeconds"`
	// Date and time the password in `dbPassword` expires.
	Expiration string `pulumi:"expiration"`
	// The provider-assigned unique ID for this managed resource.
	Id            string `pulumi:"id"`
	WorkgroupName string `pulumi:"workgroupName"`
}

A collection of values returned by getCredentials.

func GetCredentials added in v5.22.0

func GetCredentials(ctx *pulumi.Context, args *GetCredentialsArgs, opts ...pulumi.InvokeOption) (*GetCredentialsResult, error)

Provides redshift serverless temporary credentials for a workgroup.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/redshiftserverless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redshiftserverless.GetCredentials(ctx, &redshiftserverless.GetCredentialsArgs{
			WorkgroupName: aws_redshiftserverless_workgroup.Example.Workgroup_name,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCredentialsResultOutput added in v5.22.0

type GetCredentialsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCredentials.

func GetCredentialsOutput added in v5.22.0

func GetCredentialsOutput(ctx *pulumi.Context, args GetCredentialsOutputArgs, opts ...pulumi.InvokeOption) GetCredentialsResultOutput

func (GetCredentialsResultOutput) DbName added in v5.22.0

func (GetCredentialsResultOutput) DbPassword added in v5.22.0

Temporary password that authorizes the user name returned by `dbUser` to log on to the database `dbName`.

func (GetCredentialsResultOutput) DbUser added in v5.22.0

A database user name that is authorized to log on to the database `dbName` using the password `dbPassword` . If the specified `dbUser` exists in the database, the new user name has the same database privileges as the user named in `dbUser` . By default, the user is added to PUBLIC. the user doesn't exist in the database.

func (GetCredentialsResultOutput) DurationSeconds added in v5.22.0

func (o GetCredentialsResultOutput) DurationSeconds() pulumi.IntPtrOutput

func (GetCredentialsResultOutput) ElementType added in v5.22.0

func (GetCredentialsResultOutput) ElementType() reflect.Type

func (GetCredentialsResultOutput) Expiration added in v5.22.0

Date and time the password in `dbPassword` expires.

func (GetCredentialsResultOutput) Id added in v5.22.0

The provider-assigned unique ID for this managed resource.

func (GetCredentialsResultOutput) ToGetCredentialsResultOutput added in v5.22.0

func (o GetCredentialsResultOutput) ToGetCredentialsResultOutput() GetCredentialsResultOutput

func (GetCredentialsResultOutput) ToGetCredentialsResultOutputWithContext added in v5.22.0

func (o GetCredentialsResultOutput) ToGetCredentialsResultOutputWithContext(ctx context.Context) GetCredentialsResultOutput

func (GetCredentialsResultOutput) WorkgroupName added in v5.22.0

type GetWorkgroupEndpoint added in v5.38.0

type GetWorkgroupEndpoint struct {
	// The DNS address of the VPC endpoint.
	Address string `pulumi:"address"`
	// The port that Amazon Redshift Serverless listens on.
	Port int `pulumi:"port"`
	// The VPC endpoint or the Redshift Serverless workgroup. See `VPC Endpoint` below.
	VpcEndpoints []GetWorkgroupEndpointVpcEndpoint `pulumi:"vpcEndpoints"`
}

type GetWorkgroupEndpointArgs added in v5.38.0

type GetWorkgroupEndpointArgs struct {
	// The DNS address of the VPC endpoint.
	Address pulumi.StringInput `pulumi:"address"`
	// The port that Amazon Redshift Serverless listens on.
	Port pulumi.IntInput `pulumi:"port"`
	// The VPC endpoint or the Redshift Serverless workgroup. See `VPC Endpoint` below.
	VpcEndpoints GetWorkgroupEndpointVpcEndpointArrayInput `pulumi:"vpcEndpoints"`
}

func (GetWorkgroupEndpointArgs) ElementType added in v5.38.0

func (GetWorkgroupEndpointArgs) ElementType() reflect.Type

func (GetWorkgroupEndpointArgs) ToGetWorkgroupEndpointOutput added in v5.38.0

func (i GetWorkgroupEndpointArgs) ToGetWorkgroupEndpointOutput() GetWorkgroupEndpointOutput

func (GetWorkgroupEndpointArgs) ToGetWorkgroupEndpointOutputWithContext added in v5.38.0

func (i GetWorkgroupEndpointArgs) ToGetWorkgroupEndpointOutputWithContext(ctx context.Context) GetWorkgroupEndpointOutput

type GetWorkgroupEndpointArray added in v5.38.0

type GetWorkgroupEndpointArray []GetWorkgroupEndpointInput

func (GetWorkgroupEndpointArray) ElementType added in v5.38.0

func (GetWorkgroupEndpointArray) ElementType() reflect.Type

func (GetWorkgroupEndpointArray) ToGetWorkgroupEndpointArrayOutput added in v5.38.0

func (i GetWorkgroupEndpointArray) ToGetWorkgroupEndpointArrayOutput() GetWorkgroupEndpointArrayOutput

func (GetWorkgroupEndpointArray) ToGetWorkgroupEndpointArrayOutputWithContext added in v5.38.0

func (i GetWorkgroupEndpointArray) ToGetWorkgroupEndpointArrayOutputWithContext(ctx context.Context) GetWorkgroupEndpointArrayOutput

type GetWorkgroupEndpointArrayInput added in v5.38.0

type GetWorkgroupEndpointArrayInput interface {
	pulumi.Input

	ToGetWorkgroupEndpointArrayOutput() GetWorkgroupEndpointArrayOutput
	ToGetWorkgroupEndpointArrayOutputWithContext(context.Context) GetWorkgroupEndpointArrayOutput
}

GetWorkgroupEndpointArrayInput is an input type that accepts GetWorkgroupEndpointArray and GetWorkgroupEndpointArrayOutput values. You can construct a concrete instance of `GetWorkgroupEndpointArrayInput` via:

GetWorkgroupEndpointArray{ GetWorkgroupEndpointArgs{...} }

type GetWorkgroupEndpointArrayOutput added in v5.38.0

type GetWorkgroupEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetWorkgroupEndpointArrayOutput) ElementType added in v5.38.0

func (GetWorkgroupEndpointArrayOutput) Index added in v5.38.0

func (GetWorkgroupEndpointArrayOutput) ToGetWorkgroupEndpointArrayOutput added in v5.38.0

func (o GetWorkgroupEndpointArrayOutput) ToGetWorkgroupEndpointArrayOutput() GetWorkgroupEndpointArrayOutput

func (GetWorkgroupEndpointArrayOutput) ToGetWorkgroupEndpointArrayOutputWithContext added in v5.38.0

func (o GetWorkgroupEndpointArrayOutput) ToGetWorkgroupEndpointArrayOutputWithContext(ctx context.Context) GetWorkgroupEndpointArrayOutput

type GetWorkgroupEndpointInput added in v5.38.0

type GetWorkgroupEndpointInput interface {
	pulumi.Input

	ToGetWorkgroupEndpointOutput() GetWorkgroupEndpointOutput
	ToGetWorkgroupEndpointOutputWithContext(context.Context) GetWorkgroupEndpointOutput
}

GetWorkgroupEndpointInput is an input type that accepts GetWorkgroupEndpointArgs and GetWorkgroupEndpointOutput values. You can construct a concrete instance of `GetWorkgroupEndpointInput` via:

GetWorkgroupEndpointArgs{...}

type GetWorkgroupEndpointOutput added in v5.38.0

type GetWorkgroupEndpointOutput struct{ *pulumi.OutputState }

func (GetWorkgroupEndpointOutput) Address added in v5.38.0

The DNS address of the VPC endpoint.

func (GetWorkgroupEndpointOutput) ElementType added in v5.38.0

func (GetWorkgroupEndpointOutput) ElementType() reflect.Type

func (GetWorkgroupEndpointOutput) Port added in v5.38.0

The port that Amazon Redshift Serverless listens on.

func (GetWorkgroupEndpointOutput) ToGetWorkgroupEndpointOutput added in v5.38.0

func (o GetWorkgroupEndpointOutput) ToGetWorkgroupEndpointOutput() GetWorkgroupEndpointOutput

func (GetWorkgroupEndpointOutput) ToGetWorkgroupEndpointOutputWithContext added in v5.38.0

func (o GetWorkgroupEndpointOutput) ToGetWorkgroupEndpointOutputWithContext(ctx context.Context) GetWorkgroupEndpointOutput

func (GetWorkgroupEndpointOutput) VpcEndpoints added in v5.38.0

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

type GetWorkgroupEndpointVpcEndpoint added in v5.38.0

type GetWorkgroupEndpointVpcEndpoint struct {
	// The network interfaces of the endpoint.. See `Network Interface` below.
	NetworkInterfaces []GetWorkgroupEndpointVpcEndpointNetworkInterface `pulumi:"networkInterfaces"`
	// The DNS address of the VPC endpoint.
	VpcEndpointId string `pulumi:"vpcEndpointId"`
	// The port that Amazon Redshift Serverless listens on.
	VpcId string `pulumi:"vpcId"`
}

type GetWorkgroupEndpointVpcEndpointArgs added in v5.38.0

type GetWorkgroupEndpointVpcEndpointArgs struct {
	// The network interfaces of the endpoint.. See `Network Interface` below.
	NetworkInterfaces GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayInput `pulumi:"networkInterfaces"`
	// The DNS address of the VPC endpoint.
	VpcEndpointId pulumi.StringInput `pulumi:"vpcEndpointId"`
	// The port that Amazon Redshift Serverless listens on.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetWorkgroupEndpointVpcEndpointArgs) ElementType added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointArgs) ToGetWorkgroupEndpointVpcEndpointOutput added in v5.38.0

func (i GetWorkgroupEndpointVpcEndpointArgs) ToGetWorkgroupEndpointVpcEndpointOutput() GetWorkgroupEndpointVpcEndpointOutput

func (GetWorkgroupEndpointVpcEndpointArgs) ToGetWorkgroupEndpointVpcEndpointOutputWithContext added in v5.38.0

func (i GetWorkgroupEndpointVpcEndpointArgs) ToGetWorkgroupEndpointVpcEndpointOutputWithContext(ctx context.Context) GetWorkgroupEndpointVpcEndpointOutput

type GetWorkgroupEndpointVpcEndpointArray added in v5.38.0

type GetWorkgroupEndpointVpcEndpointArray []GetWorkgroupEndpointVpcEndpointInput

func (GetWorkgroupEndpointVpcEndpointArray) ElementType added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointArray) ToGetWorkgroupEndpointVpcEndpointArrayOutput added in v5.38.0

func (i GetWorkgroupEndpointVpcEndpointArray) ToGetWorkgroupEndpointVpcEndpointArrayOutput() GetWorkgroupEndpointVpcEndpointArrayOutput

func (GetWorkgroupEndpointVpcEndpointArray) ToGetWorkgroupEndpointVpcEndpointArrayOutputWithContext added in v5.38.0

func (i GetWorkgroupEndpointVpcEndpointArray) ToGetWorkgroupEndpointVpcEndpointArrayOutputWithContext(ctx context.Context) GetWorkgroupEndpointVpcEndpointArrayOutput

type GetWorkgroupEndpointVpcEndpointArrayInput added in v5.38.0

type GetWorkgroupEndpointVpcEndpointArrayInput interface {
	pulumi.Input

	ToGetWorkgroupEndpointVpcEndpointArrayOutput() GetWorkgroupEndpointVpcEndpointArrayOutput
	ToGetWorkgroupEndpointVpcEndpointArrayOutputWithContext(context.Context) GetWorkgroupEndpointVpcEndpointArrayOutput
}

GetWorkgroupEndpointVpcEndpointArrayInput is an input type that accepts GetWorkgroupEndpointVpcEndpointArray and GetWorkgroupEndpointVpcEndpointArrayOutput values. You can construct a concrete instance of `GetWorkgroupEndpointVpcEndpointArrayInput` via:

GetWorkgroupEndpointVpcEndpointArray{ GetWorkgroupEndpointVpcEndpointArgs{...} }

type GetWorkgroupEndpointVpcEndpointArrayOutput added in v5.38.0

type GetWorkgroupEndpointVpcEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetWorkgroupEndpointVpcEndpointArrayOutput) ElementType added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointArrayOutput) Index added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointArrayOutput) ToGetWorkgroupEndpointVpcEndpointArrayOutput added in v5.38.0

func (o GetWorkgroupEndpointVpcEndpointArrayOutput) ToGetWorkgroupEndpointVpcEndpointArrayOutput() GetWorkgroupEndpointVpcEndpointArrayOutput

func (GetWorkgroupEndpointVpcEndpointArrayOutput) ToGetWorkgroupEndpointVpcEndpointArrayOutputWithContext added in v5.38.0

func (o GetWorkgroupEndpointVpcEndpointArrayOutput) ToGetWorkgroupEndpointVpcEndpointArrayOutputWithContext(ctx context.Context) GetWorkgroupEndpointVpcEndpointArrayOutput

type GetWorkgroupEndpointVpcEndpointInput added in v5.38.0

type GetWorkgroupEndpointVpcEndpointInput interface {
	pulumi.Input

	ToGetWorkgroupEndpointVpcEndpointOutput() GetWorkgroupEndpointVpcEndpointOutput
	ToGetWorkgroupEndpointVpcEndpointOutputWithContext(context.Context) GetWorkgroupEndpointVpcEndpointOutput
}

GetWorkgroupEndpointVpcEndpointInput is an input type that accepts GetWorkgroupEndpointVpcEndpointArgs and GetWorkgroupEndpointVpcEndpointOutput values. You can construct a concrete instance of `GetWorkgroupEndpointVpcEndpointInput` via:

GetWorkgroupEndpointVpcEndpointArgs{...}

type GetWorkgroupEndpointVpcEndpointNetworkInterface added in v5.38.0

type GetWorkgroupEndpointVpcEndpointNetworkInterface struct {
	// The availability Zone.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// The unique identifier of the network interface.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
	// The IPv4 address of the network interface within the subnet.
	PrivateIpAddress string `pulumi:"privateIpAddress"`
	// The unique identifier of the subnet.
	SubnetId string `pulumi:"subnetId"`
}

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceArgs added in v5.38.0

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceArgs struct {
	// The availability Zone.
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
	// The unique identifier of the network interface.
	NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
	// The IPv4 address of the network interface within the subnet.
	PrivateIpAddress pulumi.StringInput `pulumi:"privateIpAddress"`
	// The unique identifier of the subnet.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceArgs) ElementType added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceArgs) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput added in v5.38.0

func (i GetWorkgroupEndpointVpcEndpointNetworkInterfaceArgs) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput() GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceArgs) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceOutputWithContext added in v5.38.0

func (i GetWorkgroupEndpointVpcEndpointNetworkInterfaceArgs) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceOutputWithContext(ctx context.Context) GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceArray added in v5.38.0

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceArray []GetWorkgroupEndpointVpcEndpointNetworkInterfaceInput

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceArray) ElementType added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceArray) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput added in v5.38.0

func (i GetWorkgroupEndpointVpcEndpointNetworkInterfaceArray) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput() GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceArray) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutputWithContext added in v5.38.0

func (i GetWorkgroupEndpointVpcEndpointNetworkInterfaceArray) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayInput added in v5.38.0

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput() GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput
	ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutputWithContext(context.Context) GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput
}

GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayInput is an input type that accepts GetWorkgroupEndpointVpcEndpointNetworkInterfaceArray and GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput values. You can construct a concrete instance of `GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayInput` via:

GetWorkgroupEndpointVpcEndpointNetworkInterfaceArray{ GetWorkgroupEndpointVpcEndpointNetworkInterfaceArgs{...} }

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput added in v5.38.0

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput) ElementType added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput) Index added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutputWithContext added in v5.38.0

func (o GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceInput added in v5.38.0

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceInput interface {
	pulumi.Input

	ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput() GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput
	ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceOutputWithContext(context.Context) GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput
}

GetWorkgroupEndpointVpcEndpointNetworkInterfaceInput is an input type that accepts GetWorkgroupEndpointVpcEndpointNetworkInterfaceArgs and GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput values. You can construct a concrete instance of `GetWorkgroupEndpointVpcEndpointNetworkInterfaceInput` via:

GetWorkgroupEndpointVpcEndpointNetworkInterfaceArgs{...}

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput added in v5.38.0

type GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput) AvailabilityZone added in v5.38.0

The availability Zone.

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput) ElementType added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput) NetworkInterfaceId added in v5.38.0

The unique identifier of the network interface.

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput) PrivateIpAddress added in v5.38.0

The IPv4 address of the network interface within the subnet.

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput) SubnetId added in v5.38.0

The unique identifier of the subnet.

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceOutputWithContext added in v5.38.0

func (o GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput) ToGetWorkgroupEndpointVpcEndpointNetworkInterfaceOutputWithContext(ctx context.Context) GetWorkgroupEndpointVpcEndpointNetworkInterfaceOutput

type GetWorkgroupEndpointVpcEndpointOutput added in v5.38.0

type GetWorkgroupEndpointVpcEndpointOutput struct{ *pulumi.OutputState }

func (GetWorkgroupEndpointVpcEndpointOutput) ElementType added in v5.38.0

func (GetWorkgroupEndpointVpcEndpointOutput) NetworkInterfaces added in v5.38.0

The network interfaces of the endpoint.. See `Network Interface` below.

func (GetWorkgroupEndpointVpcEndpointOutput) ToGetWorkgroupEndpointVpcEndpointOutput added in v5.38.0

func (o GetWorkgroupEndpointVpcEndpointOutput) ToGetWorkgroupEndpointVpcEndpointOutput() GetWorkgroupEndpointVpcEndpointOutput

func (GetWorkgroupEndpointVpcEndpointOutput) ToGetWorkgroupEndpointVpcEndpointOutputWithContext added in v5.38.0

func (o GetWorkgroupEndpointVpcEndpointOutput) ToGetWorkgroupEndpointVpcEndpointOutputWithContext(ctx context.Context) GetWorkgroupEndpointVpcEndpointOutput

func (GetWorkgroupEndpointVpcEndpointOutput) VpcEndpointId added in v5.38.0

The DNS address of the VPC endpoint.

func (GetWorkgroupEndpointVpcEndpointOutput) VpcId added in v5.38.0

The port that Amazon Redshift Serverless listens on.

type LookupNamespaceArgs added in v5.41.0

type LookupNamespaceArgs struct {
	// The name of the namespace.
	NamespaceName string `pulumi:"namespaceName"`
}

A collection of arguments for invoking getNamespace.

type LookupNamespaceOutputArgs added in v5.41.0

type LookupNamespaceOutputArgs struct {
	// The name of the namespace.
	NamespaceName pulumi.StringInput `pulumi:"namespaceName"`
}

A collection of arguments for invoking getNamespace.

func (LookupNamespaceOutputArgs) ElementType added in v5.41.0

func (LookupNamespaceOutputArgs) ElementType() reflect.Type

type LookupNamespaceResult added in v5.41.0

type LookupNamespaceResult struct {
	// The username of the administrator for the first database created in the namespace.
	AdminUsername string `pulumi:"adminUsername"`
	// Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
	Arn string `pulumi:"arn"`
	// The name of the first database created in the namespace.
	DbName string `pulumi:"dbName"`
	// The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. When specifying `defaultIamRoleArn`, it also must be part of `iamRoles`.
	DefaultIamRoleArn string `pulumi:"defaultIamRoleArn"`
	// A list of IAM roles to associate with the namespace.
	IamRoles []string `pulumi:"iamRoles"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
	KmsKeyId string `pulumi:"kmsKeyId"`
	// The types of logs the namespace can export. Available export types are `userlog`, `connectionlog`, and `useractivitylog`.
	LogExports []string `pulumi:"logExports"`
	// The Redshift Namespace ID.
	NamespaceId   string `pulumi:"namespaceId"`
	NamespaceName string `pulumi:"namespaceName"`
}

A collection of values returned by getNamespace.

func LookupNamespace added in v5.41.0

func LookupNamespace(ctx *pulumi.Context, args *LookupNamespaceArgs, opts ...pulumi.InvokeOption) (*LookupNamespaceResult, error)

Data source for managing an AWS Redshift Serverless Namespace.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/redshiftserverless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redshiftserverless.LookupNamespace(ctx, &redshiftserverless.LookupNamespaceArgs{
			NamespaceName: "example-namespace",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupNamespaceResultOutput added in v5.41.0

type LookupNamespaceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNamespace.

func LookupNamespaceOutput added in v5.41.0

func (LookupNamespaceResultOutput) AdminUsername added in v5.41.0

The username of the administrator for the first database created in the namespace.

func (LookupNamespaceResultOutput) Arn added in v5.41.0

Amazon Resource Name (ARN) of the Redshift Serverless Namespace.

func (LookupNamespaceResultOutput) DbName added in v5.41.0

The name of the first database created in the namespace.

func (LookupNamespaceResultOutput) DefaultIamRoleArn added in v5.41.0

func (o LookupNamespaceResultOutput) DefaultIamRoleArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. When specifying `defaultIamRoleArn`, it also must be part of `iamRoles`.

func (LookupNamespaceResultOutput) ElementType added in v5.41.0

func (LookupNamespaceResultOutput) IamRoles added in v5.41.0

A list of IAM roles to associate with the namespace.

func (LookupNamespaceResultOutput) Id added in v5.41.0

The provider-assigned unique ID for this managed resource.

func (LookupNamespaceResultOutput) KmsKeyId added in v5.41.0

The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.

func (LookupNamespaceResultOutput) LogExports added in v5.41.0

The types of logs the namespace can export. Available export types are `userlog`, `connectionlog`, and `useractivitylog`.

func (LookupNamespaceResultOutput) NamespaceId added in v5.41.0

The Redshift Namespace ID.

func (LookupNamespaceResultOutput) NamespaceName added in v5.41.0

func (LookupNamespaceResultOutput) ToLookupNamespaceResultOutput added in v5.41.0

func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutput() LookupNamespaceResultOutput

func (LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext added in v5.41.0

func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext(ctx context.Context) LookupNamespaceResultOutput

type LookupWorkgroupArgs added in v5.38.0

type LookupWorkgroupArgs struct {
	// The name of the workgroup associated with the database.
	WorkgroupName string `pulumi:"workgroupName"`
}

A collection of arguments for invoking getWorkgroup.

type LookupWorkgroupOutputArgs added in v5.38.0

type LookupWorkgroupOutputArgs struct {
	// The name of the workgroup associated with the database.
	WorkgroupName pulumi.StringInput `pulumi:"workgroupName"`
}

A collection of arguments for invoking getWorkgroup.

func (LookupWorkgroupOutputArgs) ElementType added in v5.38.0

func (LookupWorkgroupOutputArgs) ElementType() reflect.Type

type LookupWorkgroupResult added in v5.38.0

type LookupWorkgroupResult struct {
	// Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
	Arn string `pulumi:"arn"`
	// The endpoint that is created from the workgroup. See `Endpoint` below.
	Endpoints []GetWorkgroupEndpoint `pulumi:"endpoints"`
	// The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
	EnhancedVpcRouting bool `pulumi:"enhancedVpcRouting"`
	// The provider-assigned unique ID for this managed resource.
	Id            string `pulumi:"id"`
	NamespaceName string `pulumi:"namespaceName"`
	// A value that specifies whether the workgroup can be accessed from a public network.
	PubliclyAccessible bool `pulumi:"publiclyAccessible"`
	// An array of security group IDs to associate with the workgroup.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following [AWS document](https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-known-issues.html).
	SubnetIds []string `pulumi:"subnetIds"`
	// The Redshift Workgroup ID.
	WorkgroupId   string `pulumi:"workgroupId"`
	WorkgroupName string `pulumi:"workgroupName"`
}

A collection of values returned by getWorkgroup.

func LookupWorkgroup added in v5.38.0

func LookupWorkgroup(ctx *pulumi.Context, args *LookupWorkgroupArgs, opts ...pulumi.InvokeOption) (*LookupWorkgroupResult, error)

Data source for managing an AWS Redshift Serverless Workgroup.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/redshiftserverless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redshiftserverless.LookupWorkgroup(ctx, &redshiftserverless.LookupWorkgroupArgs{
			WorkgroupName: aws_redshiftserverless_workgroup.Example.Workgroup_name,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupWorkgroupResultOutput added in v5.38.0

type LookupWorkgroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWorkgroup.

func LookupWorkgroupOutput added in v5.38.0

func (LookupWorkgroupResultOutput) Arn added in v5.38.0

Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.

func (LookupWorkgroupResultOutput) ElementType added in v5.38.0

func (LookupWorkgroupResultOutput) Endpoints added in v5.38.0

The endpoint that is created from the workgroup. See `Endpoint` below.

func (LookupWorkgroupResultOutput) EnhancedVpcRouting added in v5.38.0

func (o LookupWorkgroupResultOutput) EnhancedVpcRouting() pulumi.BoolOutput

The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.

func (LookupWorkgroupResultOutput) Id added in v5.38.0

The provider-assigned unique ID for this managed resource.

func (LookupWorkgroupResultOutput) NamespaceName added in v5.38.0

func (LookupWorkgroupResultOutput) PubliclyAccessible added in v5.38.0

func (o LookupWorkgroupResultOutput) PubliclyAccessible() pulumi.BoolOutput

A value that specifies whether the workgroup can be accessed from a public network.

func (LookupWorkgroupResultOutput) SecurityGroupIds added in v5.38.0

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

func (LookupWorkgroupResultOutput) SubnetIds added in v5.38.0

An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following [AWS document](https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-known-issues.html).

func (LookupWorkgroupResultOutput) ToLookupWorkgroupResultOutput added in v5.38.0

func (o LookupWorkgroupResultOutput) ToLookupWorkgroupResultOutput() LookupWorkgroupResultOutput

func (LookupWorkgroupResultOutput) ToLookupWorkgroupResultOutputWithContext added in v5.38.0

func (o LookupWorkgroupResultOutput) ToLookupWorkgroupResultOutputWithContext(ctx context.Context) LookupWorkgroupResultOutput

func (LookupWorkgroupResultOutput) WorkgroupId added in v5.38.0

The Redshift Workgroup ID.

func (LookupWorkgroupResultOutput) WorkgroupName added in v5.38.0

type Namespace

type Namespace struct {
	pulumi.CustomResourceState

	// The password of the administrator for the first database created in the namespace.
	AdminUserPassword pulumi.StringPtrOutput `pulumi:"adminUserPassword"`
	// The username of the administrator for the first database created in the namespace.
	AdminUsername pulumi.StringOutput `pulumi:"adminUsername"`
	// Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the first database created in the namespace.
	DbName pulumi.StringOutput `pulumi:"dbName"`
	// The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. When specifying `defaultIamRoleArn`, it also must be part of `iamRoles`.
	DefaultIamRoleArn pulumi.StringPtrOutput `pulumi:"defaultIamRoleArn"`
	// A list of IAM roles to associate with the namespace.
	IamRoles pulumi.StringArrayOutput `pulumi:"iamRoles"`
	// The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
	KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"`
	// The types of logs the namespace can export. Available export types are `userlog`, `connectionlog`, and `useractivitylog`.
	LogExports pulumi.StringArrayOutput `pulumi:"logExports"`
	// The Redshift Namespace ID.
	NamespaceId pulumi.StringOutput `pulumi:"namespaceId"`
	// The name of the namespace.
	NamespaceName pulumi.StringOutput `pulumi:"namespaceName"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Creates a new Amazon Redshift Serverless Namespace.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/redshiftserverless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redshiftserverless.NewNamespace(ctx, "example", &redshiftserverless.NamespaceArgs{
			NamespaceName: pulumi.String("concurrency-scaling"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Redshift Serverless Namespaces can be imported using the `namespace_name`, e.g.,

```sh

$ pulumi import aws:redshiftserverless/namespace:Namespace example example

```

func GetNamespace

func GetNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NamespaceState, opts ...pulumi.ResourceOption) (*Namespace, error)

GetNamespace gets an existing Namespace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNamespace

func NewNamespace(ctx *pulumi.Context,
	name string, args *NamespaceArgs, opts ...pulumi.ResourceOption) (*Namespace, error)

NewNamespace registers a new resource with the given unique name, arguments, and options.

func (*Namespace) ElementType

func (*Namespace) ElementType() reflect.Type

func (*Namespace) ToNamespaceOutput

func (i *Namespace) ToNamespaceOutput() NamespaceOutput

func (*Namespace) ToNamespaceOutputWithContext

func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

type NamespaceArgs

type NamespaceArgs struct {
	// The password of the administrator for the first database created in the namespace.
	AdminUserPassword pulumi.StringPtrInput
	// The username of the administrator for the first database created in the namespace.
	AdminUsername pulumi.StringPtrInput
	// The name of the first database created in the namespace.
	DbName pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. When specifying `defaultIamRoleArn`, it also must be part of `iamRoles`.
	DefaultIamRoleArn pulumi.StringPtrInput
	// A list of IAM roles to associate with the namespace.
	IamRoles pulumi.StringArrayInput
	// The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
	KmsKeyId pulumi.StringPtrInput
	// The types of logs the namespace can export. Available export types are `userlog`, `connectionlog`, and `useractivitylog`.
	LogExports pulumi.StringArrayInput
	// The name of the namespace.
	NamespaceName pulumi.StringInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Namespace resource.

func (NamespaceArgs) ElementType

func (NamespaceArgs) ElementType() reflect.Type

type NamespaceArray

type NamespaceArray []NamespaceInput

func (NamespaceArray) ElementType

func (NamespaceArray) ElementType() reflect.Type

func (NamespaceArray) ToNamespaceArrayOutput

func (i NamespaceArray) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArray) ToNamespaceArrayOutputWithContext

func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceArrayInput

type NamespaceArrayInput interface {
	pulumi.Input

	ToNamespaceArrayOutput() NamespaceArrayOutput
	ToNamespaceArrayOutputWithContext(context.Context) NamespaceArrayOutput
}

NamespaceArrayInput is an input type that accepts NamespaceArray and NamespaceArrayOutput values. You can construct a concrete instance of `NamespaceArrayInput` via:

NamespaceArray{ NamespaceArgs{...} }

type NamespaceArrayOutput

type NamespaceArrayOutput struct{ *pulumi.OutputState }

func (NamespaceArrayOutput) ElementType

func (NamespaceArrayOutput) ElementType() reflect.Type

func (NamespaceArrayOutput) Index

func (NamespaceArrayOutput) ToNamespaceArrayOutput

func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArrayOutput) ToNamespaceArrayOutputWithContext

func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceInput

type NamespaceInput interface {
	pulumi.Input

	ToNamespaceOutput() NamespaceOutput
	ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
}

type NamespaceMap

type NamespaceMap map[string]NamespaceInput

func (NamespaceMap) ElementType

func (NamespaceMap) ElementType() reflect.Type

func (NamespaceMap) ToNamespaceMapOutput

func (i NamespaceMap) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMap) ToNamespaceMapOutputWithContext

func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceMapInput

type NamespaceMapInput interface {
	pulumi.Input

	ToNamespaceMapOutput() NamespaceMapOutput
	ToNamespaceMapOutputWithContext(context.Context) NamespaceMapOutput
}

NamespaceMapInput is an input type that accepts NamespaceMap and NamespaceMapOutput values. You can construct a concrete instance of `NamespaceMapInput` via:

NamespaceMap{ "key": NamespaceArgs{...} }

type NamespaceMapOutput

type NamespaceMapOutput struct{ *pulumi.OutputState }

func (NamespaceMapOutput) ElementType

func (NamespaceMapOutput) ElementType() reflect.Type

func (NamespaceMapOutput) MapIndex

func (NamespaceMapOutput) ToNamespaceMapOutput

func (o NamespaceMapOutput) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMapOutput) ToNamespaceMapOutputWithContext

func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceOutput

type NamespaceOutput struct{ *pulumi.OutputState }

func (NamespaceOutput) AdminUserPassword

func (o NamespaceOutput) AdminUserPassword() pulumi.StringPtrOutput

The password of the administrator for the first database created in the namespace.

func (NamespaceOutput) AdminUsername

func (o NamespaceOutput) AdminUsername() pulumi.StringOutput

The username of the administrator for the first database created in the namespace.

func (NamespaceOutput) Arn

Amazon Resource Name (ARN) of the Redshift Serverless Namespace.

func (NamespaceOutput) DbName

func (o NamespaceOutput) DbName() pulumi.StringOutput

The name of the first database created in the namespace.

func (NamespaceOutput) DefaultIamRoleArn

func (o NamespaceOutput) DefaultIamRoleArn() pulumi.StringPtrOutput

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. When specifying `defaultIamRoleArn`, it also must be part of `iamRoles`.

func (NamespaceOutput) ElementType

func (NamespaceOutput) ElementType() reflect.Type

func (NamespaceOutput) IamRoles

A list of IAM roles to associate with the namespace.

func (NamespaceOutput) KmsKeyId

func (o NamespaceOutput) KmsKeyId() pulumi.StringOutput

The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.

func (NamespaceOutput) LogExports

func (o NamespaceOutput) LogExports() pulumi.StringArrayOutput

The types of logs the namespace can export. Available export types are `userlog`, `connectionlog`, and `useractivitylog`.

func (NamespaceOutput) NamespaceId

func (o NamespaceOutput) NamespaceId() pulumi.StringOutput

The Redshift Namespace ID.

func (NamespaceOutput) NamespaceName

func (o NamespaceOutput) NamespaceName() pulumi.StringOutput

The name of the namespace.

func (NamespaceOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (NamespaceOutput) TagsAll

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (NamespaceOutput) ToNamespaceOutput

func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput

func (NamespaceOutput) ToNamespaceOutputWithContext

func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

type NamespaceState

type NamespaceState struct {
	// The password of the administrator for the first database created in the namespace.
	AdminUserPassword pulumi.StringPtrInput
	// The username of the administrator for the first database created in the namespace.
	AdminUsername pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
	Arn pulumi.StringPtrInput
	// The name of the first database created in the namespace.
	DbName pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. When specifying `defaultIamRoleArn`, it also must be part of `iamRoles`.
	DefaultIamRoleArn pulumi.StringPtrInput
	// A list of IAM roles to associate with the namespace.
	IamRoles pulumi.StringArrayInput
	// The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
	KmsKeyId pulumi.StringPtrInput
	// The types of logs the namespace can export. Available export types are `userlog`, `connectionlog`, and `useractivitylog`.
	LogExports pulumi.StringArrayInput
	// The Redshift Namespace ID.
	NamespaceId pulumi.StringPtrInput
	// The name of the namespace.
	NamespaceName pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (NamespaceState) ElementType

func (NamespaceState) ElementType() reflect.Type

type ResourcePolicy added in v5.22.0

type ResourcePolicy struct {
	pulumi.CustomResourceState

	// The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.
	Policy pulumi.StringOutput `pulumi:"policy"`
	// The Amazon Resource Name (ARN) of the account to create or update a resource policy for.
	ResourceArn pulumi.StringOutput `pulumi:"resourceArn"`
}

Creates a new Amazon Redshift Serverless Resource Policy.

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/redshiftserverless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Version": "2012-10-17",
			"Statement": []map[string]interface{}{
				map[string]interface{}{
					"Effect": "Allow",
					"Principal": map[string]interface{}{
						"AWS": []string{
							"12345678901",
						},
					},
					"Action": []string{
						"redshift-serverless:RestoreFromSnapshot",
					},
					"Sid": "",
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = redshiftserverless.NewResourcePolicy(ctx, "example", &redshiftserverless.ResourcePolicyArgs{
			ResourceArn: pulumi.Any(aws_redshiftserverless_snapshot.Example.Arn),
			Policy:      pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Redshift Serverless Resource Policies can be imported using the `resource_arn`, e.g.,

```sh

$ pulumi import aws:redshiftserverless/resourcePolicy:ResourcePolicy example example

```

func GetResourcePolicy added in v5.22.0

func GetResourcePolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourcePolicyState, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)

GetResourcePolicy gets an existing ResourcePolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourcePolicy added in v5.22.0

func NewResourcePolicy(ctx *pulumi.Context,
	name string, args *ResourcePolicyArgs, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)

NewResourcePolicy registers a new resource with the given unique name, arguments, and options.

func (*ResourcePolicy) ElementType added in v5.22.0

func (*ResourcePolicy) ElementType() reflect.Type

func (*ResourcePolicy) ToResourcePolicyOutput added in v5.22.0

func (i *ResourcePolicy) ToResourcePolicyOutput() ResourcePolicyOutput

func (*ResourcePolicy) ToResourcePolicyOutputWithContext added in v5.22.0

func (i *ResourcePolicy) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput

type ResourcePolicyArgs added in v5.22.0

type ResourcePolicyArgs struct {
	// The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.
	Policy pulumi.StringInput
	// The Amazon Resource Name (ARN) of the account to create or update a resource policy for.
	ResourceArn pulumi.StringInput
}

The set of arguments for constructing a ResourcePolicy resource.

func (ResourcePolicyArgs) ElementType added in v5.22.0

func (ResourcePolicyArgs) ElementType() reflect.Type

type ResourcePolicyArray added in v5.22.0

type ResourcePolicyArray []ResourcePolicyInput

func (ResourcePolicyArray) ElementType added in v5.22.0

func (ResourcePolicyArray) ElementType() reflect.Type

func (ResourcePolicyArray) ToResourcePolicyArrayOutput added in v5.22.0

func (i ResourcePolicyArray) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext added in v5.22.0

func (i ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput

type ResourcePolicyArrayInput added in v5.22.0

type ResourcePolicyArrayInput interface {
	pulumi.Input

	ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput
	ToResourcePolicyArrayOutputWithContext(context.Context) ResourcePolicyArrayOutput
}

ResourcePolicyArrayInput is an input type that accepts ResourcePolicyArray and ResourcePolicyArrayOutput values. You can construct a concrete instance of `ResourcePolicyArrayInput` via:

ResourcePolicyArray{ ResourcePolicyArgs{...} }

type ResourcePolicyArrayOutput added in v5.22.0

type ResourcePolicyArrayOutput struct{ *pulumi.OutputState }

func (ResourcePolicyArrayOutput) ElementType added in v5.22.0

func (ResourcePolicyArrayOutput) ElementType() reflect.Type

func (ResourcePolicyArrayOutput) Index added in v5.22.0

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput added in v5.22.0

func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext added in v5.22.0

func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput

type ResourcePolicyInput added in v5.22.0

type ResourcePolicyInput interface {
	pulumi.Input

	ToResourcePolicyOutput() ResourcePolicyOutput
	ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput
}

type ResourcePolicyMap added in v5.22.0

type ResourcePolicyMap map[string]ResourcePolicyInput

func (ResourcePolicyMap) ElementType added in v5.22.0

func (ResourcePolicyMap) ElementType() reflect.Type

func (ResourcePolicyMap) ToResourcePolicyMapOutput added in v5.22.0

func (i ResourcePolicyMap) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMap) ToResourcePolicyMapOutputWithContext added in v5.22.0

func (i ResourcePolicyMap) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput

type ResourcePolicyMapInput added in v5.22.0

type ResourcePolicyMapInput interface {
	pulumi.Input

	ToResourcePolicyMapOutput() ResourcePolicyMapOutput
	ToResourcePolicyMapOutputWithContext(context.Context) ResourcePolicyMapOutput
}

ResourcePolicyMapInput is an input type that accepts ResourcePolicyMap and ResourcePolicyMapOutput values. You can construct a concrete instance of `ResourcePolicyMapInput` via:

ResourcePolicyMap{ "key": ResourcePolicyArgs{...} }

type ResourcePolicyMapOutput added in v5.22.0

type ResourcePolicyMapOutput struct{ *pulumi.OutputState }

func (ResourcePolicyMapOutput) ElementType added in v5.22.0

func (ResourcePolicyMapOutput) ElementType() reflect.Type

func (ResourcePolicyMapOutput) MapIndex added in v5.22.0

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutput added in v5.22.0

func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext added in v5.22.0

func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput

type ResourcePolicyOutput added in v5.22.0

type ResourcePolicyOutput struct{ *pulumi.OutputState }

func (ResourcePolicyOutput) ElementType added in v5.22.0

func (ResourcePolicyOutput) ElementType() reflect.Type

func (ResourcePolicyOutput) Policy added in v5.22.0

The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.

func (ResourcePolicyOutput) ResourceArn added in v5.22.0

func (o ResourcePolicyOutput) ResourceArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the account to create or update a resource policy for.

func (ResourcePolicyOutput) ToResourcePolicyOutput added in v5.22.0

func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput

func (ResourcePolicyOutput) ToResourcePolicyOutputWithContext added in v5.22.0

func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput

type ResourcePolicyState added in v5.22.0

type ResourcePolicyState struct {
	// The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.
	Policy pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the account to create or update a resource policy for.
	ResourceArn pulumi.StringPtrInput
}

func (ResourcePolicyState) ElementType added in v5.22.0

func (ResourcePolicyState) ElementType() reflect.Type

type Snapshot added in v5.21.0

type Snapshot struct {
	pulumi.CustomResourceState

	// All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.
	AccountsWithProvisionedRestoreAccesses pulumi.StringArrayOutput `pulumi:"accountsWithProvisionedRestoreAccesses"`
	// All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.
	AccountsWithRestoreAccesses pulumi.StringArrayOutput `pulumi:"accountsWithRestoreAccesses"`
	// The username of the database within a snapshot.
	AdminUsername pulumi.StringOutput `pulumi:"adminUsername"`
	// The Amazon Resource Name (ARN) of the snapshot.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The unique identifier of the KMS key used to encrypt the snapshot.
	KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"`
	// The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
	NamespaceArn pulumi.StringOutput `pulumi:"namespaceArn"`
	// The namespace to create a snapshot for.
	NamespaceName pulumi.StringOutput `pulumi:"namespaceName"`
	// The owner Amazon Web Services; account of the snapshot.
	OwnerAccount pulumi.StringOutput `pulumi:"ownerAccount"`
	// How long to retain the created snapshot. Default value is `-1`.
	RetentionPeriod pulumi.IntPtrOutput `pulumi:"retentionPeriod"`
	// The name of the snapshot.
	SnapshotName pulumi.StringOutput `pulumi:"snapshotName"`
}

Creates a new Amazon Redshift Serverless Snapshot.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/redshiftserverless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redshiftserverless.NewSnapshot(ctx, "example", &redshiftserverless.SnapshotArgs{
			NamespaceName: pulumi.Any(aws_redshiftserverless_workgroup.Example.Namespace_name),
			SnapshotName:  pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Redshift Serverless Snapshots can be imported using the `snapshot_name`, e.g.,

```sh

$ pulumi import aws:redshiftserverless/snapshot:Snapshot example example

```

func GetSnapshot added in v5.21.0

func GetSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)

GetSnapshot gets an existing Snapshot resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSnapshot added in v5.21.0

func NewSnapshot(ctx *pulumi.Context,
	name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)

NewSnapshot registers a new resource with the given unique name, arguments, and options.

func (*Snapshot) ElementType added in v5.21.0

func (*Snapshot) ElementType() reflect.Type

func (*Snapshot) ToSnapshotOutput added in v5.21.0

func (i *Snapshot) ToSnapshotOutput() SnapshotOutput

func (*Snapshot) ToSnapshotOutputWithContext added in v5.21.0

func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotArgs added in v5.21.0

type SnapshotArgs struct {
	// The namespace to create a snapshot for.
	NamespaceName pulumi.StringInput
	// How long to retain the created snapshot. Default value is `-1`.
	RetentionPeriod pulumi.IntPtrInput
	// The name of the snapshot.
	SnapshotName pulumi.StringInput
}

The set of arguments for constructing a Snapshot resource.

func (SnapshotArgs) ElementType added in v5.21.0

func (SnapshotArgs) ElementType() reflect.Type

type SnapshotArray added in v5.21.0

type SnapshotArray []SnapshotInput

func (SnapshotArray) ElementType added in v5.21.0

func (SnapshotArray) ElementType() reflect.Type

func (SnapshotArray) ToSnapshotArrayOutput added in v5.21.0

func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArray) ToSnapshotArrayOutputWithContext added in v5.21.0

func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotArrayInput added in v5.21.0

type SnapshotArrayInput interface {
	pulumi.Input

	ToSnapshotArrayOutput() SnapshotArrayOutput
	ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput
}

SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. You can construct a concrete instance of `SnapshotArrayInput` via:

SnapshotArray{ SnapshotArgs{...} }

type SnapshotArrayOutput added in v5.21.0

type SnapshotArrayOutput struct{ *pulumi.OutputState }

func (SnapshotArrayOutput) ElementType added in v5.21.0

func (SnapshotArrayOutput) ElementType() reflect.Type

func (SnapshotArrayOutput) Index added in v5.21.0

func (SnapshotArrayOutput) ToSnapshotArrayOutput added in v5.21.0

func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext added in v5.21.0

func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotInput added in v5.21.0

type SnapshotInput interface {
	pulumi.Input

	ToSnapshotOutput() SnapshotOutput
	ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
}

type SnapshotMap added in v5.21.0

type SnapshotMap map[string]SnapshotInput

func (SnapshotMap) ElementType added in v5.21.0

func (SnapshotMap) ElementType() reflect.Type

func (SnapshotMap) ToSnapshotMapOutput added in v5.21.0

func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMap) ToSnapshotMapOutputWithContext added in v5.21.0

func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotMapInput added in v5.21.0

type SnapshotMapInput interface {
	pulumi.Input

	ToSnapshotMapOutput() SnapshotMapOutput
	ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput
}

SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. You can construct a concrete instance of `SnapshotMapInput` via:

SnapshotMap{ "key": SnapshotArgs{...} }

type SnapshotMapOutput added in v5.21.0

type SnapshotMapOutput struct{ *pulumi.OutputState }

func (SnapshotMapOutput) ElementType added in v5.21.0

func (SnapshotMapOutput) ElementType() reflect.Type

func (SnapshotMapOutput) MapIndex added in v5.21.0

func (SnapshotMapOutput) ToSnapshotMapOutput added in v5.21.0

func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMapOutput) ToSnapshotMapOutputWithContext added in v5.21.0

func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotOutput added in v5.21.0

type SnapshotOutput struct{ *pulumi.OutputState }

func (SnapshotOutput) AccountsWithProvisionedRestoreAccesses added in v5.21.0

func (o SnapshotOutput) AccountsWithProvisionedRestoreAccesses() pulumi.StringArrayOutput

All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.

func (SnapshotOutput) AccountsWithRestoreAccesses added in v5.21.0

func (o SnapshotOutput) AccountsWithRestoreAccesses() pulumi.StringArrayOutput

All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.

func (SnapshotOutput) AdminUsername added in v5.21.0

func (o SnapshotOutput) AdminUsername() pulumi.StringOutput

The username of the database within a snapshot.

func (SnapshotOutput) Arn added in v5.21.0

The Amazon Resource Name (ARN) of the snapshot.

func (SnapshotOutput) ElementType added in v5.21.0

func (SnapshotOutput) ElementType() reflect.Type

func (SnapshotOutput) KmsKeyId added in v5.21.0

func (o SnapshotOutput) KmsKeyId() pulumi.StringOutput

The unique identifier of the KMS key used to encrypt the snapshot.

func (SnapshotOutput) NamespaceArn added in v5.21.0

func (o SnapshotOutput) NamespaceArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the namespace the snapshot was created from.

func (SnapshotOutput) NamespaceName added in v5.21.0

func (o SnapshotOutput) NamespaceName() pulumi.StringOutput

The namespace to create a snapshot for.

func (SnapshotOutput) OwnerAccount added in v5.21.0

func (o SnapshotOutput) OwnerAccount() pulumi.StringOutput

The owner Amazon Web Services; account of the snapshot.

func (SnapshotOutput) RetentionPeriod added in v5.21.0

func (o SnapshotOutput) RetentionPeriod() pulumi.IntPtrOutput

How long to retain the created snapshot. Default value is `-1`.

func (SnapshotOutput) SnapshotName added in v5.21.0

func (o SnapshotOutput) SnapshotName() pulumi.StringOutput

The name of the snapshot.

func (SnapshotOutput) ToSnapshotOutput added in v5.21.0

func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput

func (SnapshotOutput) ToSnapshotOutputWithContext added in v5.21.0

func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotState added in v5.21.0

type SnapshotState struct {
	// All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.
	AccountsWithProvisionedRestoreAccesses pulumi.StringArrayInput
	// All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.
	AccountsWithRestoreAccesses pulumi.StringArrayInput
	// The username of the database within a snapshot.
	AdminUsername pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the snapshot.
	Arn pulumi.StringPtrInput
	// The unique identifier of the KMS key used to encrypt the snapshot.
	KmsKeyId pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
	NamespaceArn pulumi.StringPtrInput
	// The namespace to create a snapshot for.
	NamespaceName pulumi.StringPtrInput
	// The owner Amazon Web Services; account of the snapshot.
	OwnerAccount pulumi.StringPtrInput
	// How long to retain the created snapshot. Default value is `-1`.
	RetentionPeriod pulumi.IntPtrInput
	// The name of the snapshot.
	SnapshotName pulumi.StringPtrInput
}

func (SnapshotState) ElementType added in v5.21.0

func (SnapshotState) ElementType() reflect.Type

type UsageLimit added in v5.14.0

type UsageLimit struct {
	pulumi.CustomResourceState

	// The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.
	Amount pulumi.IntOutput `pulumi:"amount"`
	// Amazon Resource Name (ARN) of the Redshift Serverless Usage Limit.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The action that Amazon Redshift Serverless takes when the limit is reached. Valid values are `log`, `emit-metric`, and `deactivate`. The default is `log`.
	BreachAction pulumi.StringPtrOutput `pulumi:"breachAction"`
	// The time period that the amount applies to. A weekly period begins on Sunday. Valid values are `daily`, `weekly`, and `monthly`. The default is `monthly`.
	Period pulumi.StringPtrOutput `pulumi:"period"`
	// The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.
	ResourceArn pulumi.StringOutput `pulumi:"resourceArn"`
	// The type of Amazon Redshift Serverless usage to create a usage limit for. Valid values are `serverless-compute` or `cross-region-datasharing`.
	UsageType pulumi.StringOutput `pulumi:"usageType"`
}

Creates a new Amazon Redshift Serverless Usage Limit.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/redshiftserverless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleWorkgroup, err := redshiftserverless.NewWorkgroup(ctx, "exampleWorkgroup", &redshiftserverless.WorkgroupArgs{
			NamespaceName: pulumi.Any(aws_redshiftserverless_namespace.Example.Namespace_name),
			WorkgroupName: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = redshiftserverless.NewUsageLimit(ctx, "exampleUsageLimit", &redshiftserverless.UsageLimitArgs{
			ResourceArn: exampleWorkgroup.Arn,
			UsageType:   pulumi.String("serverless-compute"),
			Amount:      pulumi.Int(60),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Redshift Serverless Usage Limits can be imported using the `id`, e.g.,

```sh

$ pulumi import aws:redshiftserverless/usageLimit:UsageLimit example example-id

```

func GetUsageLimit added in v5.14.0

func GetUsageLimit(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UsageLimitState, opts ...pulumi.ResourceOption) (*UsageLimit, error)

GetUsageLimit gets an existing UsageLimit resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUsageLimit added in v5.14.0

func NewUsageLimit(ctx *pulumi.Context,
	name string, args *UsageLimitArgs, opts ...pulumi.ResourceOption) (*UsageLimit, error)

NewUsageLimit registers a new resource with the given unique name, arguments, and options.

func (*UsageLimit) ElementType added in v5.14.0

func (*UsageLimit) ElementType() reflect.Type

func (*UsageLimit) ToUsageLimitOutput added in v5.14.0

func (i *UsageLimit) ToUsageLimitOutput() UsageLimitOutput

func (*UsageLimit) ToUsageLimitOutputWithContext added in v5.14.0

func (i *UsageLimit) ToUsageLimitOutputWithContext(ctx context.Context) UsageLimitOutput

type UsageLimitArgs added in v5.14.0

type UsageLimitArgs struct {
	// The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.
	Amount pulumi.IntInput
	// The action that Amazon Redshift Serverless takes when the limit is reached. Valid values are `log`, `emit-metric`, and `deactivate`. The default is `log`.
	BreachAction pulumi.StringPtrInput
	// The time period that the amount applies to. A weekly period begins on Sunday. Valid values are `daily`, `weekly`, and `monthly`. The default is `monthly`.
	Period pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.
	ResourceArn pulumi.StringInput
	// The type of Amazon Redshift Serverless usage to create a usage limit for. Valid values are `serverless-compute` or `cross-region-datasharing`.
	UsageType pulumi.StringInput
}

The set of arguments for constructing a UsageLimit resource.

func (UsageLimitArgs) ElementType added in v5.14.0

func (UsageLimitArgs) ElementType() reflect.Type

type UsageLimitArray added in v5.14.0

type UsageLimitArray []UsageLimitInput

func (UsageLimitArray) ElementType added in v5.14.0

func (UsageLimitArray) ElementType() reflect.Type

func (UsageLimitArray) ToUsageLimitArrayOutput added in v5.14.0

func (i UsageLimitArray) ToUsageLimitArrayOutput() UsageLimitArrayOutput

func (UsageLimitArray) ToUsageLimitArrayOutputWithContext added in v5.14.0

func (i UsageLimitArray) ToUsageLimitArrayOutputWithContext(ctx context.Context) UsageLimitArrayOutput

type UsageLimitArrayInput added in v5.14.0

type UsageLimitArrayInput interface {
	pulumi.Input

	ToUsageLimitArrayOutput() UsageLimitArrayOutput
	ToUsageLimitArrayOutputWithContext(context.Context) UsageLimitArrayOutput
}

UsageLimitArrayInput is an input type that accepts UsageLimitArray and UsageLimitArrayOutput values. You can construct a concrete instance of `UsageLimitArrayInput` via:

UsageLimitArray{ UsageLimitArgs{...} }

type UsageLimitArrayOutput added in v5.14.0

type UsageLimitArrayOutput struct{ *pulumi.OutputState }

func (UsageLimitArrayOutput) ElementType added in v5.14.0

func (UsageLimitArrayOutput) ElementType() reflect.Type

func (UsageLimitArrayOutput) Index added in v5.14.0

func (UsageLimitArrayOutput) ToUsageLimitArrayOutput added in v5.14.0

func (o UsageLimitArrayOutput) ToUsageLimitArrayOutput() UsageLimitArrayOutput

func (UsageLimitArrayOutput) ToUsageLimitArrayOutputWithContext added in v5.14.0

func (o UsageLimitArrayOutput) ToUsageLimitArrayOutputWithContext(ctx context.Context) UsageLimitArrayOutput

type UsageLimitInput added in v5.14.0

type UsageLimitInput interface {
	pulumi.Input

	ToUsageLimitOutput() UsageLimitOutput
	ToUsageLimitOutputWithContext(ctx context.Context) UsageLimitOutput
}

type UsageLimitMap added in v5.14.0

type UsageLimitMap map[string]UsageLimitInput

func (UsageLimitMap) ElementType added in v5.14.0

func (UsageLimitMap) ElementType() reflect.Type

func (UsageLimitMap) ToUsageLimitMapOutput added in v5.14.0

func (i UsageLimitMap) ToUsageLimitMapOutput() UsageLimitMapOutput

func (UsageLimitMap) ToUsageLimitMapOutputWithContext added in v5.14.0

func (i UsageLimitMap) ToUsageLimitMapOutputWithContext(ctx context.Context) UsageLimitMapOutput

type UsageLimitMapInput added in v5.14.0

type UsageLimitMapInput interface {
	pulumi.Input

	ToUsageLimitMapOutput() UsageLimitMapOutput
	ToUsageLimitMapOutputWithContext(context.Context) UsageLimitMapOutput
}

UsageLimitMapInput is an input type that accepts UsageLimitMap and UsageLimitMapOutput values. You can construct a concrete instance of `UsageLimitMapInput` via:

UsageLimitMap{ "key": UsageLimitArgs{...} }

type UsageLimitMapOutput added in v5.14.0

type UsageLimitMapOutput struct{ *pulumi.OutputState }

func (UsageLimitMapOutput) ElementType added in v5.14.0

func (UsageLimitMapOutput) ElementType() reflect.Type

func (UsageLimitMapOutput) MapIndex added in v5.14.0

func (UsageLimitMapOutput) ToUsageLimitMapOutput added in v5.14.0

func (o UsageLimitMapOutput) ToUsageLimitMapOutput() UsageLimitMapOutput

func (UsageLimitMapOutput) ToUsageLimitMapOutputWithContext added in v5.14.0

func (o UsageLimitMapOutput) ToUsageLimitMapOutputWithContext(ctx context.Context) UsageLimitMapOutput

type UsageLimitOutput added in v5.14.0

type UsageLimitOutput struct{ *pulumi.OutputState }

func (UsageLimitOutput) Amount added in v5.14.0

func (o UsageLimitOutput) Amount() pulumi.IntOutput

The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.

func (UsageLimitOutput) Arn added in v5.14.0

Amazon Resource Name (ARN) of the Redshift Serverless Usage Limit.

func (UsageLimitOutput) BreachAction added in v5.14.0

func (o UsageLimitOutput) BreachAction() pulumi.StringPtrOutput

The action that Amazon Redshift Serverless takes when the limit is reached. Valid values are `log`, `emit-metric`, and `deactivate`. The default is `log`.

func (UsageLimitOutput) ElementType added in v5.14.0

func (UsageLimitOutput) ElementType() reflect.Type

func (UsageLimitOutput) Period added in v5.14.0

The time period that the amount applies to. A weekly period begins on Sunday. Valid values are `daily`, `weekly`, and `monthly`. The default is `monthly`.

func (UsageLimitOutput) ResourceArn added in v5.14.0

func (o UsageLimitOutput) ResourceArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.

func (UsageLimitOutput) ToUsageLimitOutput added in v5.14.0

func (o UsageLimitOutput) ToUsageLimitOutput() UsageLimitOutput

func (UsageLimitOutput) ToUsageLimitOutputWithContext added in v5.14.0

func (o UsageLimitOutput) ToUsageLimitOutputWithContext(ctx context.Context) UsageLimitOutput

func (UsageLimitOutput) UsageType added in v5.14.0

func (o UsageLimitOutput) UsageType() pulumi.StringOutput

The type of Amazon Redshift Serverless usage to create a usage limit for. Valid values are `serverless-compute` or `cross-region-datasharing`.

type UsageLimitState added in v5.14.0

type UsageLimitState struct {
	// The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.
	Amount pulumi.IntPtrInput
	// Amazon Resource Name (ARN) of the Redshift Serverless Usage Limit.
	Arn pulumi.StringPtrInput
	// The action that Amazon Redshift Serverless takes when the limit is reached. Valid values are `log`, `emit-metric`, and `deactivate`. The default is `log`.
	BreachAction pulumi.StringPtrInput
	// The time period that the amount applies to. A weekly period begins on Sunday. Valid values are `daily`, `weekly`, and `monthly`. The default is `monthly`.
	Period pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.
	ResourceArn pulumi.StringPtrInput
	// The type of Amazon Redshift Serverless usage to create a usage limit for. Valid values are `serverless-compute` or `cross-region-datasharing`.
	UsageType pulumi.StringPtrInput
}

func (UsageLimitState) ElementType added in v5.14.0

func (UsageLimitState) ElementType() reflect.Type

type Workgroup added in v5.13.0

type Workgroup struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
	BaseCapacity pulumi.IntOutput `pulumi:"baseCapacity"`
	// An array of parameters to set for more control over a serverless database. See `Config Parameter` below.
	ConfigParameters WorkgroupConfigParameterArrayOutput `pulumi:"configParameters"`
	// The endpoint that is created from the workgroup. See `Endpoint` below.
	Endpoints WorkgroupEndpointArrayOutput `pulumi:"endpoints"`
	// The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
	EnhancedVpcRouting pulumi.BoolPtrOutput `pulumi:"enhancedVpcRouting"`
	// The name of the namespace.
	NamespaceName pulumi.StringOutput `pulumi:"namespaceName"`
	// A value that specifies whether the workgroup can be accessed from a public network.
	PubliclyAccessible pulumi.BoolPtrOutput `pulumi:"publiclyAccessible"`
	// An array of security group IDs to associate with the workgroup.
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following [AWS document](https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-known-issues.html).
	SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The Redshift Workgroup ID.
	WorkgroupId pulumi.StringOutput `pulumi:"workgroupId"`
	// The name of the workgroup.
	//
	// The following arguments are optional:
	WorkgroupName pulumi.StringOutput `pulumi:"workgroupName"`
}

Creates a new Amazon Redshift Serverless Workgroup.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/redshiftserverless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redshiftserverless.NewWorkgroup(ctx, "example", &redshiftserverless.WorkgroupArgs{
			NamespaceName: pulumi.String("concurrency-scaling"),
			WorkgroupName: pulumi.String("concurrency-scaling"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Redshift Serverless Workgroups can be imported using the `workgroup_name`, e.g.,

```sh

$ pulumi import aws:redshiftserverless/workgroup:Workgroup example example

```

func GetWorkgroup added in v5.13.0

func GetWorkgroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkgroupState, opts ...pulumi.ResourceOption) (*Workgroup, error)

GetWorkgroup gets an existing Workgroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWorkgroup added in v5.13.0

func NewWorkgroup(ctx *pulumi.Context,
	name string, args *WorkgroupArgs, opts ...pulumi.ResourceOption) (*Workgroup, error)

NewWorkgroup registers a new resource with the given unique name, arguments, and options.

func (*Workgroup) ElementType added in v5.13.0

func (*Workgroup) ElementType() reflect.Type

func (*Workgroup) ToWorkgroupOutput added in v5.13.0

func (i *Workgroup) ToWorkgroupOutput() WorkgroupOutput

func (*Workgroup) ToWorkgroupOutputWithContext added in v5.13.0

func (i *Workgroup) ToWorkgroupOutputWithContext(ctx context.Context) WorkgroupOutput

type WorkgroupArgs added in v5.13.0

type WorkgroupArgs struct {
	// The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
	BaseCapacity pulumi.IntPtrInput
	// An array of parameters to set for more control over a serverless database. See `Config Parameter` below.
	ConfigParameters WorkgroupConfigParameterArrayInput
	// The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
	EnhancedVpcRouting pulumi.BoolPtrInput
	// The name of the namespace.
	NamespaceName pulumi.StringInput
	// A value that specifies whether the workgroup can be accessed from a public network.
	PubliclyAccessible pulumi.BoolPtrInput
	// An array of security group IDs to associate with the workgroup.
	SecurityGroupIds pulumi.StringArrayInput
	// An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following [AWS document](https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-known-issues.html).
	SubnetIds pulumi.StringArrayInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The name of the workgroup.
	//
	// The following arguments are optional:
	WorkgroupName pulumi.StringInput
}

The set of arguments for constructing a Workgroup resource.

func (WorkgroupArgs) ElementType added in v5.13.0

func (WorkgroupArgs) ElementType() reflect.Type

type WorkgroupArray added in v5.13.0

type WorkgroupArray []WorkgroupInput

func (WorkgroupArray) ElementType added in v5.13.0

func (WorkgroupArray) ElementType() reflect.Type

func (WorkgroupArray) ToWorkgroupArrayOutput added in v5.13.0

func (i WorkgroupArray) ToWorkgroupArrayOutput() WorkgroupArrayOutput

func (WorkgroupArray) ToWorkgroupArrayOutputWithContext added in v5.13.0

func (i WorkgroupArray) ToWorkgroupArrayOutputWithContext(ctx context.Context) WorkgroupArrayOutput

type WorkgroupArrayInput added in v5.13.0

type WorkgroupArrayInput interface {
	pulumi.Input

	ToWorkgroupArrayOutput() WorkgroupArrayOutput
	ToWorkgroupArrayOutputWithContext(context.Context) WorkgroupArrayOutput
}

WorkgroupArrayInput is an input type that accepts WorkgroupArray and WorkgroupArrayOutput values. You can construct a concrete instance of `WorkgroupArrayInput` via:

WorkgroupArray{ WorkgroupArgs{...} }

type WorkgroupArrayOutput added in v5.13.0

type WorkgroupArrayOutput struct{ *pulumi.OutputState }

func (WorkgroupArrayOutput) ElementType added in v5.13.0

func (WorkgroupArrayOutput) ElementType() reflect.Type

func (WorkgroupArrayOutput) Index added in v5.13.0

func (WorkgroupArrayOutput) ToWorkgroupArrayOutput added in v5.13.0

func (o WorkgroupArrayOutput) ToWorkgroupArrayOutput() WorkgroupArrayOutput

func (WorkgroupArrayOutput) ToWorkgroupArrayOutputWithContext added in v5.13.0

func (o WorkgroupArrayOutput) ToWorkgroupArrayOutputWithContext(ctx context.Context) WorkgroupArrayOutput

type WorkgroupConfigParameter added in v5.13.0

type WorkgroupConfigParameter struct {
	// The key of the parameter. The options are `datestyle`, `enableUserActivityLogging`, `queryGroup`, `searchPath`, and `maxQueryExecutionTime`.
	ParameterKey string `pulumi:"parameterKey"`
	// The value of the parameter to set.
	ParameterValue string `pulumi:"parameterValue"`
}

type WorkgroupConfigParameterArgs added in v5.13.0

type WorkgroupConfigParameterArgs struct {
	// The key of the parameter. The options are `datestyle`, `enableUserActivityLogging`, `queryGroup`, `searchPath`, and `maxQueryExecutionTime`.
	ParameterKey pulumi.StringInput `pulumi:"parameterKey"`
	// The value of the parameter to set.
	ParameterValue pulumi.StringInput `pulumi:"parameterValue"`
}

func (WorkgroupConfigParameterArgs) ElementType added in v5.13.0

func (WorkgroupConfigParameterArgs) ToWorkgroupConfigParameterOutput added in v5.13.0

func (i WorkgroupConfigParameterArgs) ToWorkgroupConfigParameterOutput() WorkgroupConfigParameterOutput

func (WorkgroupConfigParameterArgs) ToWorkgroupConfigParameterOutputWithContext added in v5.13.0

func (i WorkgroupConfigParameterArgs) ToWorkgroupConfigParameterOutputWithContext(ctx context.Context) WorkgroupConfigParameterOutput

type WorkgroupConfigParameterArray added in v5.13.0

type WorkgroupConfigParameterArray []WorkgroupConfigParameterInput

func (WorkgroupConfigParameterArray) ElementType added in v5.13.0

func (WorkgroupConfigParameterArray) ToWorkgroupConfigParameterArrayOutput added in v5.13.0

func (i WorkgroupConfigParameterArray) ToWorkgroupConfigParameterArrayOutput() WorkgroupConfigParameterArrayOutput

func (WorkgroupConfigParameterArray) ToWorkgroupConfigParameterArrayOutputWithContext added in v5.13.0

func (i WorkgroupConfigParameterArray) ToWorkgroupConfigParameterArrayOutputWithContext(ctx context.Context) WorkgroupConfigParameterArrayOutput

type WorkgroupConfigParameterArrayInput added in v5.13.0

type WorkgroupConfigParameterArrayInput interface {
	pulumi.Input

	ToWorkgroupConfigParameterArrayOutput() WorkgroupConfigParameterArrayOutput
	ToWorkgroupConfigParameterArrayOutputWithContext(context.Context) WorkgroupConfigParameterArrayOutput
}

WorkgroupConfigParameterArrayInput is an input type that accepts WorkgroupConfigParameterArray and WorkgroupConfigParameterArrayOutput values. You can construct a concrete instance of `WorkgroupConfigParameterArrayInput` via:

WorkgroupConfigParameterArray{ WorkgroupConfigParameterArgs{...} }

type WorkgroupConfigParameterArrayOutput added in v5.13.0

type WorkgroupConfigParameterArrayOutput struct{ *pulumi.OutputState }

func (WorkgroupConfigParameterArrayOutput) ElementType added in v5.13.0

func (WorkgroupConfigParameterArrayOutput) Index added in v5.13.0

func (WorkgroupConfigParameterArrayOutput) ToWorkgroupConfigParameterArrayOutput added in v5.13.0

func (o WorkgroupConfigParameterArrayOutput) ToWorkgroupConfigParameterArrayOutput() WorkgroupConfigParameterArrayOutput

func (WorkgroupConfigParameterArrayOutput) ToWorkgroupConfigParameterArrayOutputWithContext added in v5.13.0

func (o WorkgroupConfigParameterArrayOutput) ToWorkgroupConfigParameterArrayOutputWithContext(ctx context.Context) WorkgroupConfigParameterArrayOutput

type WorkgroupConfigParameterInput added in v5.13.0

type WorkgroupConfigParameterInput interface {
	pulumi.Input

	ToWorkgroupConfigParameterOutput() WorkgroupConfigParameterOutput
	ToWorkgroupConfigParameterOutputWithContext(context.Context) WorkgroupConfigParameterOutput
}

WorkgroupConfigParameterInput is an input type that accepts WorkgroupConfigParameterArgs and WorkgroupConfigParameterOutput values. You can construct a concrete instance of `WorkgroupConfigParameterInput` via:

WorkgroupConfigParameterArgs{...}

type WorkgroupConfigParameterOutput added in v5.13.0

type WorkgroupConfigParameterOutput struct{ *pulumi.OutputState }

func (WorkgroupConfigParameterOutput) ElementType added in v5.13.0

func (WorkgroupConfigParameterOutput) ParameterKey added in v5.13.0

The key of the parameter. The options are `datestyle`, `enableUserActivityLogging`, `queryGroup`, `searchPath`, and `maxQueryExecutionTime`.

func (WorkgroupConfigParameterOutput) ParameterValue added in v5.13.0

The value of the parameter to set.

func (WorkgroupConfigParameterOutput) ToWorkgroupConfigParameterOutput added in v5.13.0

func (o WorkgroupConfigParameterOutput) ToWorkgroupConfigParameterOutput() WorkgroupConfigParameterOutput

func (WorkgroupConfigParameterOutput) ToWorkgroupConfigParameterOutputWithContext added in v5.13.0

func (o WorkgroupConfigParameterOutput) ToWorkgroupConfigParameterOutputWithContext(ctx context.Context) WorkgroupConfigParameterOutput

type WorkgroupEndpoint added in v5.14.0

type WorkgroupEndpoint struct {
	// The DNS address of the VPC endpoint.
	Address *string `pulumi:"address"`
	// The port that Amazon Redshift Serverless listens on.
	Port *int `pulumi:"port"`
	// The VPC endpoint or the Redshift Serverless workgroup. See `VPC Endpoint` below.
	VpcEndpoints []WorkgroupEndpointVpcEndpoint `pulumi:"vpcEndpoints"`
}

type WorkgroupEndpointArgs added in v5.14.0

type WorkgroupEndpointArgs struct {
	// The DNS address of the VPC endpoint.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The port that Amazon Redshift Serverless listens on.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The VPC endpoint or the Redshift Serverless workgroup. See `VPC Endpoint` below.
	VpcEndpoints WorkgroupEndpointVpcEndpointArrayInput `pulumi:"vpcEndpoints"`
}

func (WorkgroupEndpointArgs) ElementType added in v5.14.0

func (WorkgroupEndpointArgs) ElementType() reflect.Type

func (WorkgroupEndpointArgs) ToWorkgroupEndpointOutput added in v5.14.0

func (i WorkgroupEndpointArgs) ToWorkgroupEndpointOutput() WorkgroupEndpointOutput

func (WorkgroupEndpointArgs) ToWorkgroupEndpointOutputWithContext added in v5.14.0

func (i WorkgroupEndpointArgs) ToWorkgroupEndpointOutputWithContext(ctx context.Context) WorkgroupEndpointOutput

type WorkgroupEndpointArray added in v5.14.0

type WorkgroupEndpointArray []WorkgroupEndpointInput

func (WorkgroupEndpointArray) ElementType added in v5.14.0

func (WorkgroupEndpointArray) ElementType() reflect.Type

func (WorkgroupEndpointArray) ToWorkgroupEndpointArrayOutput added in v5.14.0

func (i WorkgroupEndpointArray) ToWorkgroupEndpointArrayOutput() WorkgroupEndpointArrayOutput

func (WorkgroupEndpointArray) ToWorkgroupEndpointArrayOutputWithContext added in v5.14.0

func (i WorkgroupEndpointArray) ToWorkgroupEndpointArrayOutputWithContext(ctx context.Context) WorkgroupEndpointArrayOutput

type WorkgroupEndpointArrayInput added in v5.14.0

type WorkgroupEndpointArrayInput interface {
	pulumi.Input

	ToWorkgroupEndpointArrayOutput() WorkgroupEndpointArrayOutput
	ToWorkgroupEndpointArrayOutputWithContext(context.Context) WorkgroupEndpointArrayOutput
}

WorkgroupEndpointArrayInput is an input type that accepts WorkgroupEndpointArray and WorkgroupEndpointArrayOutput values. You can construct a concrete instance of `WorkgroupEndpointArrayInput` via:

WorkgroupEndpointArray{ WorkgroupEndpointArgs{...} }

type WorkgroupEndpointArrayOutput added in v5.14.0

type WorkgroupEndpointArrayOutput struct{ *pulumi.OutputState }

func (WorkgroupEndpointArrayOutput) ElementType added in v5.14.0

func (WorkgroupEndpointArrayOutput) Index added in v5.14.0

func (WorkgroupEndpointArrayOutput) ToWorkgroupEndpointArrayOutput added in v5.14.0

func (o WorkgroupEndpointArrayOutput) ToWorkgroupEndpointArrayOutput() WorkgroupEndpointArrayOutput

func (WorkgroupEndpointArrayOutput) ToWorkgroupEndpointArrayOutputWithContext added in v5.14.0

func (o WorkgroupEndpointArrayOutput) ToWorkgroupEndpointArrayOutputWithContext(ctx context.Context) WorkgroupEndpointArrayOutput

type WorkgroupEndpointInput added in v5.14.0

type WorkgroupEndpointInput interface {
	pulumi.Input

	ToWorkgroupEndpointOutput() WorkgroupEndpointOutput
	ToWorkgroupEndpointOutputWithContext(context.Context) WorkgroupEndpointOutput
}

WorkgroupEndpointInput is an input type that accepts WorkgroupEndpointArgs and WorkgroupEndpointOutput values. You can construct a concrete instance of `WorkgroupEndpointInput` via:

WorkgroupEndpointArgs{...}

type WorkgroupEndpointOutput added in v5.14.0

type WorkgroupEndpointOutput struct{ *pulumi.OutputState }

func (WorkgroupEndpointOutput) Address added in v5.14.0

The DNS address of the VPC endpoint.

func (WorkgroupEndpointOutput) ElementType added in v5.14.0

func (WorkgroupEndpointOutput) ElementType() reflect.Type

func (WorkgroupEndpointOutput) Port added in v5.14.0

The port that Amazon Redshift Serverless listens on.

func (WorkgroupEndpointOutput) ToWorkgroupEndpointOutput added in v5.14.0

func (o WorkgroupEndpointOutput) ToWorkgroupEndpointOutput() WorkgroupEndpointOutput

func (WorkgroupEndpointOutput) ToWorkgroupEndpointOutputWithContext added in v5.14.0

func (o WorkgroupEndpointOutput) ToWorkgroupEndpointOutputWithContext(ctx context.Context) WorkgroupEndpointOutput

func (WorkgroupEndpointOutput) VpcEndpoints added in v5.14.0

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

type WorkgroupEndpointVpcEndpoint added in v5.14.0

type WorkgroupEndpointVpcEndpoint struct {
	// The network interfaces of the endpoint.. See `Network Interface` below.
	NetworkInterfaces []WorkgroupEndpointVpcEndpointNetworkInterface `pulumi:"networkInterfaces"`
	// The DNS address of the VPC endpoint.
	VpcEndpointId *string `pulumi:"vpcEndpointId"`
	// The port that Amazon Redshift Serverless listens on.
	VpcId *string `pulumi:"vpcId"`
}

type WorkgroupEndpointVpcEndpointArgs added in v5.14.0

type WorkgroupEndpointVpcEndpointArgs struct {
	// The network interfaces of the endpoint.. See `Network Interface` below.
	NetworkInterfaces WorkgroupEndpointVpcEndpointNetworkInterfaceArrayInput `pulumi:"networkInterfaces"`
	// The DNS address of the VPC endpoint.
	VpcEndpointId pulumi.StringPtrInput `pulumi:"vpcEndpointId"`
	// The port that Amazon Redshift Serverless listens on.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

func (WorkgroupEndpointVpcEndpointArgs) ElementType added in v5.14.0

func (WorkgroupEndpointVpcEndpointArgs) ToWorkgroupEndpointVpcEndpointOutput added in v5.14.0

func (i WorkgroupEndpointVpcEndpointArgs) ToWorkgroupEndpointVpcEndpointOutput() WorkgroupEndpointVpcEndpointOutput

func (WorkgroupEndpointVpcEndpointArgs) ToWorkgroupEndpointVpcEndpointOutputWithContext added in v5.14.0

func (i WorkgroupEndpointVpcEndpointArgs) ToWorkgroupEndpointVpcEndpointOutputWithContext(ctx context.Context) WorkgroupEndpointVpcEndpointOutput

type WorkgroupEndpointVpcEndpointArray added in v5.14.0

type WorkgroupEndpointVpcEndpointArray []WorkgroupEndpointVpcEndpointInput

func (WorkgroupEndpointVpcEndpointArray) ElementType added in v5.14.0

func (WorkgroupEndpointVpcEndpointArray) ToWorkgroupEndpointVpcEndpointArrayOutput added in v5.14.0

func (i WorkgroupEndpointVpcEndpointArray) ToWorkgroupEndpointVpcEndpointArrayOutput() WorkgroupEndpointVpcEndpointArrayOutput

func (WorkgroupEndpointVpcEndpointArray) ToWorkgroupEndpointVpcEndpointArrayOutputWithContext added in v5.14.0

func (i WorkgroupEndpointVpcEndpointArray) ToWorkgroupEndpointVpcEndpointArrayOutputWithContext(ctx context.Context) WorkgroupEndpointVpcEndpointArrayOutput

type WorkgroupEndpointVpcEndpointArrayInput added in v5.14.0

type WorkgroupEndpointVpcEndpointArrayInput interface {
	pulumi.Input

	ToWorkgroupEndpointVpcEndpointArrayOutput() WorkgroupEndpointVpcEndpointArrayOutput
	ToWorkgroupEndpointVpcEndpointArrayOutputWithContext(context.Context) WorkgroupEndpointVpcEndpointArrayOutput
}

WorkgroupEndpointVpcEndpointArrayInput is an input type that accepts WorkgroupEndpointVpcEndpointArray and WorkgroupEndpointVpcEndpointArrayOutput values. You can construct a concrete instance of `WorkgroupEndpointVpcEndpointArrayInput` via:

WorkgroupEndpointVpcEndpointArray{ WorkgroupEndpointVpcEndpointArgs{...} }

type WorkgroupEndpointVpcEndpointArrayOutput added in v5.14.0

type WorkgroupEndpointVpcEndpointArrayOutput struct{ *pulumi.OutputState }

func (WorkgroupEndpointVpcEndpointArrayOutput) ElementType added in v5.14.0

func (WorkgroupEndpointVpcEndpointArrayOutput) Index added in v5.14.0

func (WorkgroupEndpointVpcEndpointArrayOutput) ToWorkgroupEndpointVpcEndpointArrayOutput added in v5.14.0

func (o WorkgroupEndpointVpcEndpointArrayOutput) ToWorkgroupEndpointVpcEndpointArrayOutput() WorkgroupEndpointVpcEndpointArrayOutput

func (WorkgroupEndpointVpcEndpointArrayOutput) ToWorkgroupEndpointVpcEndpointArrayOutputWithContext added in v5.14.0

func (o WorkgroupEndpointVpcEndpointArrayOutput) ToWorkgroupEndpointVpcEndpointArrayOutputWithContext(ctx context.Context) WorkgroupEndpointVpcEndpointArrayOutput

type WorkgroupEndpointVpcEndpointInput added in v5.14.0

type WorkgroupEndpointVpcEndpointInput interface {
	pulumi.Input

	ToWorkgroupEndpointVpcEndpointOutput() WorkgroupEndpointVpcEndpointOutput
	ToWorkgroupEndpointVpcEndpointOutputWithContext(context.Context) WorkgroupEndpointVpcEndpointOutput
}

WorkgroupEndpointVpcEndpointInput is an input type that accepts WorkgroupEndpointVpcEndpointArgs and WorkgroupEndpointVpcEndpointOutput values. You can construct a concrete instance of `WorkgroupEndpointVpcEndpointInput` via:

WorkgroupEndpointVpcEndpointArgs{...}

type WorkgroupEndpointVpcEndpointNetworkInterface added in v5.14.0

type WorkgroupEndpointVpcEndpointNetworkInterface struct {
	// The availability Zone.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// The unique identifier of the network interface.
	NetworkInterfaceId *string `pulumi:"networkInterfaceId"`
	// The IPv4 address of the network interface within the subnet.
	PrivateIpAddress *string `pulumi:"privateIpAddress"`
	// The unique identifier of the subnet.
	SubnetId *string `pulumi:"subnetId"`
}

type WorkgroupEndpointVpcEndpointNetworkInterfaceArgs added in v5.14.0

type WorkgroupEndpointVpcEndpointNetworkInterfaceArgs struct {
	// The availability Zone.
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
	// The unique identifier of the network interface.
	NetworkInterfaceId pulumi.StringPtrInput `pulumi:"networkInterfaceId"`
	// The IPv4 address of the network interface within the subnet.
	PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"`
	// The unique identifier of the subnet.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
}

func (WorkgroupEndpointVpcEndpointNetworkInterfaceArgs) ElementType added in v5.14.0

func (WorkgroupEndpointVpcEndpointNetworkInterfaceArgs) ToWorkgroupEndpointVpcEndpointNetworkInterfaceOutput added in v5.14.0

func (i WorkgroupEndpointVpcEndpointNetworkInterfaceArgs) ToWorkgroupEndpointVpcEndpointNetworkInterfaceOutput() WorkgroupEndpointVpcEndpointNetworkInterfaceOutput

func (WorkgroupEndpointVpcEndpointNetworkInterfaceArgs) ToWorkgroupEndpointVpcEndpointNetworkInterfaceOutputWithContext added in v5.14.0

func (i WorkgroupEndpointVpcEndpointNetworkInterfaceArgs) ToWorkgroupEndpointVpcEndpointNetworkInterfaceOutputWithContext(ctx context.Context) WorkgroupEndpointVpcEndpointNetworkInterfaceOutput

type WorkgroupEndpointVpcEndpointNetworkInterfaceArray added in v5.14.0

type WorkgroupEndpointVpcEndpointNetworkInterfaceArray []WorkgroupEndpointVpcEndpointNetworkInterfaceInput

func (WorkgroupEndpointVpcEndpointNetworkInterfaceArray) ElementType added in v5.14.0

func (WorkgroupEndpointVpcEndpointNetworkInterfaceArray) ToWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput added in v5.14.0

func (i WorkgroupEndpointVpcEndpointNetworkInterfaceArray) ToWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput() WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput

func (WorkgroupEndpointVpcEndpointNetworkInterfaceArray) ToWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutputWithContext added in v5.14.0

func (i WorkgroupEndpointVpcEndpointNetworkInterfaceArray) ToWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput

type WorkgroupEndpointVpcEndpointNetworkInterfaceArrayInput added in v5.14.0

type WorkgroupEndpointVpcEndpointNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput() WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput
	ToWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutputWithContext(context.Context) WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput
}

WorkgroupEndpointVpcEndpointNetworkInterfaceArrayInput is an input type that accepts WorkgroupEndpointVpcEndpointNetworkInterfaceArray and WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput values. You can construct a concrete instance of `WorkgroupEndpointVpcEndpointNetworkInterfaceArrayInput` via:

WorkgroupEndpointVpcEndpointNetworkInterfaceArray{ WorkgroupEndpointVpcEndpointNetworkInterfaceArgs{...} }

type WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput added in v5.14.0

type WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput) ElementType added in v5.14.0

func (WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput) Index added in v5.14.0

func (WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput) ToWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput added in v5.14.0

func (WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput) ToWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutputWithContext added in v5.14.0

func (o WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput) ToWorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) WorkgroupEndpointVpcEndpointNetworkInterfaceArrayOutput

type WorkgroupEndpointVpcEndpointNetworkInterfaceInput added in v5.14.0

type WorkgroupEndpointVpcEndpointNetworkInterfaceInput interface {
	pulumi.Input

	ToWorkgroupEndpointVpcEndpointNetworkInterfaceOutput() WorkgroupEndpointVpcEndpointNetworkInterfaceOutput
	ToWorkgroupEndpointVpcEndpointNetworkInterfaceOutputWithContext(context.Context) WorkgroupEndpointVpcEndpointNetworkInterfaceOutput
}

WorkgroupEndpointVpcEndpointNetworkInterfaceInput is an input type that accepts WorkgroupEndpointVpcEndpointNetworkInterfaceArgs and WorkgroupEndpointVpcEndpointNetworkInterfaceOutput values. You can construct a concrete instance of `WorkgroupEndpointVpcEndpointNetworkInterfaceInput` via:

WorkgroupEndpointVpcEndpointNetworkInterfaceArgs{...}

type WorkgroupEndpointVpcEndpointNetworkInterfaceOutput added in v5.14.0

type WorkgroupEndpointVpcEndpointNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (WorkgroupEndpointVpcEndpointNetworkInterfaceOutput) AvailabilityZone added in v5.14.0

The availability Zone.

func (WorkgroupEndpointVpcEndpointNetworkInterfaceOutput) ElementType added in v5.14.0

func (WorkgroupEndpointVpcEndpointNetworkInterfaceOutput) NetworkInterfaceId added in v5.14.0

The unique identifier of the network interface.

func (WorkgroupEndpointVpcEndpointNetworkInterfaceOutput) PrivateIpAddress added in v5.14.0

The IPv4 address of the network interface within the subnet.

func (WorkgroupEndpointVpcEndpointNetworkInterfaceOutput) SubnetId added in v5.14.0

The unique identifier of the subnet.

func (WorkgroupEndpointVpcEndpointNetworkInterfaceOutput) ToWorkgroupEndpointVpcEndpointNetworkInterfaceOutput added in v5.14.0

func (o WorkgroupEndpointVpcEndpointNetworkInterfaceOutput) ToWorkgroupEndpointVpcEndpointNetworkInterfaceOutput() WorkgroupEndpointVpcEndpointNetworkInterfaceOutput

func (WorkgroupEndpointVpcEndpointNetworkInterfaceOutput) ToWorkgroupEndpointVpcEndpointNetworkInterfaceOutputWithContext added in v5.14.0

func (o WorkgroupEndpointVpcEndpointNetworkInterfaceOutput) ToWorkgroupEndpointVpcEndpointNetworkInterfaceOutputWithContext(ctx context.Context) WorkgroupEndpointVpcEndpointNetworkInterfaceOutput

type WorkgroupEndpointVpcEndpointOutput added in v5.14.0

type WorkgroupEndpointVpcEndpointOutput struct{ *pulumi.OutputState }

func (WorkgroupEndpointVpcEndpointOutput) ElementType added in v5.14.0

func (WorkgroupEndpointVpcEndpointOutput) NetworkInterfaces added in v5.14.0

The network interfaces of the endpoint.. See `Network Interface` below.

func (WorkgroupEndpointVpcEndpointOutput) ToWorkgroupEndpointVpcEndpointOutput added in v5.14.0

func (o WorkgroupEndpointVpcEndpointOutput) ToWorkgroupEndpointVpcEndpointOutput() WorkgroupEndpointVpcEndpointOutput

func (WorkgroupEndpointVpcEndpointOutput) ToWorkgroupEndpointVpcEndpointOutputWithContext added in v5.14.0

func (o WorkgroupEndpointVpcEndpointOutput) ToWorkgroupEndpointVpcEndpointOutputWithContext(ctx context.Context) WorkgroupEndpointVpcEndpointOutput

func (WorkgroupEndpointVpcEndpointOutput) VpcEndpointId added in v5.14.0

The DNS address of the VPC endpoint.

func (WorkgroupEndpointVpcEndpointOutput) VpcId added in v5.14.0

The port that Amazon Redshift Serverless listens on.

type WorkgroupInput added in v5.13.0

type WorkgroupInput interface {
	pulumi.Input

	ToWorkgroupOutput() WorkgroupOutput
	ToWorkgroupOutputWithContext(ctx context.Context) WorkgroupOutput
}

type WorkgroupMap added in v5.13.0

type WorkgroupMap map[string]WorkgroupInput

func (WorkgroupMap) ElementType added in v5.13.0

func (WorkgroupMap) ElementType() reflect.Type

func (WorkgroupMap) ToWorkgroupMapOutput added in v5.13.0

func (i WorkgroupMap) ToWorkgroupMapOutput() WorkgroupMapOutput

func (WorkgroupMap) ToWorkgroupMapOutputWithContext added in v5.13.0

func (i WorkgroupMap) ToWorkgroupMapOutputWithContext(ctx context.Context) WorkgroupMapOutput

type WorkgroupMapInput added in v5.13.0

type WorkgroupMapInput interface {
	pulumi.Input

	ToWorkgroupMapOutput() WorkgroupMapOutput
	ToWorkgroupMapOutputWithContext(context.Context) WorkgroupMapOutput
}

WorkgroupMapInput is an input type that accepts WorkgroupMap and WorkgroupMapOutput values. You can construct a concrete instance of `WorkgroupMapInput` via:

WorkgroupMap{ "key": WorkgroupArgs{...} }

type WorkgroupMapOutput added in v5.13.0

type WorkgroupMapOutput struct{ *pulumi.OutputState }

func (WorkgroupMapOutput) ElementType added in v5.13.0

func (WorkgroupMapOutput) ElementType() reflect.Type

func (WorkgroupMapOutput) MapIndex added in v5.13.0

func (WorkgroupMapOutput) ToWorkgroupMapOutput added in v5.13.0

func (o WorkgroupMapOutput) ToWorkgroupMapOutput() WorkgroupMapOutput

func (WorkgroupMapOutput) ToWorkgroupMapOutputWithContext added in v5.13.0

func (o WorkgroupMapOutput) ToWorkgroupMapOutputWithContext(ctx context.Context) WorkgroupMapOutput

type WorkgroupOutput added in v5.13.0

type WorkgroupOutput struct{ *pulumi.OutputState }

func (WorkgroupOutput) Arn added in v5.13.0

Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.

func (WorkgroupOutput) BaseCapacity added in v5.13.0

func (o WorkgroupOutput) BaseCapacity() pulumi.IntOutput

The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

func (WorkgroupOutput) ConfigParameters added in v5.13.0

An array of parameters to set for more control over a serverless database. See `Config Parameter` below.

func (WorkgroupOutput) ElementType added in v5.13.0

func (WorkgroupOutput) ElementType() reflect.Type

func (WorkgroupOutput) Endpoints added in v5.14.0

The endpoint that is created from the workgroup. See `Endpoint` below.

func (WorkgroupOutput) EnhancedVpcRouting added in v5.13.0

func (o WorkgroupOutput) EnhancedVpcRouting() pulumi.BoolPtrOutput

The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.

func (WorkgroupOutput) NamespaceName added in v5.13.0

func (o WorkgroupOutput) NamespaceName() pulumi.StringOutput

The name of the namespace.

func (WorkgroupOutput) PubliclyAccessible added in v5.13.0

func (o WorkgroupOutput) PubliclyAccessible() pulumi.BoolPtrOutput

A value that specifies whether the workgroup can be accessed from a public network.

func (WorkgroupOutput) SecurityGroupIds added in v5.13.0

func (o WorkgroupOutput) SecurityGroupIds() pulumi.StringArrayOutput

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

func (WorkgroupOutput) SubnetIds added in v5.13.0

An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following [AWS document](https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-known-issues.html).

func (WorkgroupOutput) Tags added in v5.13.0

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (WorkgroupOutput) TagsAll added in v5.13.0

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (WorkgroupOutput) ToWorkgroupOutput added in v5.13.0

func (o WorkgroupOutput) ToWorkgroupOutput() WorkgroupOutput

func (WorkgroupOutput) ToWorkgroupOutputWithContext added in v5.13.0

func (o WorkgroupOutput) ToWorkgroupOutputWithContext(ctx context.Context) WorkgroupOutput

func (WorkgroupOutput) WorkgroupId added in v5.13.0

func (o WorkgroupOutput) WorkgroupId() pulumi.StringOutput

The Redshift Workgroup ID.

func (WorkgroupOutput) WorkgroupName added in v5.13.0

func (o WorkgroupOutput) WorkgroupName() pulumi.StringOutput

The name of the workgroup.

The following arguments are optional:

type WorkgroupState added in v5.13.0

type WorkgroupState struct {
	// Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
	Arn pulumi.StringPtrInput
	// The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
	BaseCapacity pulumi.IntPtrInput
	// An array of parameters to set for more control over a serverless database. See `Config Parameter` below.
	ConfigParameters WorkgroupConfigParameterArrayInput
	// The endpoint that is created from the workgroup. See `Endpoint` below.
	Endpoints WorkgroupEndpointArrayInput
	// The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
	EnhancedVpcRouting pulumi.BoolPtrInput
	// The name of the namespace.
	NamespaceName pulumi.StringPtrInput
	// A value that specifies whether the workgroup can be accessed from a public network.
	PubliclyAccessible pulumi.BoolPtrInput
	// An array of security group IDs to associate with the workgroup.
	SecurityGroupIds pulumi.StringArrayInput
	// An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following [AWS document](https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-known-issues.html).
	SubnetIds pulumi.StringArrayInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// The Redshift Workgroup ID.
	WorkgroupId pulumi.StringPtrInput
	// The name of the workgroup.
	//
	// The following arguments are optional:
	WorkgroupName pulumi.StringPtrInput
}

func (WorkgroupState) ElementType added in v5.13.0

func (WorkgroupState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL