Interface CfnTelemetryRule.ITelemetryDestinationConfigurationProperty
Configuration specifying where and how telemetry data should be delivered for AWS resources.
Namespace: Amazon.CDK.AWS.ObservabilityAdmin
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTelemetryRule.ITelemetryDestinationConfigurationProperty
Syntax (vb)
Public Interface CfnTelemetryRule.ITelemetryDestinationConfigurationProperty
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 telemetryDestinationConfigurationProperty = new TelemetryDestinationConfigurationProperty {
CloudtrailParameters = new CloudtrailParametersProperty {
AdvancedEventSelectors = new [] { new AdvancedEventSelectorProperty {
FieldSelectors = new [] { new AdvancedFieldSelectorProperty {
EndsWith = new [] { "endsWith" },
EqualTo = new [] { "equalTo" },
Field = "field",
NotEndsWith = new [] { "notEndsWith" },
NotEquals = new [] { "notEquals" },
NotStartsWith = new [] { "notStartsWith" },
StartsWith = new [] { "startsWith" }
} },
// the properties below are optional
Name = "name"
} }
},
DestinationPattern = "destinationPattern",
DestinationType = "destinationType",
ElbLoadBalancerLoggingParameters = new ELBLoadBalancerLoggingParametersProperty {
FieldDelimiter = "fieldDelimiter",
OutputFormat = "outputFormat"
},
LogDeliveryParameters = new LogDeliveryParametersProperty {
LogTypes = new [] { "logTypes" }
},
RetentionInDays = 123,
VpcFlowLogParameters = new VPCFlowLogParametersProperty {
LogFormat = "logFormat",
MaxAggregationInterval = 123,
TrafficType = "trafficType"
},
WafLoggingParameters = new WAFLoggingParametersProperty {
LoggingFilter = new LoggingFilterProperty {
DefaultBehavior = "defaultBehavior",
Filters = new [] { new FilterProperty {
Behavior = "behavior",
Conditions = new [] { new ConditionProperty {
ActionCondition = new ActionConditionProperty {
Action = "action"
},
LabelNameCondition = new LabelNameConditionProperty {
LabelName = "labelName"
}
} },
Requirement = "requirement"
} }
},
LogType = "logType",
RedactedFields = new [] { new FieldToMatchProperty {
Method = "method",
QueryString = "queryString",
SingleHeader = new SingleHeaderProperty {
Name = "name"
},
UriPath = "uriPath"
} }
}
};
Synopsis
Properties
| CloudtrailParameters | Configuration parameters specific to AWS CloudTrail when CloudTrail is the source type. |
| DestinationPattern | The pattern used to generate the destination path or name, supporting macros like <resourceId> and <accountId>. |
| DestinationType | The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3"). |
| ElbLoadBalancerLoggingParameters | Configuration parameters specific to ELB load balancer logging when ELB is the resource type. |
| LogDeliveryParameters | Configuration parameters specific to Amazon Bedrock AgentCore logging when Amazon Bedrock AgentCore is the resource type. |
| RetentionInDays | The number of days to retain the telemetry data in the destination. |
| VpcFlowLogParameters | Configuration parameters specific to VPC Flow Logs when VPC is the resource type. |
| WafLoggingParameters | Configuration parameters specific to WAF logging when WAF is the resource type. |
Properties
CloudtrailParameters
Configuration parameters specific to AWS CloudTrail when CloudTrail is the source type.
object? CloudtrailParameters { get; }
Property Value
Remarks
Type union: either IResolvable or CfnTelemetryRule.ICloudtrailParametersProperty
DestinationPattern
The pattern used to generate the destination path or name, supporting macros like <resourceId> and <accountId>.
string? DestinationPattern { get; }
Property Value
Remarks
DestinationType
The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
string? DestinationType { get; }
Property Value
Remarks
ElbLoadBalancerLoggingParameters
Configuration parameters specific to ELB load balancer logging when ELB is the resource type.
object? ElbLoadBalancerLoggingParameters { get; }
Property Value
Remarks
Type union: either IResolvable or CfnTelemetryRule.IELBLoadBalancerLoggingParametersProperty
LogDeliveryParameters
Configuration parameters specific to Amazon Bedrock AgentCore logging when Amazon Bedrock AgentCore is the resource type.
object? LogDeliveryParameters { get; }
Property Value
Remarks
Type union: either IResolvable or CfnTelemetryRule.ILogDeliveryParametersProperty
RetentionInDays
The number of days to retain the telemetry data in the destination.
double? RetentionInDays { get; }
Property Value
Remarks
VpcFlowLogParameters
Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
object? VpcFlowLogParameters { get; }
Property Value
Remarks
Type union: either IResolvable or CfnTelemetryRule.IVPCFlowLogParametersProperty
WafLoggingParameters
Configuration parameters specific to WAF logging when WAF is the resource type.
object? WafLoggingParameters { get; }
Property Value
Remarks
Type union: either IResolvable or CfnTelemetryRule.IWAFLoggingParametersProperty