Interface CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnOrganizationTelemetryRule
@Stability(Stable)
public static interface CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration specifying where and how telemetry data should be delivered for AWS resources.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.observabilityadmin.*;
TelemetryDestinationConfigurationProperty telemetryDestinationConfigurationProperty = TelemetryDestinationConfigurationProperty.builder()
.cloudtrailParameters(CloudtrailParametersProperty.builder()
.advancedEventSelectors(List.of(AdvancedEventSelectorProperty.builder()
.fieldSelectors(List.of(AdvancedFieldSelectorProperty.builder()
.endsWith(List.of("endsWith"))
.equalTo(List.of("equalTo"))
.field("field")
.notEndsWith(List.of("notEndsWith"))
.notEquals(List.of("notEquals"))
.notStartsWith(List.of("notStartsWith"))
.startsWith(List.of("startsWith"))
.build()))
// the properties below are optional
.name("name")
.build()))
.build())
.destinationPattern("destinationPattern")
.destinationType("destinationType")
.elbLoadBalancerLoggingParameters(ELBLoadBalancerLoggingParametersProperty.builder()
.fieldDelimiter("fieldDelimiter")
.outputFormat("outputFormat")
.build())
.retentionInDays(123)
.vpcFlowLogParameters(VPCFlowLogParametersProperty.builder()
.logFormat("logFormat")
.maxAggregationInterval(123)
.trafficType("trafficType")
.build())
.wafLoggingParameters(WAFLoggingParametersProperty.builder()
.loggingFilter(LoggingFilterProperty.builder()
.defaultBehavior("defaultBehavior")
.filters(List.of(FilterProperty.builder()
.behavior("behavior")
.conditions(List.of(ConditionProperty.builder()
.actionCondition(ActionConditionProperty.builder()
.action("action")
.build())
.labelNameCondition(LabelNameConditionProperty.builder()
.labelName("labelName")
.build())
.build()))
.requirement("requirement")
.build()))
.build())
.logType("logType")
.redactedFields(List.of(FieldToMatchProperty.builder()
.method("method")
.queryString("queryString")
.singleHeader(SingleHeaderProperty.builder()
.name("name")
.build())
.uriPath("uriPath")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectConfiguration parameters specific to AWS CloudTrail when CloudTrail is the source type.default StringThe pattern used to generate the destination path or name, supporting macros likeand . default StringThe type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").default ObjectConfiguration parameters specific to ELB load balancer logging when ELB is the resource type.default NumberThe number of days to retain the telemetry data in the destination.default ObjectConfiguration parameters specific to VPC Flow Logs when VPC is the resource type.default ObjectConfiguration parameters specific to WAF logging when WAF is the resource type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudtrailParameters
Configuration parameters specific to AWS CloudTrail when CloudTrail is the source type.Returns union: either
IResolvableorCfnOrganizationTelemetryRule.CloudtrailParametersProperty- See Also:
-
getDestinationPattern
The pattern used to generate the destination path or name, supporting macros likeand . - See Also:
-
getDestinationType
The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").- See Also:
-
getElbLoadBalancerLoggingParameters
Configuration parameters specific to ELB load balancer logging when ELB is the resource type.Returns union: either
IResolvableorCfnOrganizationTelemetryRule.ELBLoadBalancerLoggingParametersProperty- See Also:
-
getRetentionInDays
The number of days to retain the telemetry data in the destination.- See Also:
-
getVpcFlowLogParameters
Configuration parameters specific to VPC Flow Logs when VPC is the resource type.Returns union: either
IResolvableorCfnOrganizationTelemetryRule.VPCFlowLogParametersProperty- See Also:
-
getWafLoggingParameters
Configuration parameters specific to WAF logging when WAF is the resource type.Returns union: either
IResolvableorCfnOrganizationTelemetryRule.WAFLoggingParametersProperty- See Also:
-
builder
@Stability(Stable) static CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty.Builder builder()
-