TelemetryRuleForOrganizationRule constructor

const TelemetryRuleForOrganizationRule({
  1. Input<bool?>? allRegions,
  2. Input<bool?>? allowFieldUpdates,
  3. Input<TelemetryRuleForOrganizationRuleDestinationConfiguration?>? destinationConfiguration,
  4. Input<List<String>?>? regions,
  5. Input<String?>? resourceType,
  6. Input<String?>? scope,
  7. Input<String?>? selectionCriteria,
  8. Input<List<String>?>? telemetrySourceTypes,
  9. required Input<String> telemetryType,
})

Creates a new TelemetryRuleForOrganizationRule. allRegions Whether to replicate the rule to every Region in the partition where CloudWatch Observability Admin is available. Mutually exclusive with regions. allowFieldUpdates Whether CloudWatch Observability Admin should detect and remediate configuration drift in managed telemetry resources. Currently supported for AWS::EC2::VPC resources (VPC flow logs). destinationConfiguration Configuration block specifying where and how the telemetry data is delivered. See destinationConfiguration below. regions Set of Regions to replicate the rule to. Mutually exclusive with allRegions. Order is not preserved. resourceType AWS resource type to apply the rule to (for example AWS::EC2::VPC, AWS::EKS::Cluster, AWS::WAFv2::WebACL). scope Organizational scope to which the rule applies, specified using accounts or organizational units. selectionCriteria Criteria for selecting which resources the rule applies to, such as resource tags. telemetrySourceTypes List of telemetry source types to configure for the resource (for example VPC_FLOW_LOGS, EKS_AUDIT_LOGS). Must correlate with the chosen resourceType. If not provided, the API may default this value based on resourceType (for example VPC_FLOW_LOGS for AWS::EC2::VPC). telemetryType Type of telemetry data to collect. Valid values: Logs, Metrics, Traces.

Implementation

const TelemetryRuleForOrganizationRule({
  this.allRegions,
  this.allowFieldUpdates,
  this.destinationConfiguration,
  this.regions,
  this.resourceType,
  this.scope,
  this.selectionCriteria,
  this.telemetrySourceTypes,
  required this.telemetryType,
});