We recommend new projects start with resources from the AWS provider.
We recommend new projects start with resources from the AWS provider.
Resource Type Definition for AWS::KinesisVideo::Stream
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: Optional[StreamArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Stream(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_retention_in_hours: Optional[int] = None,
device_name: Optional[str] = None,
kms_key_id: Optional[str] = None,
media_type: Optional[str] = None,
name: Optional[str] = None,
stream_storage_configuration: Optional[StreamStorageConfigurationArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewStream(ctx *Context, name string, args *StreamArgs, opts ...ResourceOption) (*Stream, error)public Stream(string name, StreamArgs? args = null, CustomResourceOptions? opts = null)
public Stream(String name, StreamArgs args)
public Stream(String name, StreamArgs args, CustomResourceOptions options)
type: aws-native:kinesisvideo:Stream
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
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.
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:
- Data
Retention intIn Hours - The number of hours till which Kinesis Video will retain the data in the stream
- Device
Name string - The name of the device that is writing to the stream.
- Kms
Key stringId - AWS KMS key ID that Kinesis Video Streams uses to encrypt stream data.
- Media
Type string - The media type of the stream. Consumers of the stream can use this information when processing the stream.
- Name string
- The name of the Kinesis Video stream.
- Stream
Storage Pulumi.Configuration Aws Native. Kinesis Video. Inputs. Stream Storage Configuration - Configuration for the storage tier of the Kinesis Video Stream.
-
List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs associated with the Kinesis Video Stream.
- Data
Retention intIn Hours - The number of hours till which Kinesis Video will retain the data in the stream
- Device
Name string - The name of the device that is writing to the stream.
- Kms
Key stringId - AWS KMS key ID that Kinesis Video Streams uses to encrypt stream data.
- Media
Type string - The media type of the stream. Consumers of the stream can use this information when processing the stream.
- Name string
- The name of the Kinesis Video stream.
- Stream
Storage StreamConfiguration Storage Configuration Args - Configuration for the storage tier of the Kinesis Video Stream.
-
Tag
Args - An array of key-value pairs associated with the Kinesis Video Stream.
- data
Retention IntegerIn Hours - The number of hours till which Kinesis Video will retain the data in the stream
- device
Name String - The name of the device that is writing to the stream.
- kms
Key StringId - AWS KMS key ID that Kinesis Video Streams uses to encrypt stream data.
- media
Type String - The media type of the stream. Consumers of the stream can use this information when processing the stream.
- name String
- The name of the Kinesis Video stream.
- stream
Storage StreamConfiguration Storage Configuration - Configuration for the storage tier of the Kinesis Video Stream.
- List<Tag>
- An array of key-value pairs associated with the Kinesis Video Stream.
- data
Retention numberIn Hours - The number of hours till which Kinesis Video will retain the data in the stream
- device
Name string - The name of the device that is writing to the stream.
- kms
Key stringId - AWS KMS key ID that Kinesis Video Streams uses to encrypt stream data.
- media
Type string - The media type of the stream. Consumers of the stream can use this information when processing the stream.
- name string
- The name of the Kinesis Video stream.
- stream
Storage StreamConfiguration Storage Configuration - Configuration for the storage tier of the Kinesis Video Stream.
- Tag[]
- An array of key-value pairs associated with the Kinesis Video Stream.
- data_
retention_ intin_ hours - The number of hours till which Kinesis Video will retain the data in the stream
- device_
name str - The name of the device that is writing to the stream.
- kms_
key_ strid - AWS KMS key ID that Kinesis Video Streams uses to encrypt stream data.
- media_
type str - The media type of the stream. Consumers of the stream can use this information when processing the stream.
- name str
- The name of the Kinesis Video stream.
- stream_
storage_ Streamconfiguration Storage Configuration Args - Configuration for the storage tier of the Kinesis Video Stream.
-
Sequence[Tag
Args] - An array of key-value pairs associated with the Kinesis Video Stream.
- data
Retention NumberIn Hours - The number of hours till which Kinesis Video will retain the data in the stream
- device
Name String - The name of the device that is writing to the stream.
- kms
Key StringId - AWS KMS key ID that Kinesis Video Streams uses to encrypt stream data.
- media
Type String - The media type of the stream. Consumers of the stream can use this information when processing the stream.
- name String
- The name of the Kinesis Video stream.
- stream
Storage Property MapConfiguration - Configuration for the storage tier of the Kinesis Video Stream.
- List<Property Map>
- An array of key-value pairs associated with the Kinesis Video Stream.
Outputs
All input properties are implicitly available as output properties. Additionally, the Stream resource produces the following output properties:
Supporting Types
StreamStorageConfiguration, StreamStorageConfigurationArgs
Configuration for the storage tier of the Kinesis Video Stream.- Default
Storage Pulumi.Tier Aws Native. Kinesis Video. Stream Storage Configuration Default Storage Tier - The storage tier for the Kinesis Video Stream. Determines the storage class used for stream data.
- Default
Storage StreamTier Storage Configuration Default Storage Tier - The storage tier for the Kinesis Video Stream. Determines the storage class used for stream data.
- default
Storage StreamTier Storage Configuration Default Storage Tier - The storage tier for the Kinesis Video Stream. Determines the storage class used for stream data.
- default
Storage StreamTier Storage Configuration Default Storage Tier - The storage tier for the Kinesis Video Stream. Determines the storage class used for stream data.
- default_
storage_ Streamtier Storage Configuration Default Storage Tier - The storage tier for the Kinesis Video Stream. Determines the storage class used for stream data.
- default
Storage "HOT" | "WARM"Tier - The storage tier for the Kinesis Video Stream. Determines the storage class used for stream data.
StreamStorageConfigurationDefaultStorageTier, StreamStorageConfigurationDefaultStorageTierArgs
- Hot
- HOT
- Warm
- WARM
- Stream
Storage Configuration Default Storage Tier Hot - HOT
- Stream
Storage Configuration Default Storage Tier Warm - WARM
- Hot
- HOT
- Warm
- WARM
- Hot
- HOT
- Warm
- WARM
- HOT
- HOT
- WARM
- WARM
- "HOT"
- HOT
- "WARM"
- WARM
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
