Class CfnTelemetryRuleProps
Properties for defining a CfnTelemetryRule.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ObservabilityAdmin
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTelemetryRuleProps : ICfnTelemetryRuleProps
Syntax (vb)
Public Class CfnTelemetryRuleProps Implements ICfnTelemetryRuleProps
Remarks
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 |
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
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
Remarks
RuleName
The name of the telemetry rule.
public string RuleName { get; set; }
Property Value
Remarks
Tags
Lists all tags attached to the specified telemetry rule resource.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]