@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
96 lines (95 loc) • 3.73 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Resource Type Definition for AWS::KinesisVideo::Stream
*/
export declare class Stream extends pulumi.CustomResource {
/**
* Get an existing Stream resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Stream;
/**
* Returns true if the given object is an instance of Stream. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Stream;
/**
* The Amazon Resource Name (ARN) of the Kinesis Video stream.
*/
readonly arn: pulumi.Output<string>;
/**
* The number of hours till which Kinesis Video will retain the data in the stream
*/
readonly dataRetentionInHours: pulumi.Output<number | undefined>;
/**
* The name of the device that is writing to the stream.
*/
readonly deviceName: pulumi.Output<string | undefined>;
/**
* AWS KMS key ID that Kinesis Video Streams uses to encrypt stream data.
*/
readonly kmsKeyId: pulumi.Output<string | undefined>;
/**
* The media type of the stream. Consumers of the stream can use this information when processing the stream.
*/
readonly mediaType: pulumi.Output<string | undefined>;
/**
* The name of the Kinesis Video stream.
*/
readonly name: pulumi.Output<string | undefined>;
/**
* Configuration for the storage tier of the Kinesis Video Stream.
*/
readonly streamStorageConfiguration: pulumi.Output<outputs.kinesisvideo.StreamStorageConfiguration | undefined>;
/**
* An array of key-value pairs associated with the Kinesis Video Stream.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
/**
* Create a Stream resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: StreamArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Stream resource.
*/
export interface StreamArgs {
/**
* The number of hours till which Kinesis Video will retain the data in the stream
*/
dataRetentionInHours?: pulumi.Input<number>;
/**
* The name of the device that is writing to the stream.
*/
deviceName?: pulumi.Input<string>;
/**
* AWS KMS key ID that Kinesis Video Streams uses to encrypt stream data.
*/
kmsKeyId?: pulumi.Input<string>;
/**
* The media type of the stream. Consumers of the stream can use this information when processing the stream.
*/
mediaType?: pulumi.Input<string>;
/**
* The name of the Kinesis Video stream.
*/
name?: pulumi.Input<string>;
/**
* Configuration for the storage tier of the Kinesis Video Stream.
*/
streamStorageConfiguration?: pulumi.Input<inputs.kinesisvideo.StreamStorageConfigurationArgs>;
/**
* An array of key-value pairs associated with the Kinesis Video Stream.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
}