We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.kinesis.getStream
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
Resource Type definition for AWS::Kinesis::Stream
Using getStream
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStream(args: GetStreamArgs, opts?: InvokeOptions): Promise<GetStreamResult>
function getStreamOutput(args: GetStreamOutputArgs, opts?: InvokeOptions): Output<GetStreamResult>def get_stream(name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetStreamResult
def get_stream_output(name: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetStreamResult]func LookupStream(ctx *Context, args *LookupStreamArgs, opts ...InvokeOption) (*LookupStreamResult, error)
func LookupStreamOutput(ctx *Context, args *LookupStreamOutputArgs, opts ...InvokeOption) LookupStreamResultOutput> Note: This function is named LookupStream in the Go SDK.
public static class GetStream 
{
    public static Task<GetStreamResult> InvokeAsync(GetStreamArgs args, InvokeOptions? opts = null)
    public static Output<GetStreamResult> Invoke(GetStreamInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStreamResult> getStream(GetStreamArgs args, InvokeOptions options)
public static Output<GetStreamResult> getStream(GetStreamArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:kinesis:getStream
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name of the Kinesis stream.
- Name string
- The name of the Kinesis stream.
- name String
- The name of the Kinesis stream.
- name string
- The name of the Kinesis stream.
- name str
- The name of the Kinesis stream.
- name String
- The name of the Kinesis stream.
getStream Result
The following output properties are available:
- Arn string
- The Amazon resource name (ARN) of the Kinesis stream
- RetentionPeriod intHours 
- The number of hours for the data records that are stored in shards to remain accessible.
- int
- The number of shards that the stream uses. Required when StreamMode = PROVISIONED is passed.
- StreamEncryption Pulumi.Aws Native. Kinesis. Outputs. Stream Encryption 
- When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream.
- StreamMode Pulumi.Details Aws Native. Kinesis. Outputs. Stream Mode Details 
- The mode in which the stream is running.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- An arbitrary set of tags (key–value pairs) to associate with the Kinesis stream.
- Arn string
- The Amazon resource name (ARN) of the Kinesis stream
- RetentionPeriod intHours 
- The number of hours for the data records that are stored in shards to remain accessible.
- int
- The number of shards that the stream uses. Required when StreamMode = PROVISIONED is passed.
- StreamEncryption StreamEncryption 
- When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream.
- StreamMode StreamDetails Mode Details 
- The mode in which the stream is running.
- Tag
- An arbitrary set of tags (key–value pairs) to associate with the Kinesis stream.
- arn String
- The Amazon resource name (ARN) of the Kinesis stream
- retentionPeriod IntegerHours 
- The number of hours for the data records that are stored in shards to remain accessible.
- Integer
- The number of shards that the stream uses. Required when StreamMode = PROVISIONED is passed.
- streamEncryption StreamEncryption 
- When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream.
- streamMode StreamDetails Mode Details 
- The mode in which the stream is running.
- List<Tag>
- An arbitrary set of tags (key–value pairs) to associate with the Kinesis stream.
- arn string
- The Amazon resource name (ARN) of the Kinesis stream
- retentionPeriod numberHours 
- The number of hours for the data records that are stored in shards to remain accessible.
- number
- The number of shards that the stream uses. Required when StreamMode = PROVISIONED is passed.
- streamEncryption StreamEncryption 
- When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream.
- streamMode StreamDetails Mode Details 
- The mode in which the stream is running.
- Tag[]
- An arbitrary set of tags (key–value pairs) to associate with the Kinesis stream.
- arn str
- The Amazon resource name (ARN) of the Kinesis stream
- retention_period_ inthours 
- The number of hours for the data records that are stored in shards to remain accessible.
- int
- The number of shards that the stream uses. Required when StreamMode = PROVISIONED is passed.
- stream_encryption StreamEncryption 
- When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream.
- stream_mode_ Streamdetails Mode Details 
- The mode in which the stream is running.
- Sequence[root_Tag]
- An arbitrary set of tags (key–value pairs) to associate with the Kinesis stream.
- arn String
- The Amazon resource name (ARN) of the Kinesis stream
- retentionPeriod NumberHours 
- The number of hours for the data records that are stored in shards to remain accessible.
- Number
- The number of shards that the stream uses. Required when StreamMode = PROVISIONED is passed.
- streamEncryption Property Map
- When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream.
- streamMode Property MapDetails 
- The mode in which the stream is running.
- List<Property Map>
- An arbitrary set of tags (key–value pairs) to associate with the Kinesis stream.
Supporting Types
StreamEncryption 
- EncryptionType Pulumi.Aws Native. Kinesis. Stream Encryption Encryption Type 
- The encryption type to use. The only valid value is KMS.
- KeyId string
- The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.
- EncryptionType StreamEncryption Encryption Type 
- The encryption type to use. The only valid value is KMS.
- KeyId string
- The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.
- encryptionType StreamEncryption Encryption Type 
- The encryption type to use. The only valid value is KMS.
- keyId String
- The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.
- encryptionType StreamEncryption Encryption Type 
- The encryption type to use. The only valid value is KMS.
- keyId string
- The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.
- encryption_type StreamEncryption Encryption Type 
- The encryption type to use. The only valid value is KMS.
- key_id str
- The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.
- encryptionType "KMS"
- The encryption type to use. The only valid value is KMS.
- keyId String
- The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.
StreamEncryptionEncryptionType   
StreamModeDetails  
- StreamMode Pulumi.Aws Native. Kinesis. Stream Mode Details Stream Mode 
- The mode of the stream
- StreamMode StreamMode Details Stream Mode 
- The mode of the stream
- streamMode StreamMode Details Stream Mode 
- The mode of the stream
- streamMode StreamMode Details Stream Mode 
- The mode of the stream
- stream_mode StreamMode Details Stream Mode 
- The mode of the stream
- streamMode "ON_DEMAND" | "PROVISIONED"
- The mode of the stream
StreamModeDetailsStreamMode    
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi