Interface ICfnWorkspaceProps
Properties for defining a CfnWorkspace
.
Namespace: Amazon.CDK.AWS.APS
Assembly: Amazon.CDK.AWS.APS.dll
Syntax (csharp)
public interface ICfnWorkspaceProps
Syntax (vb)
Public Interface ICfnWorkspaceProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APS;
var cfnWorkspaceProps = new CfnWorkspaceProps {
AlertManagerDefinition = "alertManagerDefinition",
Alias = "alias",
LoggingConfiguration = new LoggingConfigurationProperty {
LogGroupArn = "logGroupArn"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
AlertManagerDefinition | The alert manager definition for the workspace, as a string. |
Alias | An alias that you assign to this workspace to help you identify it. |
LoggingConfiguration | The LoggingConfiguration attribute is used to set the logging configuration for the workspace. |
Tags | A list of tag keys and values to associate with the workspace. |
Properties
AlertManagerDefinition
The alert manager definition for the workspace, as a string.
virtual string AlertManagerDefinition { get; }
Property Value
System.String
Remarks
Alias
An alias that you assign to this workspace to help you identify it.
virtual string Alias { get; }
Property Value
System.String
Remarks
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
The LoggingConfiguration attribute is used to set the logging configuration for the workspace.
virtual object LoggingConfiguration { get; }
Property Value
System.Object
Remarks
Tags
A list of tag keys and values to associate with the workspace.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]