1. Packages
  2. AWS
  3. API Docs
  4. amp
  5. WorkspaceConfiguration
AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi

aws.amp.WorkspaceConfiguration

Explore with Pulumi AI

aws logo
AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi

    Manages an AWS Managed Service for Prometheus Workspace Configuration.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.amp.Workspace("example", {});
    const exampleWorkspaceConfiguration = new aws.amp.WorkspaceConfiguration("example", {
        workspaceId: example.id,
        retentionPeriodInDays: 60,
        limitsPerLabelSets: [
            {
                labelSet: {
                    env: "dev",
                },
                limits: {
                    maxSeries: 100000,
                },
            },
            {
                labelSet: {
                    env: "prod",
                },
                limits: {
                    maxSeries: 400000,
                },
            },
        ],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.amp.Workspace("example")
    example_workspace_configuration = aws.amp.WorkspaceConfiguration("example",
        workspace_id=example.id,
        retention_period_in_days=60,
        limits_per_label_sets=[
            {
                "label_set": {
                    "env": "dev",
                },
                "limits": {
                    "max_series": 100000,
                },
            },
            {
                "label_set": {
                    "env": "prod",
                },
                "limits": {
                    "max_series": 400000,
                },
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/amp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := amp.NewWorkspace(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		_, err = amp.NewWorkspaceConfiguration(ctx, "example", &amp.WorkspaceConfigurationArgs{
    			WorkspaceId:           example.ID(),
    			RetentionPeriodInDays: pulumi.Int(60),
    			LimitsPerLabelSets: amp.WorkspaceConfigurationLimitsPerLabelSetArray{
    				&amp.WorkspaceConfigurationLimitsPerLabelSetArgs{
    					LabelSet: pulumi.StringMap{
    						"env": pulumi.String("dev"),
    					},
    					Limits: &amp.WorkspaceConfigurationLimitsPerLabelSetLimitsArgs{
    						MaxSeries: pulumi.Int(100000),
    					},
    				},
    				&amp.WorkspaceConfigurationLimitsPerLabelSetArgs{
    					LabelSet: pulumi.StringMap{
    						"env": pulumi.String("prod"),
    					},
    					Limits: &amp.WorkspaceConfigurationLimitsPerLabelSetLimitsArgs{
    						MaxSeries: pulumi.Int(400000),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Amp.Workspace("example");
    
        var exampleWorkspaceConfiguration = new Aws.Amp.WorkspaceConfiguration("example", new()
        {
            WorkspaceId = example.Id,
            RetentionPeriodInDays = 60,
            LimitsPerLabelSets = new[]
            {
                new Aws.Amp.Inputs.WorkspaceConfigurationLimitsPerLabelSetArgs
                {
                    LabelSet = 
                    {
                        { "env", "dev" },
                    },
                    Limits = new Aws.Amp.Inputs.WorkspaceConfigurationLimitsPerLabelSetLimitsArgs
                    {
                        MaxSeries = 100000,
                    },
                },
                new Aws.Amp.Inputs.WorkspaceConfigurationLimitsPerLabelSetArgs
                {
                    LabelSet = 
                    {
                        { "env", "prod" },
                    },
                    Limits = new Aws.Amp.Inputs.WorkspaceConfigurationLimitsPerLabelSetLimitsArgs
                    {
                        MaxSeries = 400000,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.amp.Workspace;
    import com.pulumi.aws.amp.WorkspaceConfiguration;
    import com.pulumi.aws.amp.WorkspaceConfigurationArgs;
    import com.pulumi.aws.amp.inputs.WorkspaceConfigurationLimitsPerLabelSetArgs;
    import com.pulumi.aws.amp.inputs.WorkspaceConfigurationLimitsPerLabelSetLimitsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Workspace("example");
    
            var exampleWorkspaceConfiguration = new WorkspaceConfiguration("exampleWorkspaceConfiguration", WorkspaceConfigurationArgs.builder()
                .workspaceId(example.id())
                .retentionPeriodInDays(60)
                .limitsPerLabelSets(            
                    WorkspaceConfigurationLimitsPerLabelSetArgs.builder()
                        .labelSet(Map.of("env", "dev"))
                        .limits(WorkspaceConfigurationLimitsPerLabelSetLimitsArgs.builder()
                            .maxSeries(100000)
                            .build())
                        .build(),
                    WorkspaceConfigurationLimitsPerLabelSetArgs.builder()
                        .labelSet(Map.of("env", "prod"))
                        .limits(WorkspaceConfigurationLimitsPerLabelSetLimitsArgs.builder()
                            .maxSeries(400000)
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:amp:Workspace
      exampleWorkspaceConfiguration:
        type: aws:amp:WorkspaceConfiguration
        name: example
        properties:
          workspaceId: ${example.id}
          retentionPeriodInDays: 60
          limitsPerLabelSets:
            - labelSet:
                env: dev
              limits:
                maxSeries: 100000
            - labelSet:
                env: prod
              limits:
                maxSeries: 400000
    

    Setting up default bucket

    The default bucket limit is the maximum number of active time series that can be ingested in the workspace, counting only time series that don’t match a defined label set.

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.amp.Workspace("example", {});
    const exampleWorkspaceConfiguration = new aws.amp.WorkspaceConfiguration("example", {
        workspaceId: example.id,
        limitsPerLabelSets: [{
            labelSet: {},
            limits: {
                maxSeries: 50000,
            },
        }],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.amp.Workspace("example")
    example_workspace_configuration = aws.amp.WorkspaceConfiguration("example",
        workspace_id=example.id,
        limits_per_label_sets=[{
            "label_set": {},
            "limits": {
                "max_series": 50000,
            },
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/amp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := amp.NewWorkspace(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		_, err = amp.NewWorkspaceConfiguration(ctx, "example", &amp.WorkspaceConfigurationArgs{
    			WorkspaceId: example.ID(),
    			LimitsPerLabelSets: amp.WorkspaceConfigurationLimitsPerLabelSetArray{
    				&amp.WorkspaceConfigurationLimitsPerLabelSetArgs{
    					LabelSet: pulumi.StringMap{},
    					Limits: &amp.WorkspaceConfigurationLimitsPerLabelSetLimitsArgs{
    						MaxSeries: pulumi.Int(50000),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Amp.Workspace("example");
    
        var exampleWorkspaceConfiguration = new Aws.Amp.WorkspaceConfiguration("example", new()
        {
            WorkspaceId = example.Id,
            LimitsPerLabelSets = new[]
            {
                new Aws.Amp.Inputs.WorkspaceConfigurationLimitsPerLabelSetArgs
                {
                    LabelSet = null,
                    Limits = new Aws.Amp.Inputs.WorkspaceConfigurationLimitsPerLabelSetLimitsArgs
                    {
                        MaxSeries = 50000,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.amp.Workspace;
    import com.pulumi.aws.amp.WorkspaceConfiguration;
    import com.pulumi.aws.amp.WorkspaceConfigurationArgs;
    import com.pulumi.aws.amp.inputs.WorkspaceConfigurationLimitsPerLabelSetArgs;
    import com.pulumi.aws.amp.inputs.WorkspaceConfigurationLimitsPerLabelSetLimitsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Workspace("example");
    
            var exampleWorkspaceConfiguration = new WorkspaceConfiguration("exampleWorkspaceConfiguration", WorkspaceConfigurationArgs.builder()
                .workspaceId(example.id())
                .limitsPerLabelSets(WorkspaceConfigurationLimitsPerLabelSetArgs.builder()
                    .labelSet(Map.ofEntries(
                    ))
                    .limits(WorkspaceConfigurationLimitsPerLabelSetLimitsArgs.builder()
                        .maxSeries(50000)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:amp:Workspace
      exampleWorkspaceConfiguration:
        type: aws:amp:WorkspaceConfiguration
        name: example
        properties:
          workspaceId: ${example.id}
          limitsPerLabelSets:
            - labelSet: {}
              limits:
                maxSeries: 50000
    

    Create WorkspaceConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WorkspaceConfiguration(name: string, args: WorkspaceConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def WorkspaceConfiguration(resource_name: str,
                               args: WorkspaceConfigurationArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def WorkspaceConfiguration(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               workspace_id: Optional[str] = None,
                               limits_per_label_sets: Optional[Sequence[WorkspaceConfigurationLimitsPerLabelSetArgs]] = None,
                               retention_period_in_days: Optional[int] = None,
                               timeouts: Optional[WorkspaceConfigurationTimeoutsArgs] = None)
    func NewWorkspaceConfiguration(ctx *Context, name string, args WorkspaceConfigurationArgs, opts ...ResourceOption) (*WorkspaceConfiguration, error)
    public WorkspaceConfiguration(string name, WorkspaceConfigurationArgs args, CustomResourceOptions? opts = null)
    public WorkspaceConfiguration(String name, WorkspaceConfigurationArgs args)
    public WorkspaceConfiguration(String name, WorkspaceConfigurationArgs args, CustomResourceOptions options)
    
    type: aws:amp:WorkspaceConfiguration
    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 WorkspaceConfigurationArgs
    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 WorkspaceConfigurationArgs
    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 WorkspaceConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkspaceConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkspaceConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var workspaceConfigurationResource = new Aws.Amp.WorkspaceConfiguration("workspaceConfigurationResource", new()
    {
        WorkspaceId = "string",
        LimitsPerLabelSets = new[]
        {
            new Aws.Amp.Inputs.WorkspaceConfigurationLimitsPerLabelSetArgs
            {
                LabelSet = 
                {
                    { "string", "string" },
                },
                Limits = new Aws.Amp.Inputs.WorkspaceConfigurationLimitsPerLabelSetLimitsArgs
                {
                    MaxSeries = 0,
                },
            },
        },
        RetentionPeriodInDays = 0,
        Timeouts = new Aws.Amp.Inputs.WorkspaceConfigurationTimeoutsArgs
        {
            Create = "string",
            Update = "string",
        },
    });
    
    example, err := amp.NewWorkspaceConfiguration(ctx, "workspaceConfigurationResource", &amp.WorkspaceConfigurationArgs{
    	WorkspaceId: pulumi.String("string"),
    	LimitsPerLabelSets: amp.WorkspaceConfigurationLimitsPerLabelSetArray{
    		&amp.WorkspaceConfigurationLimitsPerLabelSetArgs{
    			LabelSet: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Limits: &amp.WorkspaceConfigurationLimitsPerLabelSetLimitsArgs{
    				MaxSeries: pulumi.Int(0),
    			},
    		},
    	},
    	RetentionPeriodInDays: pulumi.Int(0),
    	Timeouts: &amp.WorkspaceConfigurationTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var workspaceConfigurationResource = new WorkspaceConfiguration("workspaceConfigurationResource", WorkspaceConfigurationArgs.builder()
        .workspaceId("string")
        .limitsPerLabelSets(WorkspaceConfigurationLimitsPerLabelSetArgs.builder()
            .labelSet(Map.of("string", "string"))
            .limits(WorkspaceConfigurationLimitsPerLabelSetLimitsArgs.builder()
                .maxSeries(0)
                .build())
            .build())
        .retentionPeriodInDays(0)
        .timeouts(WorkspaceConfigurationTimeoutsArgs.builder()
            .create("string")
            .update("string")
            .build())
        .build());
    
    workspace_configuration_resource = aws.amp.WorkspaceConfiguration("workspaceConfigurationResource",
        workspace_id="string",
        limits_per_label_sets=[{
            "label_set": {
                "string": "string",
            },
            "limits": {
                "max_series": 0,
            },
        }],
        retention_period_in_days=0,
        timeouts={
            "create": "string",
            "update": "string",
        })
    
    const workspaceConfigurationResource = new aws.amp.WorkspaceConfiguration("workspaceConfigurationResource", {
        workspaceId: "string",
        limitsPerLabelSets: [{
            labelSet: {
                string: "string",
            },
            limits: {
                maxSeries: 0,
            },
        }],
        retentionPeriodInDays: 0,
        timeouts: {
            create: "string",
            update: "string",
        },
    });
    
    type: aws:amp:WorkspaceConfiguration
    properties:
        limitsPerLabelSets:
            - labelSet:
                string: string
              limits:
                maxSeries: 0
        retentionPeriodInDays: 0
        timeouts:
            create: string
            update: string
        workspaceId: string
    

    WorkspaceConfiguration 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 WorkspaceConfiguration resource accepts the following input properties:

    WorkspaceId string

    ID of the workspace to configure.

    The following arguments are optional:

    LimitsPerLabelSets List<WorkspaceConfigurationLimitsPerLabelSet>
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    RetentionPeriodInDays int
    Number of days to retain metric data in the workspace.
    Timeouts WorkspaceConfigurationTimeouts
    WorkspaceId string

    ID of the workspace to configure.

    The following arguments are optional:

    LimitsPerLabelSets []WorkspaceConfigurationLimitsPerLabelSetArgs
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    RetentionPeriodInDays int
    Number of days to retain metric data in the workspace.
    Timeouts WorkspaceConfigurationTimeoutsArgs
    workspaceId String

    ID of the workspace to configure.

    The following arguments are optional:

    limitsPerLabelSets List<WorkspaceConfigurationLimitsPerLabelSet>
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    retentionPeriodInDays Integer
    Number of days to retain metric data in the workspace.
    timeouts WorkspaceConfigurationTimeouts
    workspaceId string

    ID of the workspace to configure.

    The following arguments are optional:

    limitsPerLabelSets WorkspaceConfigurationLimitsPerLabelSet[]
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    retentionPeriodInDays number
    Number of days to retain metric data in the workspace.
    timeouts WorkspaceConfigurationTimeouts
    workspace_id str

    ID of the workspace to configure.

    The following arguments are optional:

    limits_per_label_sets Sequence[WorkspaceConfigurationLimitsPerLabelSetArgs]
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    retention_period_in_days int
    Number of days to retain metric data in the workspace.
    timeouts WorkspaceConfigurationTimeoutsArgs
    workspaceId String

    ID of the workspace to configure.

    The following arguments are optional:

    limitsPerLabelSets List<Property Map>
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    retentionPeriodInDays Number
    Number of days to retain metric data in the workspace.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WorkspaceConfiguration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing WorkspaceConfiguration Resource

    Get an existing WorkspaceConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WorkspaceConfigurationState, opts?: CustomResourceOptions): WorkspaceConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            limits_per_label_sets: Optional[Sequence[WorkspaceConfigurationLimitsPerLabelSetArgs]] = None,
            retention_period_in_days: Optional[int] = None,
            timeouts: Optional[WorkspaceConfigurationTimeoutsArgs] = None,
            workspace_id: Optional[str] = None) -> WorkspaceConfiguration
    func GetWorkspaceConfiguration(ctx *Context, name string, id IDInput, state *WorkspaceConfigurationState, opts ...ResourceOption) (*WorkspaceConfiguration, error)
    public static WorkspaceConfiguration Get(string name, Input<string> id, WorkspaceConfigurationState? state, CustomResourceOptions? opts = null)
    public static WorkspaceConfiguration get(String name, Output<String> id, WorkspaceConfigurationState state, CustomResourceOptions options)
    resources:  _:    type: aws:amp:WorkspaceConfiguration    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    LimitsPerLabelSets List<WorkspaceConfigurationLimitsPerLabelSet>
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    RetentionPeriodInDays int
    Number of days to retain metric data in the workspace.
    Timeouts WorkspaceConfigurationTimeouts
    WorkspaceId string

    ID of the workspace to configure.

    The following arguments are optional:

    LimitsPerLabelSets []WorkspaceConfigurationLimitsPerLabelSetArgs
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    RetentionPeriodInDays int
    Number of days to retain metric data in the workspace.
    Timeouts WorkspaceConfigurationTimeoutsArgs
    WorkspaceId string

    ID of the workspace to configure.

    The following arguments are optional:

    limitsPerLabelSets List<WorkspaceConfigurationLimitsPerLabelSet>
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    retentionPeriodInDays Integer
    Number of days to retain metric data in the workspace.
    timeouts WorkspaceConfigurationTimeouts
    workspaceId String

    ID of the workspace to configure.

    The following arguments are optional:

    limitsPerLabelSets WorkspaceConfigurationLimitsPerLabelSet[]
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    retentionPeriodInDays number
    Number of days to retain metric data in the workspace.
    timeouts WorkspaceConfigurationTimeouts
    workspaceId string

    ID of the workspace to configure.

    The following arguments are optional:

    limits_per_label_sets Sequence[WorkspaceConfigurationLimitsPerLabelSetArgs]
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    retention_period_in_days int
    Number of days to retain metric data in the workspace.
    timeouts WorkspaceConfigurationTimeoutsArgs
    workspace_id str

    ID of the workspace to configure.

    The following arguments are optional:

    limitsPerLabelSets List<Property Map>
    Configuration block for setting limits on metrics with specific label sets. Detailed below.
    retentionPeriodInDays Number
    Number of days to retain metric data in the workspace.
    timeouts Property Map
    workspaceId String

    ID of the workspace to configure.

    The following arguments are optional:

    Supporting Types

    WorkspaceConfigurationLimitsPerLabelSet, WorkspaceConfigurationLimitsPerLabelSetArgs

    LabelSet Dictionary<string, string>
    Map of label key-value pairs that identify the metrics to which the limits apply. An empty map represents the default bucket for metrics that don't match any other label set.
    Limits WorkspaceConfigurationLimitsPerLabelSetLimits
    Configuration block for the limits to apply to the specified label set. Detailed below.
    LabelSet map[string]string
    Map of label key-value pairs that identify the metrics to which the limits apply. An empty map represents the default bucket for metrics that don't match any other label set.
    Limits WorkspaceConfigurationLimitsPerLabelSetLimits
    Configuration block for the limits to apply to the specified label set. Detailed below.
    labelSet Map<String,String>
    Map of label key-value pairs that identify the metrics to which the limits apply. An empty map represents the default bucket for metrics that don't match any other label set.
    limits WorkspaceConfigurationLimitsPerLabelSetLimits
    Configuration block for the limits to apply to the specified label set. Detailed below.
    labelSet {[key: string]: string}
    Map of label key-value pairs that identify the metrics to which the limits apply. An empty map represents the default bucket for metrics that don't match any other label set.
    limits WorkspaceConfigurationLimitsPerLabelSetLimits
    Configuration block for the limits to apply to the specified label set. Detailed below.
    label_set Mapping[str, str]
    Map of label key-value pairs that identify the metrics to which the limits apply. An empty map represents the default bucket for metrics that don't match any other label set.
    limits WorkspaceConfigurationLimitsPerLabelSetLimits
    Configuration block for the limits to apply to the specified label set. Detailed below.
    labelSet Map<String>
    Map of label key-value pairs that identify the metrics to which the limits apply. An empty map represents the default bucket for metrics that don't match any other label set.
    limits Property Map
    Configuration block for the limits to apply to the specified label set. Detailed below.

    WorkspaceConfigurationLimitsPerLabelSetLimits, WorkspaceConfigurationLimitsPerLabelSetLimitsArgs

    MaxSeries int
    Maximum number of active time series that can be ingested for metrics matching the label set.
    MaxSeries int
    Maximum number of active time series that can be ingested for metrics matching the label set.
    maxSeries Integer
    Maximum number of active time series that can be ingested for metrics matching the label set.
    maxSeries number
    Maximum number of active time series that can be ingested for metrics matching the label set.
    max_series int
    Maximum number of active time series that can be ingested for metrics matching the label set.
    maxSeries Number
    Maximum number of active time series that can be ingested for metrics matching the label set.

    WorkspaceConfigurationTimeouts, WorkspaceConfigurationTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    Using pulumi import, import AMP (Managed Prometheus) Workspace Configuration using the workspace_id. For example

    $ pulumi import aws:amp/workspaceConfiguration:WorkspaceConfiguration example ws-12345678-abcd-1234-abcd-123456789012
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi