Show / Hide Table of Contents

Class CfnTelemetryRule.TelemetryRuleProperty

Defines how telemetry should be configured for specific AWS resources.

Inheritance
object
CfnTelemetryRule.TelemetryRuleProperty
Implements
CfnTelemetryRule.ITelemetryRuleProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.ObservabilityAdmin
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTelemetryRule.TelemetryRuleProperty : CfnTelemetryRule.ITelemetryRuleProperty
Syntax (vb)
Public Class CfnTelemetryRule.TelemetryRuleProperty Implements CfnTelemetryRule.ITelemetryRuleProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetryrule.html

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

             var telemetryRuleProperty = new TelemetryRuleProperty {
                 ResourceType = "resourceType",
                 TelemetryType = "telemetryType",

                 // the properties below are optional
                 DestinationConfiguration = new TelemetryDestinationConfigurationProperty {
                     DestinationPattern = "destinationPattern",
                     DestinationType = "destinationType",
                     RetentionInDays = 123,
                     VpcFlowLogParameters = new VPCFlowLogParametersProperty {
                         LogFormat = "logFormat",
                         MaxAggregationInterval = 123,
                         TrafficType = "trafficType"
                     }
                 },
                 SelectionCriteria = "selectionCriteria"
             };

Synopsis

Constructors

TelemetryRuleProperty()

Defines how telemetry should be configured for specific AWS resources.

Properties

DestinationConfiguration

Configuration specifying where and how the telemetry data should be delivered.

ResourceType

The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC").

SelectionCriteria

Criteria for selecting which resources the rule applies to, such as resource tags.

TelemetryType

The type of telemetry to collect (Logs, Metrics, or Traces).

Constructors

TelemetryRuleProperty()

Defines how telemetry should be configured for specific AWS resources.

public TelemetryRuleProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetryrule.html

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

             var telemetryRuleProperty = new TelemetryRuleProperty {
                 ResourceType = "resourceType",
                 TelemetryType = "telemetryType",

                 // the properties below are optional
                 DestinationConfiguration = new TelemetryDestinationConfigurationProperty {
                     DestinationPattern = "destinationPattern",
                     DestinationType = "destinationType",
                     RetentionInDays = 123,
                     VpcFlowLogParameters = new VPCFlowLogParametersProperty {
                         LogFormat = "logFormat",
                         MaxAggregationInterval = 123,
                         TrafficType = "trafficType"
                     }
                 },
                 SelectionCriteria = "selectionCriteria"
             };

Properties

DestinationConfiguration

Configuration specifying where and how the telemetry data should be delivered.

public object? DestinationConfiguration { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetryrule.html#cfn-observabilityadmin-telemetryrule-telemetryrule-destinationconfiguration

Type union: either IResolvable or CfnTelemetryRule.ITelemetryDestinationConfigurationProperty

ResourceType

The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC").

public string ResourceType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetryrule.html#cfn-observabilityadmin-telemetryrule-telemetryrule-resourcetype

SelectionCriteria

Criteria for selecting which resources the rule applies to, such as resource tags.

public string? SelectionCriteria { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetryrule.html#cfn-observabilityadmin-telemetryrule-telemetryrule-selectioncriteria

TelemetryType

The type of telemetry to collect (Logs, Metrics, or Traces).

public string TelemetryType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetryrule.html#cfn-observabilityadmin-telemetryrule-telemetryrule-telemetrytype

Implements

CfnTelemetryRule.ITelemetryRuleProperty
Back to top Generated by DocFX