We recommend new projects start with resources from the AWS provider.
aws-native.observabilityadmin.TelemetryRule
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::ObservabilityAdmin::TelemetryRule resource defines a CloudWatch Observability Admin Telemetry Rule.
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: TelemetryRuleInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TelemetryRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
rule: Optional[TelemetryRuleArgs] = None,
rule_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = 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-native:observabilityadmin:TelemetryRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
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 TelemetryRuleInitArgs
- 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.
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
Pulumi.
Aws Native. Observability Admin. Inputs. Telemetry Rule - Rule
Name string - The name of the telemetry rule
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource
- Rule
Telemetry
Rule Type Args - Rule
Name string - The name of the telemetry rule
- Tag
Args - An array of key-value pairs to apply to this resource
- rule
Telemetry
Rule - rule
Name String - The name of the telemetry rule
- List<Tag>
- An array of key-value pairs to apply to this resource
- rule
Telemetry
Rule - rule
Name string - The name of the telemetry rule
- Tag[]
- An array of key-value pairs to apply to this resource
- rule
Telemetry
Rule Args - rule_
name str - The name of the telemetry rule
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource
- rule Property Map
- rule
Name String - The name of the telemetry rule
- List<Property Map>
- An array of key-value pairs to apply to this resource
Outputs
All input properties are implicitly available as output properties. Additionally, the TelemetryRule resource produces the following output properties:
Supporting Types
Tag, TagArgs
TelemetryRule, TelemetryRuleArgs
TelemetryRuleDestinationType, TelemetryRuleDestinationTypeArgs
- Cloud
Watch Logs - cloud-watch-logs
- Telemetry
Rule Destination Type Cloud Watch Logs - cloud-watch-logs
- Cloud
Watch Logs - cloud-watch-logs
- Cloud
Watch Logs - cloud-watch-logs
- CLOUD_WATCH_LOGS
- cloud-watch-logs
- "cloud-watch-logs"
- cloud-watch-logs
TelemetryRuleResourceType, TelemetryRuleResourceTypeArgs
- Awsec2vpc
- AWS::EC2::VPC
- Telemetry
Rule Resource Type Awsec2vpc - AWS::EC2::VPC
- Awsec2vpc
- AWS::EC2::VPC
- Awsec2vpc
- AWS::EC2::VPC
- AWSEC2VPC
- AWS::EC2::VPC
- "AWS::EC2::VPC"
- AWS::EC2::VPC
TelemetryRuleTelemetryDestinationConfiguration, TelemetryRuleTelemetryDestinationConfigurationArgs
TelemetryRuleTelemetryType, TelemetryRuleTelemetryTypeArgs
- Logs
- Logs
- Telemetry
Rule Telemetry Type Logs - Logs
- Logs
- Logs
- Logs
- Logs
- LOGS
- Logs
- "Logs"
- Logs
TelemetryRuleVpcFlowLogParameters, TelemetryRuleVpcFlowLogParametersArgs
- 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.