We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.kinesis.getStream
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:kinesis:getStream
arguments:
# arguments dictionary
The 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
- 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 Pulumi.Aws Native. Kinesis. Outputs. Stream Encryption - When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream.
- Stream
Mode 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
- 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.
- 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
- retention
Period 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.
- 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.
- 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
- retention
Period 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.
- 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.
- 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
- retention
Period 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.
- stream
Encryption Property Map - When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream.
- stream
Mode 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
- Encryption
Type Pulumi.Aws Native. Kinesis. Stream Encryption Encryption Type - The encryption type to use. The only valid value is KMS.
- Key
Id 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 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 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 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.
- encryption
Type "KMS" - The encryption type to use. The only valid value is KMS.
- key
Id 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
- Stream
Mode Pulumi.Aws Native. Kinesis. Stream Mode Details Stream Mode - The mode of the stream
- Stream
Mode StreamMode Details Stream Mode - The mode of the stream
- stream
Mode StreamMode Details Stream Mode - The mode of the stream
- stream
Mode StreamMode Details Stream Mode - The mode of the stream
- stream_
mode StreamMode Details Stream Mode - The mode of the stream
- stream
Mode "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 Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi