AWS Native

v0.43.0 published on Thursday, Dec 1, 2022 by Pulumi

Keyspace

Resource schema for AWS::Cassandra::Keyspace

Example Usage

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var myNewKeyspace = new AwsNative.Cassandra.Keyspace("myNewKeyspace", new()
    {
        KeyspaceName = "MyNewKeyspace",
        Tags = new[]
        {
            new AwsNative.Cassandra.Inputs.KeyspaceTagArgs
            {
                Key = "tag1",
                Value = "val1",
            },
            new AwsNative.Cassandra.Inputs.KeyspaceTagArgs
            {
                Key = "tag2",
                Value = "val2",
            },
        },
    });

});

Coming soon!

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

my_new_keyspace = aws_native.cassandra.Keyspace("myNewKeyspace",
    keyspace_name="MyNewKeyspace",
    tags=[
        aws_native.cassandra.KeyspaceTagArgs(
            key="tag1",
            value="val1",
        ),
        aws_native.cassandra.KeyspaceTagArgs(
            key="tag2",
            value="val2",
        ),
    ])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const myNewKeyspace = new aws_native.cassandra.Keyspace("myNewKeyspace", {
    keyspaceName: "MyNewKeyspace",
    tags: [
        {
            key: "tag1",
            value: "val1",
        },
        {
            key: "tag2",
            value: "val2",
        },
    ],
});

Coming soon!

Create Keyspace Resource

new Keyspace(name: string, args?: KeyspaceArgs, opts?: CustomResourceOptions);
@overload
def Keyspace(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             keyspace_name: Optional[str] = None,
             tags: Optional[Sequence[KeyspaceTagArgs]] = None)
@overload
def Keyspace(resource_name: str,
             args: Optional[KeyspaceArgs] = None,
             opts: Optional[ResourceOptions] = None)
func NewKeyspace(ctx *Context, name string, args *KeyspaceArgs, opts ...ResourceOption) (*Keyspace, error)
public Keyspace(string name, KeyspaceArgs? args = null, CustomResourceOptions? opts = null)
public Keyspace(String name, KeyspaceArgs args)
public Keyspace(String name, KeyspaceArgs args, CustomResourceOptions options)
type: aws-native:cassandra:Keyspace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args KeyspaceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args KeyspaceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args KeyspaceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args KeyspaceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args KeyspaceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Keyspace Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Keyspace resource accepts the following input properties:

KeyspaceName string

Name for Cassandra keyspace

Tags []KeyspaceTagArgs
keyspaceName String

Name for Cassandra keyspace

tags List<KeyspaceTagArgs>
keyspaceName string

Name for Cassandra keyspace

tags KeyspaceTagArgs[]
keyspace_name str

Name for Cassandra keyspace

tags Sequence[KeyspaceTagArgs]
keyspaceName String

Name for Cassandra keyspace

tags List<Property Map>

Outputs

All input properties are implicitly available as output properties. Additionally, the Keyspace resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

KeyspaceTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0