aws-cdk-lib.aws_aps.CfnWorkspaceProps

interface CfnWorkspaceProps

LanguageType name
.NETAmazon.CDK.AWS.APS.CfnWorkspaceProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsaps#CfnWorkspaceProps
Javasoftware.amazon.awscdk.services.aps.CfnWorkspaceProps
Pythonaws_cdk.aws_aps.CfnWorkspaceProps
TypeScript aws-cdk-lib » aws_aps » CfnWorkspaceProps

Properties for defining a CfnWorkspace.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aps as aps } from 'aws-cdk-lib';
const cfnWorkspaceProps: aps.CfnWorkspaceProps = {
  alertManagerDefinition: 'alertManagerDefinition',
  alias: 'alias',
  loggingConfiguration: {
    logGroupArn: 'logGroupArn',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
alertManagerDefinition?stringThe alert manager definition for the workspace, as a string.
alias?stringAn alias that you assign to this workspace to help you identify it.
loggingConfiguration?IResolvable | LoggingConfigurationPropertyThe LoggingConfiguration attribute is used to set the logging configuration for the workspace.
tags?CfnTag[]A list of tag keys and values to associate with the workspace.

alertManagerDefinition?

Type: string (optional)

The alert manager definition for the workspace, as a string.

For more information, see Alert manager and templating .


alias?

Type: string (optional)

An alias that you assign to this workspace to help you identify it.

It does not need to be unique.

The alias can be as many as 100 characters and can include any type of characters. Amazon Managed Service for Prometheus automatically strips any blank spaces from the beginning and end of the alias that you specify.


loggingConfiguration?

Type: IResolvable | LoggingConfigurationProperty (optional)

The LoggingConfiguration attribute is used to set the logging configuration for the workspace.


tags?

Type: CfnTag[] (optional)

A list of tag keys and values to associate with the workspace.