We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::CloudWatch::ResourceMetricsConfiguration. Manages the detailed monitoring metric selections for an AWS resource, identified by the ARN of the resource being monitored.
Using getResourceMetricsConfiguration
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getResourceMetricsConfiguration(args: GetResourceMetricsConfigurationArgs, opts?: InvokeOptions): Promise<GetResourceMetricsConfigurationResult>
function getResourceMetricsConfigurationOutput(args: GetResourceMetricsConfigurationOutputArgs, opts?: InvokeOutputOptions): Output<GetResourceMetricsConfigurationResult>def get_resource_metrics_configuration(resource_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResourceMetricsConfigurationResult
def get_resource_metrics_configuration_output(resource_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetResourceMetricsConfigurationResult]func LookupResourceMetricsConfiguration(ctx *Context, args *LookupResourceMetricsConfigurationArgs, opts ...InvokeOption) (*LookupResourceMetricsConfigurationResult, error)
func LookupResourceMetricsConfigurationOutput(ctx *Context, args *LookupResourceMetricsConfigurationOutputArgs, opts ...InvokeOption) LookupResourceMetricsConfigurationResultOutput> Note: This function is named LookupResourceMetricsConfiguration in the Go SDK.
public static class GetResourceMetricsConfiguration
{
public static Task<GetResourceMetricsConfigurationResult> InvokeAsync(GetResourceMetricsConfigurationArgs args, InvokeOptions? opts = null)
public static Output<GetResourceMetricsConfigurationResult> Invoke(GetResourceMetricsConfigurationInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetResourceMetricsConfigurationResult> Invoke(GetResourceMetricsConfigurationInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetResourceMetricsConfigurationResult> getResourceMetricsConfiguration(GetResourceMetricsConfigurationArgs args, InvokeOptions options)
public static Output<GetResourceMetricsConfigurationResult> getResourceMetricsConfiguration(GetResourceMetricsConfigurationArgs args, InvokeOptions options)
public static Output<GetResourceMetricsConfigurationResult> getResourceMetricsConfiguration(GetResourceMetricsConfigurationArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:cloudwatch:getResourceMetricsConfiguration
arguments:
# arguments dictionarydata "aws-native_cloudwatch_get_resource_metrics_configuration" "name" {
# arguments
}The following arguments are supported:
- Resource
Arn string - The Amazon Resource Name (ARN) of the resource for which the detailed monitoring metrics configuration is managed.
- Resource
Arn string - The Amazon Resource Name (ARN) of the resource for which the detailed monitoring metrics configuration is managed.
- resource_
arn string - The Amazon Resource Name (ARN) of the resource for which the detailed monitoring metrics configuration is managed.
- resource
Arn String - The Amazon Resource Name (ARN) of the resource for which the detailed monitoring metrics configuration is managed.
- resource
Arn string - The Amazon Resource Name (ARN) of the resource for which the detailed monitoring metrics configuration is managed.
- resource_
arn str - The Amazon Resource Name (ARN) of the resource for which the detailed monitoring metrics configuration is managed.
- resource
Arn String - The Amazon Resource Name (ARN) of the resource for which the detailed monitoring metrics configuration is managed.
getResourceMetricsConfiguration Result
The following output properties are available:
- Created
At string - The time at which the resource metrics configuration was created.
- Metric
Selections List<Pulumi.Aws Native. Cloud Watch. Outputs. Resource Metrics Configuration Resource Metric Selection> - The metric selections that define which metrics are enabled for detailed monitoring on the resource.
- Updated
At string - The time at which the resource metrics configuration was last updated.
- Created
At string - The time at which the resource metrics configuration was created.
- Metric
Selections []ResourceMetrics Configuration Resource Metric Selection - The metric selections that define which metrics are enabled for detailed monitoring on the resource.
- Updated
At string - The time at which the resource metrics configuration was last updated.
- created_
at string - The time at which the resource metrics configuration was created.
- metric_
selections list(object) - The metric selections that define which metrics are enabled for detailed monitoring on the resource.
- updated_
at string - The time at which the resource metrics configuration was last updated.
- created
At String - The time at which the resource metrics configuration was created.
- metric
Selections List<ResourceMetrics Configuration Resource Metric Selection> - The metric selections that define which metrics are enabled for detailed monitoring on the resource.
- updated
At String - The time at which the resource metrics configuration was last updated.
- created
At string - The time at which the resource metrics configuration was created.
- metric
Selections ResourceMetrics Configuration Resource Metric Selection[] - The metric selections that define which metrics are enabled for detailed monitoring on the resource.
- updated
At string - The time at which the resource metrics configuration was last updated.
- created_
at str - The time at which the resource metrics configuration was created.
- metric_
selections Sequence[ResourceMetrics Configuration Resource Metric Selection] - The metric selections that define which metrics are enabled for detailed monitoring on the resource.
- updated_
at str - The time at which the resource metrics configuration was last updated.
- created
At String - The time at which the resource metrics configuration was created.
- metric
Selections List<Property Map> - The metric selections that define which metrics are enabled for detailed monitoring on the resource.
- updated
At String - The time at which the resource metrics configuration was last updated.
Supporting Types
ResourceMetricsConfigurationResourceMetricSelection
- Include
Metrics List<string> - The list of metric names to include in detailed monitoring for the resource.
- Include
Metrics []string - The list of metric names to include in detailed monitoring for the resource.
- include_
metrics list(string) - The list of metric names to include in detailed monitoring for the resource.
- include
Metrics List<String> - The list of metric names to include in detailed monitoring for the resource.
- include
Metrics string[] - The list of metric names to include in detailed monitoring for the resource.
- include_
metrics Sequence[str] - The list of metric names to include in detailed monitoring for the resource.
- include
Metrics List<String> - The list of metric names to include in detailed monitoring for the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi