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:
- Alert
Manager stringDefinition - The AMP Workspace alert manager definition data
- Alias string
- AMP Workspace alias.
- Arn string
- Workspace arn.
- Logging
Configuration Pulumi.Aws Native. Aps. Outputs. Workspace Logging Configuration - Contains information about the logging configuration for the workspace.
- Prometheus
Endpoint string - AMP Workspace prometheus endpoint
- Query
Logging 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.
- Workspace
Configuration 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.
- Workspace
Id string - Required to identify a specific APS Workspace.
- Alert
Manager stringDefinition - The AMP Workspace alert manager definition data
- Alias string
- AMP Workspace alias.
- Arn string
- Workspace arn.
- Logging
Configuration WorkspaceLogging Configuration - Contains information about the logging configuration for the workspace.
- Prometheus
Endpoint string - AMP Workspace prometheus endpoint
- Query
Logging 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.
- 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 string - Required to identify a specific APS Workspace.
- alert
Manager StringDefinition - The AMP Workspace alert manager definition data
- alias String
- AMP Workspace alias.
- arn String
- Workspace arn.
- logging
Configuration WorkspaceLogging Configuration - Contains information about the logging configuration for the workspace.
- prometheus
Endpoint String - AMP Workspace prometheus endpoint
- query
Logging 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.
- 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 String - Required to identify a specific APS Workspace.
- alert
Manager stringDefinition - The AMP Workspace alert manager definition data
- alias string
- AMP Workspace alias.
- arn string
- Workspace arn.
- logging
Configuration WorkspaceLogging Configuration - Contains information about the logging configuration for the workspace.
- prometheus
Endpoint string - AMP Workspace prometheus endpoint
- query
Logging 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.
- 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 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.
- alert
Manager StringDefinition - The AMP Workspace alert manager definition data
- alias String
- AMP Workspace alias.
- arn String
- Workspace arn.
- logging
Configuration Property Map - Contains information about the logging configuration for the workspace.
- prometheus
Endpoint String - AMP Workspace prometheus endpoint
- query
Logging 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.
- workspace
Configuration 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.
- workspace
Id String - Required to identify a specific APS Workspace.
Supporting Types
Tag
WorkspaceCloudWatchLogDestination
- Log
Group stringArn - The ARN of the CloudWatch Logs log group
- Log
Group stringArn - The ARN of the CloudWatch Logs log group
- log
Group StringArn - The ARN of the CloudWatch Logs log group
- log
Group stringArn - The ARN of the CloudWatch Logs log group
- log_
group_ strarn - The ARN of the CloudWatch Logs log group
- log
Group StringArn - The ARN of the CloudWatch Logs log group
WorkspaceConfiguration
- Limits
Per List<Pulumi.Label Sets Aws Native. Aps. Inputs. Workspace 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
- Limits
Per []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
- limits
Per List<WorkspaceLabel Sets Limits Per Label Set> - An array of label set and associated limits
- retention
Period IntegerIn Days - How many days that metrics are retained in the workspace
- limits
Per WorkspaceLabel Sets Limits Per Label Set[] - An array of label set and associated limits
- retention
Period 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
- limits
Per List<Property Map>Label Sets - An array of label set and associated limits
- retention
Period NumberIn Days - How many days that metrics are retained in the workspace
WorkspaceLabel
WorkspaceLimitsPerLabelSet
- Label
Set 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.
- Label
Set []WorkspaceLabel - An array of series labels
- Limits
Workspace
Limits Per Label Set Entry - This structure contains the information about the limits that apply to time series that match this label set.
- label
Set List<WorkspaceLabel> - An array of series labels
- limits
Workspace
Limits Per Label Set Entry - This structure contains the information about the limits that apply to time series that match this label set.
- label
Set WorkspaceLabel[] - An array of series labels
- limits
Workspace
Limits 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
Workspace
Limits Per Label Set Entry - This structure contains the information about the limits that apply to time series that match this label set.
- label
Set 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
- Max
Series int - 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
- max
Series Integer - The maximum number of active series that can be ingested for this label set
- max
Series 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
- max
Series Number - The maximum number of active series that can be ingested for this label set
WorkspaceLoggingConfiguration
- Log
Group stringArn - CloudWatch log group ARN
- Log
Group stringArn - CloudWatch log group ARN
- log
Group StringArn - CloudWatch log group ARN
- log
Group stringArn - CloudWatch log group ARN
- log_
group_ strarn - CloudWatch log group ARN
- log
Group StringArn - CloudWatch log group ARN
WorkspaceLoggingDestination
- Cloud
Watch 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.
- Cloud
Watch WorkspaceLogs Cloud Watch Log Destination - Configuration details for logging to CloudWatch Logs.
- Filters
Workspace
Logging Filter - Filtering criteria that determine which queries are logged.
- cloud
Watch WorkspaceLogs Cloud Watch Log Destination - Configuration details for logging to CloudWatch Logs.
- filters
Workspace
Logging Filter - Filtering criteria that determine which queries are logged.
- cloud
Watch WorkspaceLogs Cloud Watch Log Destination - Configuration details for logging to CloudWatch Logs.
- filters
Workspace
Logging Filter - Filtering criteria that determine which queries are logged.
- cloud_
watch_ Workspacelogs Cloud Watch Log Destination - Configuration details for logging to CloudWatch Logs.
- filters
Workspace
Logging Filter - Filtering criteria that determine which queries are logged.
- cloud
Watch Property MapLogs - Configuration details for logging to CloudWatch Logs.
- filters Property Map
- Filtering criteria that determine which queries are logged.
WorkspaceLoggingFilter
- Qsp
Threshold int - Query logs with QSP above this limit are vended
- Qsp
Threshold int - Query logs with QSP above this limit are vended
- qsp
Threshold Integer - Query logs with QSP above this limit are vended
- qsp
Threshold number - Query logs with QSP above this limit are vended
- qsp_
threshold int - Query logs with QSP above this limit are vended
- qsp
Threshold 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
[]Workspace
Logging Destination - The destinations configuration for query logging
- destinations
List<Workspace
Logging Destination> - The destinations configuration for query logging
- destinations
Workspace
Logging Destination[] - The destinations configuration for query logging
- destinations
Sequence[Workspace
Logging 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
