We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
The AWS::ObservabilityAdmin::TelemetryRule resource defines a CloudWatch Observability Admin Telemetry Rule.
Using getTelemetryRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTelemetryRule(args: GetTelemetryRuleArgs, opts?: InvokeOptions): Promise<GetTelemetryRuleResult>
function getTelemetryRuleOutput(args: GetTelemetryRuleOutputArgs, opts?: InvokeOptions): Output<GetTelemetryRuleResult>def get_telemetry_rule(rule_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTelemetryRuleResult
def get_telemetry_rule_output(rule_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTelemetryRuleResult]func LookupTelemetryRule(ctx *Context, args *LookupTelemetryRuleArgs, opts ...InvokeOption) (*LookupTelemetryRuleResult, error)
func LookupTelemetryRuleOutput(ctx *Context, args *LookupTelemetryRuleOutputArgs, opts ...InvokeOption) LookupTelemetryRuleResultOutput> Note: This function is named LookupTelemetryRule in the Go SDK.
public static class GetTelemetryRule
{
public static Task<GetTelemetryRuleResult> InvokeAsync(GetTelemetryRuleArgs args, InvokeOptions? opts = null)
public static Output<GetTelemetryRuleResult> Invoke(GetTelemetryRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTelemetryRuleResult> getTelemetryRule(GetTelemetryRuleArgs args, InvokeOptions options)
public static Output<GetTelemetryRuleResult> getTelemetryRule(GetTelemetryRuleArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:observabilityadmin:getTelemetryRule
arguments:
# arguments dictionaryThe following arguments are supported:
- Rule
Arn string - The arn of the telemetry rule
- Rule
Arn string - The arn of the telemetry rule
- rule
Arn String - The arn of the telemetry rule
- rule
Arn string - The arn of the telemetry rule
- rule_
arn str - The arn of the telemetry rule
- rule
Arn String - The arn of the telemetry rule
getTelemetryRule Result
The following output properties are available:
- Rule
Pulumi.
Aws Native. Observability Admin. Outputs. Telemetry Rule - Retrieves the details of a specific telemetry rule in your account.
- Rule
Arn string - The arn of the telemetry rule
-
List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource
- Rule
Telemetry
Rule Type - Retrieves the details of a specific telemetry rule in your account.
- Rule
Arn string - The arn of the telemetry rule
- Tag
- An array of key-value pairs to apply to this resource
- rule
Telemetry
Rule - Retrieves the details of a specific telemetry rule in your account.
- rule
Arn String - The arn of the telemetry rule
- List<Tag>
- An array of key-value pairs to apply to this resource
- rule
Telemetry
Rule - Retrieves the details of a specific telemetry rule in your account.
- rule
Arn string - The arn of the telemetry rule
- Tag[]
- An array of key-value pairs to apply to this resource
- rule
Telemetry
Rule - Retrieves the details of a specific telemetry rule in your account.
- rule_
arn str - The arn of the telemetry rule
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource
- rule Property Map
- Retrieves the details of a specific telemetry rule in your account.
- rule
Arn String - The arn of the telemetry rule
- List<Property Map>
- An array of key-value pairs to apply to this resource
Supporting Types
Tag
TelemetryRule
- Resource
Type Pulumi.Aws Native. Observability Admin. Telemetry Rule Resource Type - The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC").
- Telemetry
Type Pulumi.Aws Native. Observability Admin. Telemetry Rule Telemetry Type - The type of telemetry to collect (Logs, Metrics, or Traces).
- Destination
Configuration Pulumi.Aws Native. Observability Admin. Inputs. Telemetry Rule Telemetry Destination Configuration - Configuration specifying where and how the telemetry data should be delivered.
- Selection
Criteria string - Criteria for selecting which resources the rule applies to, such as resource tags.
- Resource
Type TelemetryRule Resource Type - The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC").
- Telemetry
Type TelemetryRule Telemetry Type - The type of telemetry to collect (Logs, Metrics, or Traces).
- Destination
Configuration TelemetryRule Telemetry Destination Configuration - Configuration specifying where and how the telemetry data should be delivered.
- Selection
Criteria string - Criteria for selecting which resources the rule applies to, such as resource tags.
- resource
Type TelemetryRule Resource Type - The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC").
- telemetry
Type TelemetryRule Telemetry Type - The type of telemetry to collect (Logs, Metrics, or Traces).
- destination
Configuration TelemetryRule Telemetry Destination Configuration - Configuration specifying where and how the telemetry data should be delivered.
- selection
Criteria String - Criteria for selecting which resources the rule applies to, such as resource tags.
- resource
Type TelemetryRule Resource Type - The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC").
- telemetry
Type TelemetryRule Telemetry Type - The type of telemetry to collect (Logs, Metrics, or Traces).
- destination
Configuration TelemetryRule Telemetry Destination Configuration - Configuration specifying where and how the telemetry data should be delivered.
- selection
Criteria string - Criteria for selecting which resources the rule applies to, such as resource tags.
- resource_
type TelemetryRule Resource Type - The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC").
- telemetry_
type TelemetryRule Telemetry Type - The type of telemetry to collect (Logs, Metrics, or Traces).
- destination_
configuration TelemetryRule Telemetry Destination Configuration - Configuration specifying where and how the telemetry data should be delivered.
- selection_
criteria str - Criteria for selecting which resources the rule applies to, such as resource tags.
- resource
Type "AWS::EC2::VPC" - The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC").
- telemetry
Type "Logs" - The type of telemetry to collect (Logs, Metrics, or Traces).
- destination
Configuration Property Map - Configuration specifying where and how the telemetry data should be delivered.
- selection
Criteria String - Criteria for selecting which resources the rule applies to, such as resource tags.
TelemetryRuleDestinationType
TelemetryRuleResourceType
TelemetryRuleTelemetryDestinationConfiguration
- Destination
Pattern string - The pattern used to generate the destination path or name, supporting macros like and .
- Destination
Type Pulumi.Aws Native. Observability Admin. Telemetry Rule Destination Type - The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
- Retention
In intDays - The number of days to retain the telemetry data in the destination.
- Vpc
Flow Pulumi.Log Parameters Aws Native. Observability Admin. Inputs. Telemetry Rule Vpc Flow Log Parameters - Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
- Destination
Pattern string - The pattern used to generate the destination path or name, supporting macros like and .
- Destination
Type TelemetryRule Destination Type - The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
- Retention
In intDays - The number of days to retain the telemetry data in the destination.
- Vpc
Flow TelemetryLog Parameters Rule Vpc Flow Log Parameters - Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
- destination
Pattern String - The pattern used to generate the destination path or name, supporting macros like and .
- destination
Type TelemetryRule Destination Type - The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
- retention
In IntegerDays - The number of days to retain the telemetry data in the destination.
- vpc
Flow TelemetryLog Parameters Rule Vpc Flow Log Parameters - Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
- destination
Pattern string - The pattern used to generate the destination path or name, supporting macros like and .
- destination
Type TelemetryRule Destination Type - The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
- retention
In numberDays - The number of days to retain the telemetry data in the destination.
- vpc
Flow TelemetryLog Parameters Rule Vpc Flow Log Parameters - Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
- destination_
pattern str - The pattern used to generate the destination path or name, supporting macros like and .
- destination_
type TelemetryRule Destination Type - The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
- retention_
in_ intdays - The number of days to retain the telemetry data in the destination.
- vpc_
flow_ Telemetrylog_ parameters Rule Vpc Flow Log Parameters - Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
- destination
Pattern String - The pattern used to generate the destination path or name, supporting macros like and .
- destination
Type "cloud-watch-logs" - The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
- retention
In NumberDays - The number of days to retain the telemetry data in the destination.
- vpc
Flow Property MapLog Parameters - Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
TelemetryRuleTelemetryType
TelemetryRuleVpcFlowLogParameters
- Log
Format string - The fields to include in the flow log record. If you omit this parameter, the flow log is created using the default format.
- Max
Aggregation intInterval - The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record. Default is 600s.
- Traffic
Type string - The type of traffic captured for the flow log. Default is ALL
- Log
Format string - The fields to include in the flow log record. If you omit this parameter, the flow log is created using the default format.
- Max
Aggregation intInterval - The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record. Default is 600s.
- Traffic
Type string - The type of traffic captured for the flow log. Default is ALL
- log
Format String - The fields to include in the flow log record. If you omit this parameter, the flow log is created using the default format.
- max
Aggregation IntegerInterval - The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record. Default is 600s.
- traffic
Type String - The type of traffic captured for the flow log. Default is ALL
- log
Format string - The fields to include in the flow log record. If you omit this parameter, the flow log is created using the default format.
- max
Aggregation numberInterval - The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record. Default is 600s.
- traffic
Type string - The type of traffic captured for the flow log. Default is ALL
- log_
format str - The fields to include in the flow log record. If you omit this parameter, the flow log is created using the default format.
- max_
aggregation_ intinterval - The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record. Default is 600s.
- traffic_
type str - The type of traffic captured for the flow log. Default is ALL
- log
Format String - The fields to include in the flow log record. If you omit this parameter, the flow log is created using the default format.
- max
Aggregation NumberInterval - The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record. Default is 600s.
- traffic
Type String - The type of traffic captured for the flow log. Default is ALL
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
