Keyspace constructor
Keyspace(
- String name, {
- KeyspaceArgs? args,
- CustomResourceOptions? options,
Creates a new Keyspace.
name The Pulumi resource name.
args Arguments used to configure this Keyspace. The set of arguments for Keyspace.
options Resource options controlling this resource's behavior.
Implementation
Keyspace(
String name, {
KeyspaceArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:keyspaces/keyspace:Keyspace',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
this.name = registerOutput<String>('name');
region = registerOutput<String>('region');
replicationSpecification = registerOutput<KeyspaceReplicationSpecification>('replicationSpecification', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return KeyspaceReplicationSpecification.fromMap((guardedValue as Map).cast<String, dynamic>()); });
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}