CfnOrganizationTelemetryRuleProps
- class aws_cdk.aws_observabilityadmin.CfnOrganizationTelemetryRuleProps(*, rule, rule_name, tags=None)
Bases:
object
Properties for defining a
CfnOrganizationTelemetryRule
.- Parameters:
rule (
Union
[IResolvable
,TelemetryRuleProperty
,Dict
[str
,Any
]]) – The telemetry rule.rule_name (
str
) – The name of the organization telemetry rule.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – An array of key-value pairs to apply to this resource.
- See:
- 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 import aws_observabilityadmin as observabilityadmin cfn_organization_telemetry_rule_props = observabilityadmin.CfnOrganizationTelemetryRuleProps( rule=observabilityadmin.CfnOrganizationTelemetryRule.TelemetryRuleProperty( resource_type="resourceType", telemetry_type="telemetryType", # the properties below are optional destination_configuration=observabilityadmin.CfnOrganizationTelemetryRule.TelemetryDestinationConfigurationProperty( destination_pattern="destinationPattern", destination_type="destinationType", retention_in_days=123, vpc_flow_log_parameters=observabilityadmin.CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty( log_format="logFormat", max_aggregation_interval=123, traffic_type="trafficType" ) ), scope="scope", selection_criteria="selectionCriteria" ), rule_name="ruleName", # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- rule
The telemetry rule.
- rule_name
The name of the organization telemetry rule.
- tags
An array of key-value pairs to apply to this resource.