CfnTelemetryRuleMixinProps
- class aws_cdk.mixins_preview.aws_observabilityadmin.mixins.CfnTelemetryRuleMixinProps(*, rule=None, rule_name=None, tags=None)
Bases:
objectProperties for CfnTelemetryRulePropsMixin.
- Parameters:
rule (
Union[IResolvable,TelemetryRuleProperty,Dict[str,Any],None]) – Retrieves the details of a specific telemetry rule in your account.rule_name (
Optional[str]) – The name of the telemetry rule.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Lists all tags attached to the specified resource. Supports telemetry rule resources and telemetry pipeline resources.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_observabilityadmin import mixins as observabilityadmin_mixins cfn_telemetry_rule_mixin_props = observabilityadmin_mixins.CfnTelemetryRuleMixinProps( rule=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.TelemetryRuleProperty( destination_configuration=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.TelemetryDestinationConfigurationProperty( cloudtrail_parameters=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.CloudtrailParametersProperty( advanced_event_selectors=[observabilityadmin_mixins.CfnTelemetryRulePropsMixin.AdvancedEventSelectorProperty( field_selectors=[observabilityadmin_mixins.CfnTelemetryRulePropsMixin.AdvancedFieldSelectorProperty( ends_with=["endsWith"], equal_to=["equalTo"], field="field", not_ends_with=["notEndsWith"], not_equals=["notEquals"], not_starts_with=["notStartsWith"], starts_with=["startsWith"] )], name="name" )] ), destination_pattern="destinationPattern", destination_type="destinationType", elb_load_balancer_logging_parameters=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.ELBLoadBalancerLoggingParametersProperty( field_delimiter="fieldDelimiter", output_format="outputFormat" ), log_delivery_parameters=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.LogDeliveryParametersProperty( log_types=["logTypes"] ), retention_in_days=123, vpc_flow_log_parameters=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.VPCFlowLogParametersProperty( log_format="logFormat", max_aggregation_interval=123, traffic_type="trafficType" ), waf_logging_parameters=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.WAFLoggingParametersProperty( logging_filter=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.LoggingFilterProperty( default_behavior="defaultBehavior", filters=[observabilityadmin_mixins.CfnTelemetryRulePropsMixin.FilterProperty( behavior="behavior", conditions=[observabilityadmin_mixins.CfnTelemetryRulePropsMixin.ConditionProperty( action_condition=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.ActionConditionProperty( action="action" ), label_name_condition=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.LabelNameConditionProperty( label_name="labelName" ) )], requirement="requirement" )] ), log_type="logType", redacted_fields=[observabilityadmin_mixins.CfnTelemetryRulePropsMixin.FieldToMatchProperty( method="method", query_string="queryString", single_header=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.SingleHeaderProperty( name="name" ), uri_path="uriPath" )] ) ), resource_type="resourceType", selection_criteria="selectionCriteria", telemetry_source_types=["telemetrySourceTypes"], telemetry_type="telemetryType" ), rule_name="ruleName", tags=[CfnTag( key="key", value="value" )] )
Attributes
- rule
Retrieves the details of a specific telemetry rule in your account.
- rule_name
The name of the telemetry rule.
- tags
Lists all tags attached to the specified resource.
Supports telemetry rule resources and telemetry pipeline resources.