Class CfnStreamKey
The AWS::IVS::StreamKey
resource specifies an stream key associated with the referenced channel.
Inherited Members
Namespace: Amazon.CDK.AWS.Ivs
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStreamKey : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnStreamKey
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
Use a stream key to initiate a live stream.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-streamkey.html
CloudformationResource: AWS::IVS::StreamKey
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Ivs;
var cfnStreamKey = new CfnStreamKey(this, "MyCfnStreamKey", new CfnStreamKeyProps {
ChannelArn = "channelArn",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
Cfn |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cfn |
Used by jsii to construct an instance of this class from DeputyProps |
Cfn |
Properties
Attr |
The stream-key ARN. |
Attr |
The stream-key value. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Cfn |
|
Channel |
Channel ARN for the stream. |
Tags | Tag Manager which manages the tags for this resource. |
Tags |
An array of key-value pairs to apply to this resource. |
Methods
Inspect(Tree |
Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnStreamKey(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnStreamKey(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
CfnStreamKey(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnStreamKey(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
CfnStreamKey(Construct, String, ICfnStreamKeyProps)
public CfnStreamKey(Construct scope, string id, ICfnStreamKeyProps props)
Parameters
- scope Constructs.
Construct Scope in which this resource is defined.
- id System.
String Construct identifier for this resource (unique in its scope).
- props ICfn
Stream Key Props Resource properties.
Properties
AttrArn
The stream-key ARN.
public virtual string AttrArn { get; }
Property Value
System.
Remarks
For example: arn:aws:ivs:us-west-2:123456789012:stream-key/g1H2I3j4k5L6
CloudformationAttribute: Arn
AttrValue
The stream-key value.
public virtual string AttrValue { get; }
Property Value
System.
Remarks
For example: sk_us-west-2_abcdABCDefgh_567890abcdef
CloudformationAttribute: Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.
Overrides
ChannelArn
Channel ARN for the stream.
public virtual string ChannelArn { get; set; }
Property Value
System.
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfn
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector Tree
Inspector tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.
Collections. <System.Generic. IDictionary String , System.Object >
Returns
System.