CfnTelemetryRuleMixinProps

class aws_cdk.mixins_preview.aws_observabilityadmin.mixins.CfnTelemetryRuleMixinProps(*, rule=None, rule_name=None, tags=None)

Bases: object

Properties 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 telemetry rule resource.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# 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(
            destination_pattern="destinationPattern",
            destination_type="destinationType",
            retention_in_days=123,
            vpc_flow_log_parameters=observabilityadmin_mixins.CfnTelemetryRulePropsMixin.VPCFlowLogParametersProperty(
                log_format="logFormat",
                max_aggregation_interval=123,
                traffic_type="trafficType"
            )
        ),
        resource_type="resourceType",
        selection_criteria="selectionCriteria",
        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.

See:

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

rule_name

The name of the telemetry rule.

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.

See:

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