Class CfnNetworkPerformanceMetricSubscription
Describes Infrastructure Performance subscriptions.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnNetworkPerformanceMetricSubscription : CfnResource, IInspectable, INetworkPerformanceMetricSubscriptionRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnNetworkPerformanceMetricSubscription Inherits CfnResource Implements IInspectable, INetworkPerformanceMetricSubscriptionRef, IConstruct, IDependable, IEnvironmentAware
Remarks
CloudformationResource: AWS::EC2::NetworkPerformanceMetricSubscription
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.EC2;
var cfnNetworkPerformanceMetricSubscription = new CfnNetworkPerformanceMetricSubscription(this, "MyCfnNetworkPerformanceMetricSubscription", new CfnNetworkPerformanceMetricSubscriptionProps {
Destination = "destination",
Metric = "metric",
Source = "source",
Statistic = "statistic"
});
Synopsis
Constructors
| CfnNetworkPerformanceMetricSubscription(Construct, string, ICfnNetworkPerformanceMetricSubscriptionProps) | Create a new |
Properties
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Describes Infrastructure Performance subscriptions. |
| Destination | The Region or Availability Zone that's the target for the subscription. |
| Metric | The metric used for the subscription. |
| NetworkPerformanceMetricSubscriptionRef | A reference to a NetworkPerformanceMetricSubscription resource. |
| Source | The Region or Availability Zone that's the source for the subscription. |
| Statistic | The statistic used for the subscription. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnNetworkPerformanceMetricSubscription(object) | Checks whether the given object is a CfnNetworkPerformanceMetricSubscription. |
| RenderProperties(IDictionary<string, object>) | Describes Infrastructure Performance subscriptions. |
Constructors
CfnNetworkPerformanceMetricSubscription(Construct, string, ICfnNetworkPerformanceMetricSubscriptionProps)
Create a new AWS::EC2::NetworkPerformanceMetricSubscription.
public CfnNetworkPerformanceMetricSubscription(Construct scope, string id, ICfnNetworkPerformanceMetricSubscriptionProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnNetworkPerformanceMetricSubscriptionProps
Resource properties.
Remarks
CloudformationResource: AWS::EC2::NetworkPerformanceMetricSubscription
ExampleMetadata: fixture=_generated
Properties
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::EC2::NetworkPerformanceMetricSubscription
ExampleMetadata: fixture=_generated
CfnProperties
Describes Infrastructure Performance subscriptions.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::EC2::NetworkPerformanceMetricSubscription
ExampleMetadata: fixture=_generated
Destination
The Region or Availability Zone that's the target for the subscription.
public virtual string Destination { get; set; }
Property Value
Remarks
CloudformationResource: AWS::EC2::NetworkPerformanceMetricSubscription
ExampleMetadata: fixture=_generated
Metric
The metric used for the subscription.
public virtual string Metric { get; set; }
Property Value
Remarks
CloudformationResource: AWS::EC2::NetworkPerformanceMetricSubscription
ExampleMetadata: fixture=_generated
NetworkPerformanceMetricSubscriptionRef
A reference to a NetworkPerformanceMetricSubscription resource.
public virtual INetworkPerformanceMetricSubscriptionReference NetworkPerformanceMetricSubscriptionRef { get; }
Property Value
INetworkPerformanceMetricSubscriptionReference
Remarks
CloudformationResource: AWS::EC2::NetworkPerformanceMetricSubscription
ExampleMetadata: fixture=_generated
Source
The Region or Availability Zone that's the source for the subscription.
public virtual string Source { get; set; }
Property Value
Remarks
CloudformationResource: AWS::EC2::NetworkPerformanceMetricSubscription
ExampleMetadata: fixture=_generated
Statistic
The statistic used for the subscription.
public virtual string Statistic { get; set; }
Property Value
Remarks
CloudformationResource: AWS::EC2::NetworkPerformanceMetricSubscription
ExampleMetadata: fixture=_generated
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.
Remarks
CloudformationResource: AWS::EC2::NetworkPerformanceMetricSubscription
ExampleMetadata: fixture=_generated
IsCfnNetworkPerformanceMetricSubscription(object)
Checks whether the given object is a CfnNetworkPerformanceMetricSubscription.
public static bool IsCfnNetworkPerformanceMetricSubscription(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::EC2::NetworkPerformanceMetricSubscription
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Describes Infrastructure Performance subscriptions.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::EC2::NetworkPerformanceMetricSubscription
ExampleMetadata: fixture=_generated