Show / Hide Table of Contents

Class CfnMonitoringSubscription

A monitoring subscription.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnMonitoringSubscription
Implements
IInspectable
IMonitoringSubscriptionRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.AddResourceDependency(CfnResource, string)
CfnResource.ApplyCrossStackReferenceStrength(ReferenceStrength)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.CfnPropertyName(string)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.RemoveResourceDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.With(params IMixin[])
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMonitoringSubscription : CfnResource, IInspectable, IMonitoringSubscriptionRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnMonitoringSubscription Inherits CfnResource Implements IInspectable, IMonitoringSubscriptionRef, IConstruct, IDependable, IEnvironmentAware
Remarks

This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-monitoringsubscription.html

CloudformationResource: AWS::CloudFront::MonitoringSubscription

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.CloudFront;

             var cfnMonitoringSubscription = new CfnMonitoringSubscription(this, "MyCfnMonitoringSubscription", new CfnMonitoringSubscriptionProps {
                 DistributionId = "distributionId",
                 MonitoringSubscription = new MonitoringSubscriptionProperty {
                     RealtimeMetricsSubscriptionConfig = new RealtimeMetricsSubscriptionConfigProperty {
                         RealtimeMetricsSubscriptionStatus = "realtimeMetricsSubscriptionStatus"
                     }
                 }
             });

Synopsis

Constructors

CfnMonitoringSubscription(Construct, string, ICfnMonitoringSubscriptionProps)

Create a new AWS::CloudFront::MonitoringSubscription.

Properties

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

A monitoring subscription.

CfnPropertyNames

A monitoring subscription.

DistributionId

The ID of the distribution that you are enabling metrics for.

MonitoringSubscription

A subscription configuration for additional CloudWatch metrics.

MonitoringSubscriptionRef

A reference to a MonitoringSubscription resource.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnMonitoringSubscription(object)

Checks whether the given object is a CfnMonitoringSubscription.

RenderProperties(IDictionary<string, object>)

A monitoring subscription.

Constructors

CfnMonitoringSubscription(Construct, string, ICfnMonitoringSubscriptionProps)

Create a new AWS::CloudFront::MonitoringSubscription.

public CfnMonitoringSubscription(Construct scope, string id, ICfnMonitoringSubscriptionProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnMonitoringSubscriptionProps

Resource properties.

Remarks

This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-monitoringsubscription.html

CloudformationResource: AWS::CloudFront::MonitoringSubscription

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

string

Remarks

This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-monitoringsubscription.html

CloudformationResource: AWS::CloudFront::MonitoringSubscription

ExampleMetadata: fixture=_generated

CfnProperties

A monitoring subscription.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-monitoringsubscription.html

CloudformationResource: AWS::CloudFront::MonitoringSubscription

ExampleMetadata: fixture=_generated

CfnPropertyNames

A monitoring subscription.

protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value

IDictionary<string, string>

Overrides
CfnResource.CfnPropertyNames
Remarks

This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-monitoringsubscription.html

CloudformationResource: AWS::CloudFront::MonitoringSubscription

ExampleMetadata: fixture=_generated

DistributionId

The ID of the distribution that you are enabling metrics for.

public virtual string DistributionId { get; set; }
Property Value

string

Remarks

This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-monitoringsubscription.html

CloudformationResource: AWS::CloudFront::MonitoringSubscription

ExampleMetadata: fixture=_generated

MonitoringSubscription

A subscription configuration for additional CloudWatch metrics.

public virtual object MonitoringSubscription { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnMonitoringSubscription.IMonitoringSubscriptionProperty

MonitoringSubscriptionRef

A reference to a MonitoringSubscription resource.

public virtual IMonitoringSubscriptionReference MonitoringSubscriptionRef { get; }
Property Value

IMonitoringSubscriptionReference

Remarks

This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-monitoringsubscription.html

CloudformationResource: AWS::CloudFront::MonitoringSubscription

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

This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-monitoringsubscription.html

CloudformationResource: AWS::CloudFront::MonitoringSubscription

ExampleMetadata: fixture=_generated

IsCfnMonitoringSubscription(object)

Checks whether the given object is a CfnMonitoringSubscription.

public static bool IsCfnMonitoringSubscription(object x)
Parameters
x object
Returns

bool

Remarks

This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-monitoringsubscription.html

CloudformationResource: AWS::CloudFront::MonitoringSubscription

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

A monitoring subscription.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-monitoringsubscription.html

CloudformationResource: AWS::CloudFront::MonitoringSubscription

ExampleMetadata: fixture=_generated

Implements

IInspectable
IMonitoringSubscriptionRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX