Class CfnWorkspaceLogsMixin
An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.APS.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnWorkspaceLogsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnWorkspaceLogsMixin Inherits Mixin Implements IMixin
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
CloudformationResource: AWS::APS::Workspace
Mixin: true
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.Mixins.Preview.AWS.Logs;
using Amazon.CDK.Mixins.Preview.AWS.APS.Mixins;
ILogsDelivery logsDelivery;
var cfnWorkspaceLogsMixin = new CfnWorkspaceLogsMixin("logType", logsDelivery);
Synopsis
Constructors
| CfnWorkspaceLogsMixin(string, ILogsDelivery) | Create a mixin to enable vended logs for |
Properties
| LogDelivery | An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics. |
| LogType | An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics. |
| MANAGED_PROMETHEUS_LOGS | An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics. |
Methods
| ApplyTo(IConstruct) | Apply vended logs configuration to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct (has vendedLogs property). |
Constructors
CfnWorkspaceLogsMixin(string, ILogsDelivery)
Create a mixin to enable vended logs for AWS::APS::Workspace.
public CfnWorkspaceLogsMixin(string logType, ILogsDelivery logDelivery)
Parameters
- logType string
Type of logs that are getting vended.
- logDelivery ILogsDelivery
Object in charge of setting up the delivery source, delivery destination, and delivery connection.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
CloudformationResource: AWS::APS::Workspace
Mixin: true
ExampleMetadata: fixture=_generated
Properties
LogDelivery
An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.
protected virtual ILogsDelivery LogDelivery { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
CloudformationResource: AWS::APS::Workspace
Mixin: true
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.Mixins.Preview.AWS.Logs;
using Amazon.CDK.Mixins.Preview.AWS.APS.Mixins;
ILogsDelivery logsDelivery;
var cfnWorkspaceLogsMixin = new CfnWorkspaceLogsMixin("logType", logsDelivery);
LogType
An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.
protected virtual string LogType { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
CloudformationResource: AWS::APS::Workspace
Mixin: true
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.Mixins.Preview.AWS.Logs;
using Amazon.CDK.Mixins.Preview.AWS.APS.Mixins;
ILogsDelivery logsDelivery;
var cfnWorkspaceLogsMixin = new CfnWorkspaceLogsMixin("logType", logsDelivery);
MANAGED_PROMETHEUS_LOGS
An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.
public static CfnWorkspaceManagedPrometheusLogs MANAGED_PROMETHEUS_LOGS { get; }
Property Value
CfnWorkspaceManagedPrometheusLogs
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
CloudformationResource: AWS::APS::Workspace
Mixin: true
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.Mixins.Preview.AWS.Logs;
using Amazon.CDK.Mixins.Preview.AWS.APS.Mixins;
ILogsDelivery logsDelivery;
var cfnWorkspaceLogsMixin = new CfnWorkspaceLogsMixin("logType", logsDelivery);
Methods
ApplyTo(IConstruct)
Apply vended logs configuration to the construct.
public override void ApplyTo(IConstruct resource)
Parameters
- resource IConstruct
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
CloudformationResource: AWS::APS::Workspace
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct (has vendedLogs property).
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
CloudformationResource: AWS::APS::Workspace
Mixin: true
ExampleMetadata: fixture=_generated