keyspaces

package
v5.4.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keyspace

type Keyspace struct {
	pulumi.CustomResourceState

	// The ARN of the subnet group.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the keyspace to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a Keyspaces Keyspace.

More information about keyspaces can be found in the [Keyspaces User Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/what-is-keyspaces.html).

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := keyspaces.NewKeyspace(ctx, "example", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Use the `name` to import a subnet group. For example

```sh

$ pulumi import aws:keyspaces/keyspace:Keyspace example my_keyspace

```

func GetKeyspace

func GetKeyspace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeyspaceState, opts ...pulumi.ResourceOption) (*Keyspace, error)

GetKeyspace gets an existing Keyspace 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 NewKeyspace

func NewKeyspace(ctx *pulumi.Context,
	name string, args *KeyspaceArgs, opts ...pulumi.ResourceOption) (*Keyspace, error)

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

func (*Keyspace) ElementType

func (*Keyspace) ElementType() reflect.Type

func (*Keyspace) ToKeyspaceOutput

func (i *Keyspace) ToKeyspaceOutput() KeyspaceOutput

func (*Keyspace) ToKeyspaceOutputWithContext

func (i *Keyspace) ToKeyspaceOutputWithContext(ctx context.Context) KeyspaceOutput

type KeyspaceArgs

type KeyspaceArgs struct {
	// The name of the keyspace to be created.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll pulumi.StringMapInput
}

The set of arguments for constructing a Keyspace resource.

func (KeyspaceArgs) ElementType

func (KeyspaceArgs) ElementType() reflect.Type

type KeyspaceArray

type KeyspaceArray []KeyspaceInput

func (KeyspaceArray) ElementType

func (KeyspaceArray) ElementType() reflect.Type

func (KeyspaceArray) ToKeyspaceArrayOutput

func (i KeyspaceArray) ToKeyspaceArrayOutput() KeyspaceArrayOutput

func (KeyspaceArray) ToKeyspaceArrayOutputWithContext

func (i KeyspaceArray) ToKeyspaceArrayOutputWithContext(ctx context.Context) KeyspaceArrayOutput

type KeyspaceArrayInput

type KeyspaceArrayInput interface {
	pulumi.Input

	ToKeyspaceArrayOutput() KeyspaceArrayOutput
	ToKeyspaceArrayOutputWithContext(context.Context) KeyspaceArrayOutput
}

KeyspaceArrayInput is an input type that accepts KeyspaceArray and KeyspaceArrayOutput values. You can construct a concrete instance of `KeyspaceArrayInput` via:

KeyspaceArray{ KeyspaceArgs{...} }

type KeyspaceArrayOutput

type KeyspaceArrayOutput struct{ *pulumi.OutputState }

func (KeyspaceArrayOutput) ElementType

func (KeyspaceArrayOutput) ElementType() reflect.Type

func (KeyspaceArrayOutput) Index

func (KeyspaceArrayOutput) ToKeyspaceArrayOutput

func (o KeyspaceArrayOutput) ToKeyspaceArrayOutput() KeyspaceArrayOutput

func (KeyspaceArrayOutput) ToKeyspaceArrayOutputWithContext

func (o KeyspaceArrayOutput) ToKeyspaceArrayOutputWithContext(ctx context.Context) KeyspaceArrayOutput

type KeyspaceInput

type KeyspaceInput interface {
	pulumi.Input

	ToKeyspaceOutput() KeyspaceOutput
	ToKeyspaceOutputWithContext(ctx context.Context) KeyspaceOutput
}

type KeyspaceMap

type KeyspaceMap map[string]KeyspaceInput

func (KeyspaceMap) ElementType

func (KeyspaceMap) ElementType() reflect.Type

func (KeyspaceMap) ToKeyspaceMapOutput

func (i KeyspaceMap) ToKeyspaceMapOutput() KeyspaceMapOutput

func (KeyspaceMap) ToKeyspaceMapOutputWithContext

func (i KeyspaceMap) ToKeyspaceMapOutputWithContext(ctx context.Context) KeyspaceMapOutput

type KeyspaceMapInput

type KeyspaceMapInput interface {
	pulumi.Input

	ToKeyspaceMapOutput() KeyspaceMapOutput
	ToKeyspaceMapOutputWithContext(context.Context) KeyspaceMapOutput
}

KeyspaceMapInput is an input type that accepts KeyspaceMap and KeyspaceMapOutput values. You can construct a concrete instance of `KeyspaceMapInput` via:

KeyspaceMap{ "key": KeyspaceArgs{...} }

type KeyspaceMapOutput

type KeyspaceMapOutput struct{ *pulumi.OutputState }

func (KeyspaceMapOutput) ElementType

func (KeyspaceMapOutput) ElementType() reflect.Type

func (KeyspaceMapOutput) MapIndex

func (KeyspaceMapOutput) ToKeyspaceMapOutput

func (o KeyspaceMapOutput) ToKeyspaceMapOutput() KeyspaceMapOutput

func (KeyspaceMapOutput) ToKeyspaceMapOutputWithContext

func (o KeyspaceMapOutput) ToKeyspaceMapOutputWithContext(ctx context.Context) KeyspaceMapOutput

type KeyspaceOutput

type KeyspaceOutput struct{ *pulumi.OutputState }

func (KeyspaceOutput) Arn added in v5.4.0

The ARN of the subnet group.

func (KeyspaceOutput) ElementType

func (KeyspaceOutput) ElementType() reflect.Type

func (KeyspaceOutput) Name added in v5.4.0

The name of the keyspace to be created.

func (KeyspaceOutput) Tags added in v5.4.0

A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.

func (KeyspaceOutput) TagsAll added in v5.4.0

A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).

func (KeyspaceOutput) ToKeyspaceOutput

func (o KeyspaceOutput) ToKeyspaceOutput() KeyspaceOutput

func (KeyspaceOutput) ToKeyspaceOutputWithContext

func (o KeyspaceOutput) ToKeyspaceOutputWithContext(ctx context.Context) KeyspaceOutput

type KeyspaceState

type KeyspaceState struct {
	// The ARN of the subnet group.
	Arn pulumi.StringPtrInput
	// The name of the keyspace to be created.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll pulumi.StringMapInput
}

func (KeyspaceState) ElementType

func (KeyspaceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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