Show / Hide Table of Contents

Class CfnMonitoringSubscriptionPropsMixin

A monitoring subscription.

Inheritance
object
Mixin
CfnMonitoringSubscriptionPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnMonitoringSubscriptionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnMonitoringSubscriptionPropsMixin Inherits Mixin Implements IMixin
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

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins;

             var cfnMonitoringSubscriptionPropsMixin = new CfnMonitoringSubscriptionPropsMixin(new CfnMonitoringSubscriptionMixinProps {
                 DistributionId = "distributionId",
                 MonitoringSubscription = new MonitoringSubscriptionProperty {
                     RealtimeMetricsSubscriptionConfig = new RealtimeMetricsSubscriptionConfigProperty {
                         RealtimeMetricsSubscriptionStatus = "realtimeMetricsSubscriptionStatus"
                     }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Synopsis

Constructors

CfnMonitoringSubscriptionPropsMixin(ICfnMonitoringSubscriptionMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::CloudFront::MonitoringSubscription.

Properties

CFN_PROPERTY_KEYS

A monitoring subscription.

Props

A monitoring subscription.

Strategy

A monitoring subscription.

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnMonitoringSubscriptionPropsMixin(ICfnMonitoringSubscriptionMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::CloudFront::MonitoringSubscription.

public CfnMonitoringSubscriptionPropsMixin(ICfnMonitoringSubscriptionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnMonitoringSubscriptionMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

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

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

A monitoring subscription.

protected static string[] CFN_PROPERTY_KEYS { 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

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins;

             var cfnMonitoringSubscriptionPropsMixin = new CfnMonitoringSubscriptionPropsMixin(new CfnMonitoringSubscriptionMixinProps {
                 DistributionId = "distributionId",
                 MonitoringSubscription = new MonitoringSubscriptionProperty {
                     RealtimeMetricsSubscriptionConfig = new RealtimeMetricsSubscriptionConfigProperty {
                         RealtimeMetricsSubscriptionStatus = "realtimeMetricsSubscriptionStatus"
                     }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Props

A monitoring subscription.

protected virtual ICfnMonitoringSubscriptionMixinProps Props { get; }
Property Value

ICfnMonitoringSubscriptionMixinProps

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

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins;

             var cfnMonitoringSubscriptionPropsMixin = new CfnMonitoringSubscriptionPropsMixin(new CfnMonitoringSubscriptionMixinProps {
                 DistributionId = "distributionId",
                 MonitoringSubscription = new MonitoringSubscriptionProperty {
                     RealtimeMetricsSubscriptionConfig = new RealtimeMetricsSubscriptionConfigProperty {
                         RealtimeMetricsSubscriptionStatus = "realtimeMetricsSubscriptionStatus"
                     }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Strategy

A monitoring subscription.

protected virtual PropertyMergeStrategy Strategy { get; }
Property Value

PropertyMergeStrategy

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

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins;

             var cfnMonitoringSubscriptionPropsMixin = new CfnMonitoringSubscriptionPropsMixin(new CfnMonitoringSubscriptionMixinProps {
                 DistributionId = "distributionId",
                 MonitoringSubscription = new MonitoringSubscriptionProperty {
                     RealtimeMetricsSubscriptionConfig = new RealtimeMetricsSubscriptionConfigProperty {
                         RealtimeMetricsSubscriptionStatus = "realtimeMetricsSubscriptionStatus"
                     }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override IConstruct ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Returns

IConstruct

Overrides
Mixin.ApplyTo(IConstruct)
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

Mixin: true

ExampleMetadata: fixture=_generated

Supports(IConstruct)

Check if this mixin supports the given construct.

public override bool Supports(IConstruct construct)
Parameters
construct IConstruct
Returns

bool

Overrides
Mixin.Supports(IConstruct)
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

Mixin: true

ExampleMetadata: fixture=_generated

Implements

IMixin
Back to top Generated by DocFX