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