published on Friday, May 29, 2026 by Pulumi
published on Friday, May 29, 2026 by Pulumi
Manages an AWS CloudWatch Observability Admin Telemetry Rule.
NOTE: Before using this resource, telemetry evaluation must be enabled for your AWS account. You can use the
aws.observabilityadmin.TelemetryEvaluationoraws.observabilityadmin.TelemetryEvaluationForOrganizationresource to enable it.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.observabilityadmin.TelemetryEvaluation("example", {});
const exampleTelemetryRule = new aws.observabilityadmin.TelemetryRule("example", {
ruleName: "example-telemetry-rule",
rule: {
telemetryType: "Logs",
resourceType: "AWS::EC2::VPC",
},
}, {
dependsOn: [example],
});
import pulumi
import pulumi_aws as aws
example = aws.observabilityadmin.TelemetryEvaluation("example")
example_telemetry_rule = aws.observabilityadmin.TelemetryRule("example",
rule_name="example-telemetry-rule",
rule={
"telemetry_type": "Logs",
"resource_type": "AWS::EC2::VPC",
},
opts = pulumi.ResourceOptions(depends_on=[example]))
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/observabilityadmin"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := observabilityadmin.NewTelemetryEvaluation(ctx, "example", nil)
if err != nil {
return err
}
_, err = observabilityadmin.NewTelemetryRule(ctx, "example", &observabilityadmin.TelemetryRuleArgs{
RuleName: pulumi.String("example-telemetry-rule"),
Rule: &observabilityadmin.TelemetryRuleRuleArgs{
TelemetryType: pulumi.String("Logs"),
ResourceType: pulumi.String("AWS::EC2::VPC"),
},
}, pulumi.DependsOn([]pulumi.Resource{
example,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Observabilityadmin.TelemetryEvaluation("example");
var exampleTelemetryRule = new Aws.Observabilityadmin.TelemetryRule("example", new()
{
RuleName = "example-telemetry-rule",
Rule = new Aws.Observabilityadmin.Inputs.TelemetryRuleRuleArgs
{
TelemetryType = "Logs",
ResourceType = "AWS::EC2::VPC",
},
}, new CustomResourceOptions
{
DependsOn =
{
example,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.observabilityadmin.TelemetryEvaluation;
import com.pulumi.aws.observabilityadmin.TelemetryRule;
import com.pulumi.aws.observabilityadmin.TelemetryRuleArgs;
import com.pulumi.aws.observabilityadmin.inputs.TelemetryRuleRuleArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new TelemetryEvaluation("example");
var exampleTelemetryRule = new TelemetryRule("exampleTelemetryRule", TelemetryRuleArgs.builder()
.ruleName("example-telemetry-rule")
.rule(TelemetryRuleRuleArgs.builder()
.telemetryType("Logs")
.resourceType("AWS::EC2::VPC")
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(example)
.build());
}
}
resources:
example:
type: aws:observabilityadmin:TelemetryEvaluation
exampleTelemetryRule:
type: aws:observabilityadmin:TelemetryRule
name: example
properties:
ruleName: example-telemetry-rule
rule:
telemetryType: Logs
resourceType: AWS::EC2::VPC
options:
dependsOn:
- ${example}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_observabilityadmin_telemetryevaluation" "example" {
}
resource "aws_observabilityadmin_telemetryrule" "example" {
depends_on = [aws_observabilityadmin_telemetryevaluation.example]
rule_name = "example-telemetry-rule"
rule = {
telemetry_type = "Logs"
resource_type = "AWS::EC2::VPC"
}
}
With Tags
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.observabilityadmin.TelemetryEvaluation("example", {});
const exampleTelemetryRule = new aws.observabilityadmin.TelemetryRule("example", {
ruleName: "vpc-logs-rule",
rule: {
telemetryType: "Logs",
resourceType: "AWS::EC2::VPC",
},
tags: {
Environment: "production",
Purpose: "monitoring",
},
}, {
dependsOn: [example],
});
import pulumi
import pulumi_aws as aws
example = aws.observabilityadmin.TelemetryEvaluation("example")
example_telemetry_rule = aws.observabilityadmin.TelemetryRule("example",
rule_name="vpc-logs-rule",
rule={
"telemetry_type": "Logs",
"resource_type": "AWS::EC2::VPC",
},
tags={
"Environment": "production",
"Purpose": "monitoring",
},
opts = pulumi.ResourceOptions(depends_on=[example]))
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/observabilityadmin"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := observabilityadmin.NewTelemetryEvaluation(ctx, "example", nil)
if err != nil {
return err
}
_, err = observabilityadmin.NewTelemetryRule(ctx, "example", &observabilityadmin.TelemetryRuleArgs{
RuleName: pulumi.String("vpc-logs-rule"),
Rule: &observabilityadmin.TelemetryRuleRuleArgs{
TelemetryType: pulumi.String("Logs"),
ResourceType: pulumi.String("AWS::EC2::VPC"),
},
Tags: pulumi.StringMap{
"Environment": pulumi.String("production"),
"Purpose": pulumi.String("monitoring"),
},
}, pulumi.DependsOn([]pulumi.Resource{
example,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Observabilityadmin.TelemetryEvaluation("example");
var exampleTelemetryRule = new Aws.Observabilityadmin.TelemetryRule("example", new()
{
RuleName = "vpc-logs-rule",
Rule = new Aws.Observabilityadmin.Inputs.TelemetryRuleRuleArgs
{
TelemetryType = "Logs",
ResourceType = "AWS::EC2::VPC",
},
Tags =
{
{ "Environment", "production" },
{ "Purpose", "monitoring" },
},
}, new CustomResourceOptions
{
DependsOn =
{
example,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.observabilityadmin.TelemetryEvaluation;
import com.pulumi.aws.observabilityadmin.TelemetryRule;
import com.pulumi.aws.observabilityadmin.TelemetryRuleArgs;
import com.pulumi.aws.observabilityadmin.inputs.TelemetryRuleRuleArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new TelemetryEvaluation("example");
var exampleTelemetryRule = new TelemetryRule("exampleTelemetryRule", TelemetryRuleArgs.builder()
.ruleName("vpc-logs-rule")
.rule(TelemetryRuleRuleArgs.builder()
.telemetryType("Logs")
.resourceType("AWS::EC2::VPC")
.build())
.tags(Map.ofEntries(
Map.entry("Environment", "production"),
Map.entry("Purpose", "monitoring")
))
.build(), CustomResourceOptions.builder()
.dependsOn(example)
.build());
}
}
resources:
example:
type: aws:observabilityadmin:TelemetryEvaluation
exampleTelemetryRule:
type: aws:observabilityadmin:TelemetryRule
name: example
properties:
ruleName: vpc-logs-rule
rule:
telemetryType: Logs
resourceType: AWS::EC2::VPC
tags:
Environment: production
Purpose: monitoring
options:
dependsOn:
- ${example}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_observabilityadmin_telemetryevaluation" "example" {
}
resource "aws_observabilityadmin_telemetryrule" "example" {
depends_on = [aws_observabilityadmin_telemetryevaluation.example]
rule_name = "vpc-logs-rule"
rule = {
telemetry_type = "Logs"
resource_type = "AWS::EC2::VPC"
}
tags = {
"Environment" = "production"
"Purpose" = "monitoring"
}
}
Create TelemetryRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TelemetryRule(name: string, args: TelemetryRuleArgs, opts?: CustomResourceOptions);@overload
def TelemetryRule(resource_name: str,
args: TelemetryRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TelemetryRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
rule: Optional[TelemetryRuleRuleArgs] = None,
rule_name: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[TelemetryRuleTimeoutsArgs] = None)func NewTelemetryRule(ctx *Context, name string, args TelemetryRuleArgs, opts ...ResourceOption) (*TelemetryRule, error)public TelemetryRule(string name, TelemetryRuleArgs args, CustomResourceOptions? opts = null)
public TelemetryRule(String name, TelemetryRuleArgs args)
public TelemetryRule(String name, TelemetryRuleArgs args, CustomResourceOptions options)
type: aws:observabilityadmin:TelemetryRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_observabilityadmin_telemetryrule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TelemetryRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TelemetryRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TelemetryRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TelemetryRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TelemetryRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var telemetryRuleResource = new Aws.Observabilityadmin.TelemetryRule("telemetryRuleResource", new()
{
Rule = new Aws.Observabilityadmin.Inputs.TelemetryRuleRuleArgs
{
TelemetryType = "string",
ResourceType = "string",
},
RuleName = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Observabilityadmin.Inputs.TelemetryRuleTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := observabilityadmin.NewTelemetryRule(ctx, "telemetryRuleResource", &observabilityadmin.TelemetryRuleArgs{
Rule: &observabilityadmin.TelemetryRuleRuleArgs{
TelemetryType: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
RuleName: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &observabilityadmin.TelemetryRuleTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
resource "aws_observabilityadmin_telemetryrule" "telemetryRuleResource" {
rule = {
telemetry_type = "string"
resource_type = "string"
}
rule_name = "string"
region = "string"
tags = {
"string" = "string"
}
timeouts = {
create = "string"
delete = "string"
update = "string"
}
}
var telemetryRuleResource = new TelemetryRule("telemetryRuleResource", TelemetryRuleArgs.builder()
.rule(TelemetryRuleRuleArgs.builder()
.telemetryType("string")
.resourceType("string")
.build())
.ruleName("string")
.region("string")
.tags(Map.of("string", "string"))
.timeouts(TelemetryRuleTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
telemetry_rule_resource = aws.observabilityadmin.TelemetryRule("telemetryRuleResource",
rule={
"telemetry_type": "string",
"resource_type": "string",
},
rule_name="string",
region="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const telemetryRuleResource = new aws.observabilityadmin.TelemetryRule("telemetryRuleResource", {
rule: {
telemetryType: "string",
resourceType: "string",
},
ruleName: "string",
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:observabilityadmin:TelemetryRule
properties:
region: string
rule:
resourceType: string
telemetryType: string
ruleName: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
TelemetryRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TelemetryRule resource accepts the following input properties:
- Rule
Telemetry
Rule Rule - Configuration block for the telemetry rule. See rule below.
- Rule
Name string - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- Region string
- AWS region. If not specified, the provider region is used.
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Telemetry
Rule Timeouts
- Rule
Telemetry
Rule Rule Args - Configuration block for the telemetry rule. See rule below.
- Rule
Name string - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- Region string
- AWS region. If not specified, the provider region is used.
- map[string]string
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Telemetry
Rule Timeouts Args
- rule object
- Configuration block for the telemetry rule. See rule below.
- rule_
name string - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- region string
- AWS region. If not specified, the provider region is used.
- map(string)
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts object
- rule
Telemetry
Rule Rule - Configuration block for the telemetry rule. See rule below.
- rule
Name String - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- region String
- AWS region. If not specified, the provider region is used.
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Telemetry
Rule Timeouts
- rule
Telemetry
Rule Rule - Configuration block for the telemetry rule. See rule below.
- rule
Name string - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- region string
- AWS region. If not specified, the provider region is used.
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Telemetry
Rule Timeouts
- rule
Telemetry
Rule Rule Args - Configuration block for the telemetry rule. See rule below.
- rule_
name str - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- region str
- AWS region. If not specified, the provider region is used.
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Telemetry
Rule Timeouts Args
- rule Property Map
- Configuration block for the telemetry rule. See rule below.
- rule
Name String - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- region String
- AWS region. If not specified, the provider region is used.
- Map<String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the TelemetryRule resource produces the following output properties:
Look up Existing TelemetryRule Resource
Get an existing TelemetryRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TelemetryRuleState, opts?: CustomResourceOptions): TelemetryRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
rule: Optional[TelemetryRuleRuleArgs] = None,
rule_arn: Optional[str] = None,
rule_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[TelemetryRuleTimeoutsArgs] = None) -> TelemetryRulefunc GetTelemetryRule(ctx *Context, name string, id IDInput, state *TelemetryRuleState, opts ...ResourceOption) (*TelemetryRule, error)public static TelemetryRule Get(string name, Input<string> id, TelemetryRuleState? state, CustomResourceOptions? opts = null)public static TelemetryRule get(String name, Output<String> id, TelemetryRuleState state, CustomResourceOptions options)resources: _: type: aws:observabilityadmin:TelemetryRule get: id: ${id}import {
to = aws_observabilityadmin_telemetryrule.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Region string
- AWS region. If not specified, the provider region is used.
- Rule
Telemetry
Rule Rule - Configuration block for the telemetry rule. See rule below.
- Rule
Arn string - ARN of the telemetry rule.
- Rule
Name string - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Telemetry
Rule Timeouts
- Region string
- AWS region. If not specified, the provider region is used.
- Rule
Telemetry
Rule Rule Args - Configuration block for the telemetry rule. See rule below.
- Rule
Arn string - ARN of the telemetry rule.
- Rule
Name string - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- map[string]string
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Telemetry
Rule Timeouts Args
- region string
- AWS region. If not specified, the provider region is used.
- rule object
- Configuration block for the telemetry rule. See rule below.
- rule_
arn string - ARN of the telemetry rule.
- rule_
name string - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- map(string)
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts object
- region String
- AWS region. If not specified, the provider region is used.
- rule
Telemetry
Rule Rule - Configuration block for the telemetry rule. See rule below.
- rule
Arn String - ARN of the telemetry rule.
- rule
Name String - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Telemetry
Rule Timeouts
- region string
- AWS region. If not specified, the provider region is used.
- rule
Telemetry
Rule Rule - Configuration block for the telemetry rule. See rule below.
- rule
Arn string - ARN of the telemetry rule.
- rule
Name string - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Telemetry
Rule Timeouts
- region str
- AWS region. If not specified, the provider region is used.
- rule
Telemetry
Rule Rule Args - Configuration block for the telemetry rule. See rule below.
- rule_
arn str - ARN of the telemetry rule.
- rule_
name str - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Telemetry
Rule Timeouts Args
- region String
- AWS region. If not specified, the provider region is used.
- rule Property Map
- Configuration block for the telemetry rule. See rule below.
- rule
Arn String - ARN of the telemetry rule.
- rule
Name String - Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
- Map<String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts Property Map
Supporting Types
TelemetryRuleRule, TelemetryRuleRuleArgs
- Telemetry
Type string - Type of telemetry data. Valid values:
Logs,Metrics,Traces. - Resource
Type string AWS resource type to apply the rule to. Currently supported:
AWS::EC2::VPCwithLogs.Note: This resource is currently in early development. Additional resource types and configuration options will be added in future releases.
- Telemetry
Type string - Type of telemetry data. Valid values:
Logs,Metrics,Traces. - Resource
Type string AWS resource type to apply the rule to. Currently supported:
AWS::EC2::VPCwithLogs.Note: This resource is currently in early development. Additional resource types and configuration options will be added in future releases.
- telemetry_
type string - Type of telemetry data. Valid values:
Logs,Metrics,Traces. - resource_
type string AWS resource type to apply the rule to. Currently supported:
AWS::EC2::VPCwithLogs.Note: This resource is currently in early development. Additional resource types and configuration options will be added in future releases.
- telemetry
Type String - Type of telemetry data. Valid values:
Logs,Metrics,Traces. - resource
Type String AWS resource type to apply the rule to. Currently supported:
AWS::EC2::VPCwithLogs.Note: This resource is currently in early development. Additional resource types and configuration options will be added in future releases.
- telemetry
Type string - Type of telemetry data. Valid values:
Logs,Metrics,Traces. - resource
Type string AWS resource type to apply the rule to. Currently supported:
AWS::EC2::VPCwithLogs.Note: This resource is currently in early development. Additional resource types and configuration options will be added in future releases.
- telemetry_
type str - Type of telemetry data. Valid values:
Logs,Metrics,Traces. - resource_
type str AWS resource type to apply the rule to. Currently supported:
AWS::EC2::VPCwithLogs.Note: This resource is currently in early development. Additional resource types and configuration options will be added in future releases.
- telemetry
Type String - Type of telemetry data. Valid values:
Logs,Metrics,Traces. - resource
Type String AWS resource type to apply the rule to. Currently supported:
AWS::EC2::VPCwithLogs.Note: This resource is currently in early development. Additional resource types and configuration options will be added in future releases.
TelemetryRuleTimeouts, TelemetryRuleTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Identity Schema
Required
ruleName(String) Name of the telemetry rule.
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import CloudWatch Observability Admin Telemetry Rules using ruleName. For example:
$ pulumi import aws:observabilityadmin/telemetryRule:TelemetryRule example example-telemetry-rule
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Friday, May 29, 2026 by Pulumi