Class CfnSourceLocation
A source location is a container for sources.
Inherited Members
Namespace: Amazon.CDK.AWS.MediaTailor
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSourceLocation : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnSourceLocation
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
For more information about source locations, see Working with source locations in the MediaTailor User Guide .
CloudformationResource: AWS::MediaTailor::SourceLocation
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 cfnSourceLocation = new CfnSourceLocation(this, "MyCfnSourceLocation", new CfnSourceLocationProps {
HttpConfiguration = new HttpConfigurationProperty {
BaseUrl = "baseUrl"
},
SourceLocationName = "sourceLocationName",
// the properties below are optional
AccessConfiguration = new AccessConfigurationProperty {
AccessType = "accessType",
SecretsManagerAccessTokenConfiguration = new SecretsManagerAccessTokenConfigurationProperty {
HeaderName = "headerName",
SecretArn = "secretArn",
SecretStringKey = "secretStringKey"
}
},
DefaultSegmentDeliveryConfiguration = new DefaultSegmentDeliveryConfigurationProperty {
BaseUrl = "baseUrl"
},
SegmentDeliveryConfigurations = new [] { new SegmentDeliveryConfigurationProperty {
BaseUrl = "baseUrl",
Name = "name"
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnSourceLocation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnSourceLocation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnSourceLocation(Construct, String, ICfnSourceLocationProps) |
Properties
AccessConfiguration | The access configuration for the source location. |
AttrArn | <p>The ARN of the source location.</p>. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DefaultSegmentDeliveryConfiguration | The default segment delivery configuration. |
HttpConfiguration | The HTTP configuration for the source location. |
SegmentDeliveryConfigurations | The segment delivery configurations for the source location. |
SourceLocationName | The name of the source location. |
Tags | The tags assigned to the source location. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnSourceLocation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnSourceLocation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnSourceLocation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnSourceLocation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnSourceLocation(Construct, String, ICfnSourceLocationProps)
public CfnSourceLocation(Construct scope, string id, ICfnSourceLocationProps 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 ICfnSourceLocationProps
Resource properties.
Properties
AccessConfiguration
The access configuration for the source location.
public virtual object AccessConfiguration { get; set; }
Property Value
System.Object
AttrArn
<p>The ARN of the source location.</p>.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property 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.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
DefaultSegmentDeliveryConfiguration
The default segment delivery configuration.
public virtual object DefaultSegmentDeliveryConfiguration { get; set; }
Property Value
System.Object
HttpConfiguration
The HTTP configuration for the source location.
public virtual object HttpConfiguration { get; set; }
Property Value
System.Object
SegmentDeliveryConfigurations
The segment delivery configurations for the source location.
public virtual object SegmentDeliveryConfigurations { get; set; }
Property Value
System.Object
SourceLocationName
The name of the source location.
public virtual string SourceLocationName { get; set; }
Property Value
System.String
Tags
The tags assigned to the source location.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Methods
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>