Class TelemetryRuleForOrganizationRule
- java.lang.Object
-
- com.pulumi.aws.observabilityadmin.outputs.TelemetryRuleForOrganizationRule
-
public final class TelemetryRuleForOrganizationRule extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTelemetryRuleForOrganizationRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Boolean>allowFieldUpdates()java.util.Optional<java.lang.Boolean>allRegions()static TelemetryRuleForOrganizationRule.Builderbuilder()static TelemetryRuleForOrganizationRule.Builderbuilder(TelemetryRuleForOrganizationRule defaults)java.util.Optional<TelemetryRuleForOrganizationRuleDestinationConfiguration>destinationConfiguration()java.util.List<java.lang.String>regions()java.util.Optional<java.lang.String>resourceType()java.util.Optional<java.lang.String>scope()java.util.Optional<java.lang.String>selectionCriteria()java.util.List<java.lang.String>telemetrySourceTypes()java.lang.StringtelemetryType()
-
-
-
Method Detail
-
allRegions
public java.util.Optional<java.lang.Boolean> allRegions()
- Returns:
- Whether to replicate the rule to every Region in the partition where CloudWatch Observability Admin is available. Mutually exclusive with `regions`.
-
allowFieldUpdates
public java.util.Optional<java.lang.Boolean> allowFieldUpdates()
- Returns:
- 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
public java.util.Optional<TelemetryRuleForOrganizationRuleDestinationConfiguration> destinationConfiguration()
- Returns:
- Configuration block specifying where and how the telemetry data is delivered. See `destinationConfiguration` below.
-
regions
public java.util.List<java.lang.String> regions()
- Returns:
- Set of Regions to replicate the rule to. Mutually exclusive with `allRegions`. Order is not preserved.
-
resourceType
public java.util.Optional<java.lang.String> resourceType()
- Returns:
- AWS resource type to apply the rule to (for example `AWS::EC2::VPC`, `AWS::EKS::Cluster`, `AWS::WAFv2::WebACL`).
-
scope
public java.util.Optional<java.lang.String> scope()
- Returns:
- Organizational scope to which the rule applies, specified using accounts or organizational units.
-
selectionCriteria
public java.util.Optional<java.lang.String> selectionCriteria()
- Returns:
- Criteria for selecting which resources the rule applies to, such as resource tags.
-
telemetrySourceTypes
public java.util.List<java.lang.String> telemetrySourceTypes()
- Returns:
- 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
public java.lang.String telemetryType()
- Returns:
- Type of telemetry data to collect. Valid values: `Logs`, `Metrics`, `Traces`.
-
builder
public static TelemetryRuleForOrganizationRule.Builder builder()
-
builder
public static TelemetryRuleForOrganizationRule.Builder builder(TelemetryRuleForOrganizationRule defaults)
-
-