published on Friday, Nov 13, 2026 by Pulumi
published on Friday, Nov 13, 2026 by Pulumi
Manages an AWS DSQL Stream.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleCluster = new aws.dsql.Cluster("example", {});
const exampleStream = new aws.kinesis.Stream("example", {
name: "example",
shardCount: 1,
});
const example = new aws.dsql.Stream("example", {
targetDefinition: {
kinesis: {
roleArn: exampleAwsIamRole.arn,
streamArn: exampleStream.arn,
},
},
clusterIdentifier: exampleCluster.identifier,
format: "JSON",
ordering: "UNORDERED",
}, {
dependsOn: [exampleAwsIamRolePolicy],
});
import pulumi
import pulumi_aws as aws
example_cluster = aws.dsql.Cluster("example")
example_stream = aws.kinesis.Stream("example",
name="example",
shard_count=1)
example = aws.dsql.Stream("example",
target_definition={
"kinesis": {
"role_arn": example_aws_iam_role["arn"],
"stream_arn": example_stream.arn,
},
},
cluster_identifier=example_cluster.identifier,
format="JSON",
ordering="UNORDERED",
opts = pulumi.ResourceOptions(depends_on=[example_aws_iam_role_policy]))
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/dsql"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/kinesis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleCluster, err := dsql.NewCluster(ctx, "example", nil)
if err != nil {
return err
}
exampleStream, err := kinesis.NewStream(ctx, "example", &kinesis.StreamArgs{
Name: pulumi.String("example"),
ShardCount: pulumi.Int(1),
})
if err != nil {
return err
}
_, err = dsql.NewStream(ctx, "example", &dsql.StreamArgs{
TargetDefinition: &dsql.StreamTargetDefinitionArgs{
Kinesis: &dsql.StreamTargetDefinitionKinesisArgs{
RoleArn: pulumi.Any(exampleAwsIamRole.Arn),
StreamArn: exampleStream.Arn,
},
},
ClusterIdentifier: exampleCluster.Identifier,
Format: pulumi.String("JSON"),
Ordering: pulumi.String("UNORDERED"),
}, pulumi.DependsOn([]pulumi.Resource{
exampleAwsIamRolePolicy,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var exampleCluster = new Aws.Dsql.Cluster("example");
var exampleStream = new Aws.Kinesis.Stream("example", new()
{
Name = "example",
ShardCount = 1,
});
var example = new Aws.Dsql.Stream("example", new()
{
TargetDefinition = new Aws.Dsql.Inputs.StreamTargetDefinitionArgs
{
Kinesis = new Aws.Dsql.Inputs.StreamTargetDefinitionKinesisArgs
{
RoleArn = exampleAwsIamRole.Arn,
StreamArn = exampleStream.Arn,
},
},
ClusterIdentifier = exampleCluster.Identifier,
Format = "JSON",
Ordering = "UNORDERED",
}, new CustomResourceOptions
{
DependsOn =
{
exampleAwsIamRolePolicy,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.dsql.Cluster;
import com.pulumi.aws.dsql.inputs.StreamTargetDefinitionArgs;
import com.pulumi.aws.dsql.inputs.StreamTargetDefinitionKinesisArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleCluster = new Cluster("exampleCluster");
var exampleStream = new com.pulumi.aws.kinesis.Stream("exampleStream", com.pulumi.aws.kinesis.StreamArgs.builder()
.name("example")
.shardCount(1)
.build());
var example = new com.pulumi.aws.dsql.Stream("example", com.pulumi.aws.dsql.StreamArgs.builder()
.targetDefinition(StreamTargetDefinitionArgs.builder()
.kinesis(StreamTargetDefinitionKinesisArgs.builder()
.roleArn(exampleAwsIamRole.get("arn"))
.streamArn(exampleStream.arn())
.build())
.build())
.clusterIdentifier(exampleCluster.identifier())
.format("JSON")
.ordering("UNORDERED")
.build(), CustomResourceOptions.builder()
.dependsOn(exampleAwsIamRolePolicy)
.build());
}
}
resources:
example:
type: aws:dsql:Stream
properties:
targetDefinition:
kinesis:
roleArn: ${exampleAwsIamRole.arn}
streamArn: ${exampleStream.arn}
clusterIdentifier: ${exampleCluster.identifier}
format: JSON
ordering: UNORDERED
options:
dependsOn:
- ${exampleAwsIamRolePolicy}
exampleCluster:
type: aws:dsql:Cluster
name: example
exampleStream:
type: aws:kinesis:Stream
name: example
properties:
name: example
shardCount: 1
terraform {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_dsql_stream" "example" {
depends_on = [exampleAwsIamRolePolicy]
lifecycle {
create_before_destroy = true
}
target_definition {
kinesis {
role_arn = exampleAwsIamRole.arn
stream_arn = aws_kinesis_stream.example.arn
}
}
cluster_identifier = aws_dsql_cluster.example.identifier
format = "JSON"
ordering = "UNORDERED"
}
resource "aws_dsql_cluster" "example" {
lifecycle {
create_before_destroy = true
}
}
resource "aws_kinesis_stream" "example" {
lifecycle {
create_before_destroy = true
}
name = "example"
shard_count = 1
}
Create Stream Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Stream(name: string, args: StreamArgs, opts?: CustomResourceOptions);@overload
def Stream(resource_name: str,
args: StreamArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Stream(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_identifier: Optional[str] = None,
format: Optional[str] = None,
ordering: Optional[str] = None,
target_definition: Optional[StreamTargetDefinitionArgs] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[StreamTimeoutsArgs] = None)func NewStream(ctx *Context, name string, args StreamArgs, opts ...ResourceOption) (*Stream, error)public Stream(string name, StreamArgs args, CustomResourceOptions? opts = null)
public Stream(String name, StreamArgs args)
public Stream(String name, StreamArgs args, CustomResourceOptions options)
type: aws:dsql:Stream
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_dsql_stream" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args StreamArgs
- 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 StreamArgs
- 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 StreamArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StreamArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var streamResource = new Aws.Dsql.Stream("streamResource", new()
{
ClusterIdentifier = "string",
Format = "string",
Ordering = "string",
TargetDefinition = new Aws.Dsql.Inputs.StreamTargetDefinitionArgs
{
Kinesis = new Aws.Dsql.Inputs.StreamTargetDefinitionKinesisArgs
{
RoleArn = "string",
StreamArn = "string",
},
},
Region = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Dsql.Inputs.StreamTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := dsql.NewStream(ctx, "streamResource", &dsql.StreamArgs{
ClusterIdentifier: pulumi.String("string"),
Format: pulumi.String("string"),
Ordering: pulumi.String("string"),
TargetDefinition: &dsql.StreamTargetDefinitionArgs{
Kinesis: &dsql.StreamTargetDefinitionKinesisArgs{
RoleArn: pulumi.String("string"),
StreamArn: pulumi.String("string"),
},
},
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &dsql.StreamTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
resource "aws_dsql_stream" "streamResource" {
lifecycle {
create_before_destroy = true
}
cluster_identifier = "string"
format = "string"
ordering = "string"
target_definition = {
kinesis = {
role_arn = "string"
stream_arn = "string"
}
}
region = "string"
tags = {
"string" = "string"
}
_ {
timeouts = {
create = "string"
delete = "string"
}
}
}
var streamResource = new com.pulumi.aws.dsql.Stream("streamResource", com.pulumi.aws.dsql.StreamArgs.builder()
.clusterIdentifier("string")
.format("string")
.ordering("string")
.targetDefinition(StreamTargetDefinitionArgs.builder()
.kinesis(StreamTargetDefinitionKinesisArgs.builder()
.roleArn("string")
.streamArn("string")
.build())
.build())
.region("string")
.tags(Map.of("string", "string"))
.timeouts(StreamTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
stream_resource = aws.dsql.Stream("streamResource",
cluster_identifier="string",
format="string",
ordering="string",
target_definition={
"kinesis": {
"role_arn": "string",
"stream_arn": "string",
},
},
region="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
})
const streamResource = new aws.dsql.Stream("streamResource", {
clusterIdentifier: "string",
format: "string",
ordering: "string",
targetDefinition: {
kinesis: {
roleArn: "string",
streamArn: "string",
},
},
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
},
});
type: aws:dsql:Stream
properties:
clusterIdentifier: string
format: string
ordering: string
region: string
tags:
string: string
targetDefinition:
kinesis:
roleArn: string
streamArn: string
timeouts:
create: string
delete: string
Stream Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Stream resource accepts the following input properties:
- Cluster
Identifier string - ID of the cluster for which to create the stream.
- Format string
- Format of the stream records. Valid values:
JSON. - Ordering string
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - Target
Definition StreamTarget Definition Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Stream
Timeouts
- Cluster
Identifier string - ID of the cluster for which to create the stream.
- Format string
- Format of the stream records. Valid values:
JSON. - Ordering string
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - Target
Definition StreamTarget Definition Args Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Stream
Timeouts Args
- cluster_
identifier string - ID of the cluster for which to create the stream.
- format string
- Format of the stream records. Valid values:
JSON. - ordering string
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - target_
definition object Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts object
- cluster
Identifier String - ID of the cluster for which to create the stream.
- format String
- Format of the stream records. Valid values:
JSON. - ordering String
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - target
Definition StreamTarget Definition Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Stream
Timeouts
- cluster
Identifier string - ID of the cluster for which to create the stream.
- format string
- Format of the stream records. Valid values:
JSON. - ordering string
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - target
Definition StreamTarget Definition Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Stream
Timeouts
- cluster_
identifier str - ID of the cluster for which to create the stream.
- format str
- Format of the stream records. Valid values:
JSON. - ordering str
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - target_
definition StreamTarget Definition Args Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Stream
Timeouts Args
- cluster
Identifier String - ID of the cluster for which to create the stream.
- format String
- Format of the stream records. Valid values:
JSON. - ordering String
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - target
Definition Property Map Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Stream resource produces the following output properties:
- Arn string
- ARN of the retrieved stream.
- Creation
Time string - Time when the stream was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - Stream
Identifier string - ID of the retrieved stream.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN of the retrieved stream.
- Creation
Time string - Time when the stream was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - Stream
Identifier string - ID of the retrieved stream.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the retrieved stream.
- creation_
time string - Time when the stream was created.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - stream_
identifier string - ID of the retrieved stream.
- map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the retrieved stream.
- creation
Time String - Time when the stream was created.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - stream
Identifier String - ID of the retrieved stream.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the retrieved stream.
- creation
Time string - Time when the stream was created.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - stream
Identifier string - ID of the retrieved stream.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN of the retrieved stream.
- creation_
time str - Time when the stream was created.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - stream_
identifier str - ID of the retrieved stream.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the retrieved stream.
- creation
Time String - Time when the stream was created.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - stream
Identifier String - ID of the retrieved stream.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing Stream Resource
Get an existing Stream resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: StreamState, opts?: CustomResourceOptions): Stream@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
cluster_identifier: Optional[str] = None,
creation_time: Optional[str] = None,
format: Optional[str] = None,
ordering: Optional[str] = None,
region: Optional[str] = None,
status: Optional[str] = None,
stream_identifier: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
target_definition: Optional[StreamTargetDefinitionArgs] = None,
timeouts: Optional[StreamTimeoutsArgs] = None) -> Streamfunc GetStream(ctx *Context, name string, id IDInput, state *StreamState, opts ...ResourceOption) (*Stream, error)public static Stream Get(string name, Input<string> id, StreamState? state, CustomResourceOptions? opts = null)public static Stream get(String name, Output<String> id, StreamState state, CustomResourceOptions options)resources: existingStream: type: aws:dsql:Stream get: id: ${id}import {
to = aws_dsql_stream.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state StreamState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state StreamState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state StreamState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state StreamState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Arn string
- ARN of the retrieved stream.
- Cluster
Identifier string - ID of the cluster for which to create the stream.
- Creation
Time string - Time when the stream was created.
- Format string
- Format of the stream records. Valid values:
JSON. - Ordering string
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - Stream
Identifier string - ID of the retrieved stream.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Target
Definition StreamTarget Definition Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- Timeouts
Stream
Timeouts
- Arn string
- ARN of the retrieved stream.
- Cluster
Identifier string - ID of the cluster for which to create the stream.
- Creation
Time string - Time when the stream was created.
- Format string
- Format of the stream records. Valid values:
JSON. - Ordering string
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - Stream
Identifier string - ID of the retrieved stream.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Target
Definition StreamTarget Definition Args Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- Timeouts
Stream
Timeouts Args
- arn string
- ARN of the retrieved stream.
- cluster_
identifier string - ID of the cluster for which to create the stream.
- creation_
time string - Time when the stream was created.
- format string
- Format of the stream records. Valid values:
JSON. - ordering string
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status string
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - stream_
identifier string - ID of the retrieved stream.
- map(string)
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - target_
definition object Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- timeouts object
- arn String
- ARN of the retrieved stream.
- cluster
Identifier String - ID of the cluster for which to create the stream.
- creation
Time String - Time when the stream was created.
- format String
- Format of the stream records. Valid values:
JSON. - ordering String
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - stream
Identifier String - ID of the retrieved stream.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - target
Definition StreamTarget Definition Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- timeouts
Stream
Timeouts
- arn string
- ARN of the retrieved stream.
- cluster
Identifier string - ID of the cluster for which to create the stream.
- creation
Time string - Time when the stream was created.
- format string
- Format of the stream records. Valid values:
JSON. - ordering string
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status string
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - stream
Identifier string - ID of the retrieved stream.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - target
Definition StreamTarget Definition Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- timeouts
Stream
Timeouts
- arn str
- ARN of the retrieved stream.
- cluster_
identifier str - ID of the cluster for which to create the stream.
- creation_
time str - Time when the stream was created.
- format str
- Format of the stream records. Valid values:
JSON. - ordering str
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status str
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - stream_
identifier str - ID of the retrieved stream.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - target_
definition StreamTarget Definition Args Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- timeouts
Stream
Timeouts Args
- arn String
- ARN of the retrieved stream.
- cluster
Identifier String - ID of the cluster for which to create the stream.
- creation
Time String - Time when the stream was created.
- format String
- Format of the stream records. Valid values:
JSON. - ordering String
- Ordering mode for the stream. Determines how change events are ordered when delivered to the target. Valid values:
UNORDERED. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- Current status of the retrieved stream. Valid values:
CREATING,ACTIVE,DELETING,DELETED,FAILED,IMPAIRED. - stream
Identifier String - ID of the retrieved stream.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - target
Definition Property Map Target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN. See
targetDefinitionBlock below.The following arguments are optional:
- timeouts Property Map
Supporting Types
StreamTargetDefinition, StreamTargetDefinitionArgs
- Kinesis
Stream
Target Definition Kinesis - Kinesis stream target configuration. See
target_definition.kinesisBlock below.
- Kinesis
Stream
Target Definition Kinesis - Kinesis stream target configuration. See
target_definition.kinesisBlock below.
- kinesis
Stream
Target Definition Kinesis - Kinesis stream target configuration. See
target_definition.kinesisBlock below.
- kinesis
Stream
Target Definition Kinesis - Kinesis stream target configuration. See
target_definition.kinesisBlock below.
- kinesis
Stream
Target Definition Kinesis - Kinesis stream target configuration. See
target_definition.kinesisBlock below.
- kinesis Property Map
- Kinesis stream target configuration. See
target_definition.kinesisBlock below.
StreamTargetDefinitionKinesis, StreamTargetDefinitionKinesisArgs
- Role
Arn string - ARN of the IAM role that grants permission to write to the Kinesis stream. This can be a standard role ( arn:aws:iam::account-id:role/role-name ) or a role with a path prefix ( arn:aws:iam::account-id:role/service-role/role-name ), such as roles auto-created by the console.
- Stream
Arn string - ARN of the Kinesis stream.
- Role
Arn string - ARN of the IAM role that grants permission to write to the Kinesis stream. This can be a standard role ( arn:aws:iam::account-id:role/role-name ) or a role with a path prefix ( arn:aws:iam::account-id:role/service-role/role-name ), such as roles auto-created by the console.
- Stream
Arn string - ARN of the Kinesis stream.
- role_
arn string - ARN of the IAM role that grants permission to write to the Kinesis stream. This can be a standard role ( arn:aws:iam::account-id:role/role-name ) or a role with a path prefix ( arn:aws:iam::account-id:role/service-role/role-name ), such as roles auto-created by the console.
- stream_
arn string - ARN of the Kinesis stream.
- role
Arn String - ARN of the IAM role that grants permission to write to the Kinesis stream. This can be a standard role ( arn:aws:iam::account-id:role/role-name ) or a role with a path prefix ( arn:aws:iam::account-id:role/service-role/role-name ), such as roles auto-created by the console.
- stream
Arn String - ARN of the Kinesis stream.
- role
Arn string - ARN of the IAM role that grants permission to write to the Kinesis stream. This can be a standard role ( arn:aws:iam::account-id:role/role-name ) or a role with a path prefix ( arn:aws:iam::account-id:role/service-role/role-name ), such as roles auto-created by the console.
- stream
Arn string - ARN of the Kinesis stream.
- role_
arn str - ARN of the IAM role that grants permission to write to the Kinesis stream. This can be a standard role ( arn:aws:iam::account-id:role/role-name ) or a role with a path prefix ( arn:aws:iam::account-id:role/service-role/role-name ), such as roles auto-created by the console.
- stream_
arn str - ARN of the Kinesis stream.
- role
Arn String - ARN of the IAM role that grants permission to write to the Kinesis stream. This can be a standard role ( arn:aws:iam::account-id:role/role-name ) or a role with a path prefix ( arn:aws:iam::account-id:role/service-role/role-name ), such as roles auto-created by the console.
- stream
Arn String - ARN of the Kinesis stream.
StreamTimeouts, StreamTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Import
Identity Schema
Required
clusterIdentifier(String) ID of the cluster for which to create the stream.streamIdentifier(String) ID of the retrieved stream.
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import DSQL Stream using the clusterIdentifier and streamIdentifier, separated by a comma. For example:
$ pulumi import aws:dsql/stream:Stream example "cluster-identifier-0123456789abcdef0,stream-identifier-0123456789abcdef0"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Friday, Nov 13, 2026 by Pulumi