Class CfnLiveSource
Live source configuration parameters.
Inherited Members
Namespace: Amazon.CDK.AWS.MediaTailor
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLiveSource : CfnResource, IInspectable, ILiveSourceRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnLiveSource Inherits CfnResource Implements IInspectable, ILiveSourceRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
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.MediaTailor;
var cfnLiveSource = new CfnLiveSource(this, "MyCfnLiveSource", new CfnLiveSourceProps {
HttpPackageConfigurations = new [] { new HttpPackageConfigurationProperty {
Path = "path",
SourceGroup = "sourceGroup",
Type = "type"
} },
LiveSourceName = "liveSourceName",
SourceLocationName = "sourceLocationName",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
| CfnLiveSource(Construct, string, ICfnLiveSourceProps) | Create a new |
Properties
| AttrArn | <p>The ARN of the live source.</p>. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CdkTagManager | Tag Manager which manages the tags for this resource. |
| CfnProperties | Live source configuration parameters. |
| HttpPackageConfigurations | The HTTP package configurations for the live source. |
| LiveSourceName | The name that's used to refer to a live source. |
| LiveSourceRef | A reference to a LiveSource resource. |
| SourceLocationName | The name of the source location. |
| Tags | The tags assigned to the live source. |
Methods
| ArnForLiveSource(ILiveSourceRef) | Live source configuration parameters. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnLiveSource(object) | Checks whether the given object is a CfnLiveSource. |
| RenderProperties(IDictionary<string, object>) | Live source configuration parameters. |
Constructors
CfnLiveSource(Construct, string, ICfnLiveSourceProps)
Create a new AWS::MediaTailor::LiveSource.
public CfnLiveSource(Construct scope, string id, ICfnLiveSourceProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnLiveSourceProps
Resource properties.
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
ExampleMetadata: fixture=_generated
Properties
AttrArn
<p>The ARN of the live source.</p>.
public virtual string AttrArn { get; }
Property Value
Remarks
CloudformationAttribute: Arn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
ExampleMetadata: fixture=_generated
CfnProperties
Live source configuration parameters.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
ExampleMetadata: fixture=_generated
HttpPackageConfigurations
The HTTP package configurations for the live source.
public virtual object HttpPackageConfigurations { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnLiveSource.IHttpPackageConfigurationProperty)[]
LiveSourceName
The name that's used to refer to a live source.
public virtual string LiveSourceName { get; set; }
Property Value
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
ExampleMetadata: fixture=_generated
LiveSourceRef
A reference to a LiveSource resource.
public virtual ILiveSourceReference LiveSourceRef { get; }
Property Value
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
ExampleMetadata: fixture=_generated
SourceLocationName
The name of the source location.
public virtual string SourceLocationName { get; set; }
Property Value
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
ExampleMetadata: fixture=_generated
Tags
The tags assigned to the live source.
public virtual ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
ExampleMetadata: fixture=_generated
Methods
ArnForLiveSource(ILiveSourceRef)
Live source configuration parameters.
public static string ArnForLiveSource(ILiveSourceRef resource)
Parameters
- resource ILiveSourceRef
Returns
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
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.MediaTailor;
var cfnLiveSource = new CfnLiveSource(this, "MyCfnLiveSource", new CfnLiveSourceProps {
HttpPackageConfigurations = new [] { new HttpPackageConfigurationProperty {
Path = "path",
SourceGroup = "sourceGroup",
Type = "type"
} },
LiveSourceName = "liveSourceName",
SourceLocationName = "sourceLocationName",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
ExampleMetadata: fixture=_generated
IsCfnLiveSource(object)
Checks whether the given object is a CfnLiveSource.
public static bool IsCfnLiveSource(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Live source configuration parameters.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::MediaTailor::LiveSource
ExampleMetadata: fixture=_generated