Class CfnOriginEndpointPolicy
Specifies the configuration parameters of a policy associated with a MediaPackage V2 origin endpoint.
Implements
Inherited Members
Namespace: Amazon.CDK.AwsMediapackagev2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnOriginEndpointPolicy : CfnResource, IInspectable
Syntax (vb)
Public Class CfnOriginEndpointPolicy
Inherits CfnResource
Implements IInspectable
Remarks
CloudformationResource: AWS::MediaPackageV2::OriginEndpointPolicy
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_mediapackagev2;
var policy;
var cfnOriginEndpointPolicy = new CfnOriginEndpointPolicy(this, "MyCfnOriginEndpointPolicy", new CfnOriginEndpointPolicyProps {
ChannelGroupName = "channelGroupName",
ChannelName = "channelName",
OriginEndpointName = "originEndpointName",
Policy = policy
});
Synopsis
Constructors
CfnOriginEndpointPolicy(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnOriginEndpointPolicy(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnOriginEndpointPolicy(Construct, String, ICfnOriginEndpointPolicyProps) |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ChannelGroupName | The name of the channel group associated with the origin endpoint policy. |
ChannelName | The channel name associated with the origin endpoint policy. |
OriginEndpointName | The name of the origin endpoint associated with the origin endpoint policy. |
Policy | The policy associated with the origin endpoint. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnOriginEndpointPolicy(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnOriginEndpointPolicy(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnOriginEndpointPolicy(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnOriginEndpointPolicy(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnOriginEndpointPolicy(Construct, String, ICfnOriginEndpointPolicyProps)
public CfnOriginEndpointPolicy(Construct scope, string id, ICfnOriginEndpointPolicyProps 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 ICfnOriginEndpointPolicyProps
Resource properties.
Properties
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
ChannelGroupName
The name of the channel group associated with the origin endpoint policy.
public virtual string ChannelGroupName { get; set; }
Property Value
System.String
ChannelName
The channel name associated with the origin endpoint policy.
public virtual string ChannelName { get; set; }
Property Value
System.String
OriginEndpointName
The name of the origin endpoint associated with the origin endpoint policy.
public virtual string OriginEndpointName { get; set; }
Property Value
System.String
Policy
The policy associated with the origin endpoint.
public virtual object Policy { get; set; }
Property Value
System.Object
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>