We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.aps.getWorkspace
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
Resource Type definition for AWS::APS::Workspace
Using getWorkspace
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 getWorkspace(args: GetWorkspaceArgs, opts?: InvokeOptions): Promise<GetWorkspaceResult>
function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceResult>def get_workspace(arn: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetWorkspaceResult
def get_workspace_output(arn: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceResult]func LookupWorkspace(ctx *Context, args *LookupWorkspaceArgs, opts ...InvokeOption) (*LookupWorkspaceResult, error)
func LookupWorkspaceOutput(ctx *Context, args *LookupWorkspaceOutputArgs, opts ...InvokeOption) LookupWorkspaceResultOutput> Note: This function is named LookupWorkspace in the Go SDK.
public static class GetWorkspace 
{
    public static Task<GetWorkspaceResult> InvokeAsync(GetWorkspaceArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkspaceResult> Invoke(GetWorkspaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkspaceResult> getWorkspace(GetWorkspaceArgs args, InvokeOptions options)
public static Output<GetWorkspaceResult> getWorkspace(GetWorkspaceArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:aps:getWorkspace
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Arn string
- Workspace arn.
- Arn string
- Workspace arn.
- arn String
- Workspace arn.
- arn string
- Workspace arn.
- arn str
- Workspace arn.
- arn String
- Workspace arn.
getWorkspace Result
The following output properties are available:
- AlertManager stringDefinition 
- The AMP Workspace alert manager definition data
- Alias string
- AMP Workspace alias.
- Arn string
- Workspace arn.
- LoggingConfiguration Pulumi.Aws Native. Aps. Outputs. Workspace Logging Configuration 
- Contains information about the logging configuration for the workspace.
- PrometheusEndpoint string
- AMP Workspace prometheus endpoint
- QueryLogging Pulumi.Configuration Aws Native. Aps. Outputs. Workspace Query Logging Configuration 
- The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- An array of key-value pairs to apply to this resource.
- WorkspaceConfiguration Pulumi.Aws Native. Aps. Outputs. Workspace Configuration 
- Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
- WorkspaceId string
- Required to identify a specific APS Workspace.
- AlertManager stringDefinition 
- The AMP Workspace alert manager definition data
- Alias string
- AMP Workspace alias.
- Arn string
- Workspace arn.
- LoggingConfiguration WorkspaceLogging Configuration 
- Contains information about the logging configuration for the workspace.
- PrometheusEndpoint string
- AMP Workspace prometheus endpoint
- QueryLogging WorkspaceConfiguration Query Logging Configuration 
- The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
- Tag
- An array of key-value pairs to apply to this resource.
- WorkspaceConfiguration WorkspaceConfiguration 
- Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
- WorkspaceId string
- Required to identify a specific APS Workspace.
- alertManager StringDefinition 
- The AMP Workspace alert manager definition data
- alias String
- AMP Workspace alias.
- arn String
- Workspace arn.
- loggingConfiguration WorkspaceLogging Configuration 
- Contains information about the logging configuration for the workspace.
- prometheusEndpoint String
- AMP Workspace prometheus endpoint
- queryLogging WorkspaceConfiguration Query Logging Configuration 
- The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- workspaceConfiguration WorkspaceConfiguration 
- Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
- workspaceId String
- Required to identify a specific APS Workspace.
- alertManager stringDefinition 
- The AMP Workspace alert manager definition data
- alias string
- AMP Workspace alias.
- arn string
- Workspace arn.
- loggingConfiguration WorkspaceLogging Configuration 
- Contains information about the logging configuration for the workspace.
- prometheusEndpoint string
- AMP Workspace prometheus endpoint
- queryLogging WorkspaceConfiguration Query Logging Configuration 
- The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
- Tag[]
- An array of key-value pairs to apply to this resource.
- workspaceConfiguration WorkspaceConfiguration 
- Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
- workspaceId string
- Required to identify a specific APS Workspace.
- alert_manager_ strdefinition 
- The AMP Workspace alert manager definition data
- alias str
- AMP Workspace alias.
- arn str
- Workspace arn.
- logging_configuration WorkspaceLogging Configuration 
- Contains information about the logging configuration for the workspace.
- prometheus_endpoint str
- AMP Workspace prometheus endpoint
- query_logging_ Workspaceconfiguration Query Logging Configuration 
- The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- workspace_configuration WorkspaceConfiguration 
- Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
- workspace_id str
- Required to identify a specific APS Workspace.
- alertManager StringDefinition 
- The AMP Workspace alert manager definition data
- alias String
- AMP Workspace alias.
- arn String
- Workspace arn.
- loggingConfiguration Property Map
- Contains information about the logging configuration for the workspace.
- prometheusEndpoint String
- AMP Workspace prometheus endpoint
- queryLogging Property MapConfiguration 
- The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- workspaceConfiguration Property Map
- Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
- workspaceId String
- Required to identify a specific APS Workspace.
Supporting Types
Tag
WorkspaceCloudWatchLogDestination    
- LogGroup stringArn 
- The ARN of the CloudWatch Logs log group
- LogGroup stringArn 
- The ARN of the CloudWatch Logs log group
- logGroup StringArn 
- The ARN of the CloudWatch Logs log group
- logGroup stringArn 
- The ARN of the CloudWatch Logs log group
- log_group_ strarn 
- The ARN of the CloudWatch Logs log group
- logGroup StringArn 
- The ARN of the CloudWatch Logs log group
WorkspaceConfiguration 
- LimitsPer List<Pulumi.Label Sets Aws Native. Aps. Inputs. Workspace Limits Per Label Set> 
- An array of label set and associated limits
- RetentionPeriod intIn Days 
- How many days that metrics are retained in the workspace
- LimitsPer []WorkspaceLabel Sets Limits Per Label Set 
- An array of label set and associated limits
- RetentionPeriod intIn Days 
- How many days that metrics are retained in the workspace
- limitsPer List<WorkspaceLabel Sets Limits Per Label Set> 
- An array of label set and associated limits
- retentionPeriod IntegerIn Days 
- How many days that metrics are retained in the workspace
- limitsPer WorkspaceLabel Sets Limits Per Label Set[] 
- An array of label set and associated limits
- retentionPeriod numberIn Days 
- How many days that metrics are retained in the workspace
- limits_per_ Sequence[Workspacelabel_ sets Limits Per Label Set] 
- An array of label set and associated limits
- retention_period_ intin_ days 
- How many days that metrics are retained in the workspace
- limitsPer List<Property Map>Label Sets 
- An array of label set and associated limits
- retentionPeriod NumberIn Days 
- How many days that metrics are retained in the workspace
WorkspaceLabel 
WorkspaceLimitsPerLabelSet    
- LabelSet List<Pulumi.Aws Native. Aps. Inputs. Workspace Label> 
- An array of series labels
- Limits
Pulumi.Aws Native. Aps. Inputs. Workspace Limits Per Label Set Entry 
- This structure contains the information about the limits that apply to time series that match this label set.
- LabelSet []WorkspaceLabel 
- An array of series labels
- Limits
WorkspaceLimits Per Label Set Entry 
- This structure contains the information about the limits that apply to time series that match this label set.
- labelSet List<WorkspaceLabel> 
- An array of series labels
- limits
WorkspaceLimits Per Label Set Entry 
- This structure contains the information about the limits that apply to time series that match this label set.
- labelSet WorkspaceLabel[] 
- An array of series labels
- limits
WorkspaceLimits Per Label Set Entry 
- This structure contains the information about the limits that apply to time series that match this label set.
- label_set Sequence[WorkspaceLabel] 
- An array of series labels
- limits
WorkspaceLimits Per Label Set Entry 
- This structure contains the information about the limits that apply to time series that match this label set.
- labelSet List<Property Map>
- An array of series labels
- limits Property Map
- This structure contains the information about the limits that apply to time series that match this label set.
WorkspaceLimitsPerLabelSetEntry     
- MaxSeries int
- The maximum number of active series that can be ingested for this label set
- MaxSeries int
- The maximum number of active series that can be ingested for this label set
- maxSeries Integer
- The maximum number of active series that can be ingested for this label set
- maxSeries number
- The maximum number of active series that can be ingested for this label set
- max_series int
- The maximum number of active series that can be ingested for this label set
- maxSeries Number
- The maximum number of active series that can be ingested for this label set
WorkspaceLoggingConfiguration  
- LogGroup stringArn 
- CloudWatch log group ARN
- LogGroup stringArn 
- CloudWatch log group ARN
- logGroup StringArn 
- CloudWatch log group ARN
- logGroup stringArn 
- CloudWatch log group ARN
- log_group_ strarn 
- CloudWatch log group ARN
- logGroup StringArn 
- CloudWatch log group ARN
WorkspaceLoggingDestination  
- CloudWatch Pulumi.Logs Aws Native. Aps. Inputs. Workspace Cloud Watch Log Destination 
- Configuration details for logging to CloudWatch Logs.
- Filters
Pulumi.Aws Native. Aps. Inputs. Workspace Logging Filter 
- Filtering criteria that determine which queries are logged.
- CloudWatch WorkspaceLogs Cloud Watch Log Destination 
- Configuration details for logging to CloudWatch Logs.
- Filters
WorkspaceLogging Filter 
- Filtering criteria that determine which queries are logged.
- cloudWatch WorkspaceLogs Cloud Watch Log Destination 
- Configuration details for logging to CloudWatch Logs.
- filters
WorkspaceLogging Filter 
- Filtering criteria that determine which queries are logged.
- cloudWatch WorkspaceLogs Cloud Watch Log Destination 
- Configuration details for logging to CloudWatch Logs.
- filters
WorkspaceLogging Filter 
- Filtering criteria that determine which queries are logged.
- cloud_watch_ Workspacelogs Cloud Watch Log Destination 
- Configuration details for logging to CloudWatch Logs.
- filters
WorkspaceLogging Filter 
- Filtering criteria that determine which queries are logged.
- cloudWatch Property MapLogs 
- Configuration details for logging to CloudWatch Logs.
- filters Property Map
- Filtering criteria that determine which queries are logged.
WorkspaceLoggingFilter  
- QspThreshold int
- Query logs with QSP above this limit are vended
- QspThreshold int
- Query logs with QSP above this limit are vended
- qspThreshold Integer
- Query logs with QSP above this limit are vended
- qspThreshold number
- Query logs with QSP above this limit are vended
- qsp_threshold int
- Query logs with QSP above this limit are vended
- qspThreshold Number
- Query logs with QSP above this limit are vended
WorkspaceQueryLoggingConfiguration   
- Destinations
List<Pulumi.Aws Native. Aps. Inputs. Workspace Logging Destination> 
- The destinations configuration for query logging
- Destinations
[]WorkspaceLogging Destination 
- The destinations configuration for query logging
- destinations
List<WorkspaceLogging Destination> 
- The destinations configuration for query logging
- destinations
WorkspaceLogging Destination[] 
- The destinations configuration for query logging
- destinations
Sequence[WorkspaceLogging Destination] 
- The destinations configuration for query logging
- destinations List<Property Map>
- The destinations configuration for query logging
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
