1. Packages
  2. AWS Native
  3. API Docs
  4. aps
  5. getWorkspace

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.aps.getWorkspace

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 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)
    // 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:

    AlertManagerDefinition string
    The AMP Workspace alert manager definition data
    Alias string
    AMP Workspace alias.
    Arn string
    Workspace arn.
    LoggingConfiguration Pulumi.AwsNative.Aps.Outputs.WorkspaceLoggingConfiguration
    Contains information about the logging configuration for the workspace.
    PrometheusEndpoint string
    AMP Workspace prometheus endpoint
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    WorkspaceId string
    Required to identify a specific APS Workspace.
    AlertManagerDefinition string
    The AMP Workspace alert manager definition data
    Alias string
    AMP Workspace alias.
    Arn string
    Workspace arn.
    LoggingConfiguration WorkspaceLoggingConfiguration
    Contains information about the logging configuration for the workspace.
    PrometheusEndpoint string
    AMP Workspace prometheus endpoint
    Tags Tag
    An array of key-value pairs to apply to this resource.
    WorkspaceId string
    Required to identify a specific APS Workspace.
    alertManagerDefinition String
    The AMP Workspace alert manager definition data
    alias String
    AMP Workspace alias.
    arn String
    Workspace arn.
    loggingConfiguration WorkspaceLoggingConfiguration
    Contains information about the logging configuration for the workspace.
    prometheusEndpoint String
    AMP Workspace prometheus endpoint
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    workspaceId String
    Required to identify a specific APS Workspace.
    alertManagerDefinition string
    The AMP Workspace alert manager definition data
    alias string
    AMP Workspace alias.
    arn string
    Workspace arn.
    loggingConfiguration WorkspaceLoggingConfiguration
    Contains information about the logging configuration for the workspace.
    prometheusEndpoint string
    AMP Workspace prometheus endpoint
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    workspaceId string
    Required to identify a specific APS Workspace.
    alert_manager_definition str
    The AMP Workspace alert manager definition data
    alias str
    AMP Workspace alias.
    arn str
    Workspace arn.
    logging_configuration WorkspaceLoggingConfiguration
    Contains information about the logging configuration for the workspace.
    prometheus_endpoint str
    AMP Workspace prometheus endpoint
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    workspace_id str
    Required to identify a specific APS Workspace.
    alertManagerDefinition String
    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
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.
    workspaceId String
    Required to identify a specific APS Workspace.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    WorkspaceLoggingConfiguration

    LogGroupArn string
    CloudWatch log group ARN
    LogGroupArn string
    CloudWatch log group ARN
    logGroupArn String
    CloudWatch log group ARN
    logGroupArn string
    CloudWatch log group ARN
    log_group_arn str
    CloudWatch log group ARN
    logGroupArn String
    CloudWatch log group ARN

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi