Class CfnGateway
The AWS::MediaConnect::Gateway resource is used to create a new gateway.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.MediaConnect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGateway : CfnResource, IInspectable
Syntax (vb)
Public Class CfnGateway
Inherits CfnResource
Implements IInspectable
Remarks
AWS Elemental MediaConnect Gateway is a feature of MediaConnect that allows the deployment of on-premises resources for transporting live video to and from the AWS Cloud. MediaConnect Gateway allows you to contribute live video to the AWS Cloud from on-premises hardware, as well as distribute live video from the AWS Cloud to your local data center.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-gateway.html
CloudformationResource: AWS::MediaConnect::Gateway
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.MediaConnect;
var cfnGateway = new CfnGateway(this, "MyCfnGateway", new CfnGatewayProps {
EgressCidrBlocks = new [] { "egressCidrBlocks" },
Name = "name",
Networks = new [] { new GatewayNetworkProperty {
CidrBlock = "cidrBlock",
Name = "name"
} }
});
Synopsis
Constructors
CfnGateway(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnGateway(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnGateway(Construct, String, ICfnGatewayProps) |
Properties
AttrGatewayArn | The Amazon Resource Name (ARN) of the gateway. |
AttrGatewayState | The current state of the gateway. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
EgressCidrBlocks | The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway. |
Name | The name of the network. |
Networks | The list of networks that you want to add. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnGateway(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnGateway(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnGateway(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnGateway(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnGateway(Construct, String, ICfnGatewayProps)
public CfnGateway(Construct scope, string id, ICfnGatewayProps 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 ICfnGatewayProps
Resource properties.
Properties
AttrGatewayArn
The Amazon Resource Name (ARN) of the gateway.
public virtual string AttrGatewayArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: GatewayArn
AttrGatewayState
The current state of the gateway.
public virtual string AttrGatewayState { get; }
Property Value
System.String
Remarks
Possible values are: CREATING, ACTIVE, UPDATING, ERROR, DELETING, DELETED.
CloudformationAttribute: GatewayState
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
EgressCidrBlocks
The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.
public virtual string[] EgressCidrBlocks { get; set; }
Property Value
System.String[]
Name
The name of the network.
public virtual string Name { get; set; }
Property Value
System.String
Networks
The list of networks that you want to add.
public virtual object Networks { 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>