Show / Hide Table of Contents

Class CfnTelemetryRuleProps

Properties for defining a CfnTelemetryRule.

Inheritance
object
CfnTelemetryRuleProps
Implements
ICfnTelemetryRuleProps
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 CfnTelemetryRuleProps : ICfnTelemetryRuleProps
Syntax (vb)
Public Class CfnTelemetryRuleProps Implements ICfnTelemetryRuleProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-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 cfnTelemetryRuleProps = new CfnTelemetryRuleProps {
                 Rule = 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"
                 },
                 RuleName = "ruleName",

                 // the properties below are optional
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnTelemetryRuleProps()

Properties for defining a CfnTelemetryRule.

Properties

Rule

Retrieves the details of a specific telemetry rule in your account.

RuleName

The name of the telemetry rule.

Tags

Lists all tags attached to the specified telemetry rule resource.

Constructors

CfnTelemetryRuleProps()

Properties for defining a CfnTelemetryRule.

public CfnTelemetryRuleProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-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 cfnTelemetryRuleProps = new CfnTelemetryRuleProps {
                 Rule = 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"
                 },
                 RuleName = "ruleName",

                 // the properties below are optional
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

Rule

Retrieves the details of a specific telemetry rule in your account.

public object Rule { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnTelemetryRule.ITelemetryRuleProperty

RuleName

The name of the telemetry rule.

public string RuleName { get; set; }
Property Value

string

Remarks

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

Tags

Lists all tags attached to the specified telemetry rule resource.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

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

Implements

ICfnTelemetryRuleProps
Back to top Generated by DocFX