We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi
aws-native.aps.getWorkspace
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.28.0 published on Monday, May 19, 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 dictionary
The 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
- 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
- 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
- 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
- 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
- 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
- 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
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
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.28.0 published on Monday, May 19, 2025 by Pulumi