redshiftserverless

package
v5.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 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 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.StringPtrOutput `pulumi:"dbName"`
	// The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
	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"`
	Tags          pulumi.StringMapOutput `pulumi:"tags"`
	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 Servreless 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.
	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
	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

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.

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

func (NamespaceOutput) TagsAll

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.
	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
	Tags          pulumi.StringMapInput
	TagsAll       pulumi.StringMapInput
}

func (NamespaceState) ElementType

func (NamespaceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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