AWS Native is in preview. AWS Classic is fully supported.
aws-native.aps.getWorkspace
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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)
// Output-based functions aren't available in Java yet
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 - Prometheus
Endpoint string AMP Workspace prometheus endpoint
- List<Pulumi.
Aws Native. Aps. Outputs. Workspace Tag> An array of key-value pairs to apply to this resource.
- 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 - Prometheus
Endpoint string AMP Workspace prometheus endpoint
- []Workspace
Tag An array of key-value pairs to apply to this resource.
- 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 - prometheus
Endpoint String AMP Workspace prometheus endpoint
- List<Workspace
Tag> An array of key-value pairs to apply to this resource.
- 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 - prometheus
Endpoint string AMP Workspace prometheus endpoint
- Workspace
Tag[] An array of key-value pairs to apply to this resource.
- 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 - prometheus_
endpoint str AMP Workspace prometheus endpoint
- Sequence[Workspace
Tag] An array of key-value pairs to apply to this resource.
- 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 - prometheus
Endpoint String AMP Workspace prometheus endpoint
- List<Property Map>
An array of key-value pairs to apply to this resource.
- workspace
Id String Required to identify a specific APS Workspace.
Supporting Types
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
WorkspaceTag
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.