Show / Hide Table of Contents

Class CfnDashboardPropsMixin.WidgetProperty

Contains information about a widget on a CloudTrail Lake dashboard.

Inheritance
object
CfnDashboardPropsMixin.WidgetProperty
Implements
CfnDashboardPropsMixin.IWidgetProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.CloudTrail.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDashboardPropsMixin.WidgetProperty : CfnDashboardPropsMixin.IWidgetProperty
Syntax (vb)
Public Class CfnDashboardPropsMixin.WidgetProperty Implements CfnDashboardPropsMixin.IWidgetProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-widget.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.Mixins.Preview.AWS.CloudTrail.Mixins;

             var widgetProperty = new WidgetProperty {
                 QueryParameters = new [] { "queryParameters" },
                 QueryStatement = "queryStatement",
                 ViewProperties = new Dictionary<string, string> {
                     { "viewPropertiesKey", "viewProperties" }
                 }
             };

Synopsis

Constructors

WidgetProperty()

Contains information about a widget on a CloudTrail Lake dashboard.

Properties

QueryParameters

The optional query parameters.

QueryStatement

The query statement for the widget.

ViewProperties

The view properties for the widget.

Constructors

WidgetProperty()

Contains information about a widget on a CloudTrail Lake dashboard.

public WidgetProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-widget.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.Mixins.Preview.AWS.CloudTrail.Mixins;

             var widgetProperty = new WidgetProperty {
                 QueryParameters = new [] { "queryParameters" },
                 QueryStatement = "queryStatement",
                 ViewProperties = new Dictionary<string, string> {
                     { "viewPropertiesKey", "viewProperties" }
                 }
             };

Properties

QueryParameters

The optional query parameters.

public string[]? QueryParameters { get; set; }
Property Value

string[]

Remarks

The following query parameters are valid: \(StartTime\) , \(EndTime\) , and \(Period\) .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-widget.html#cfn-cloudtrail-dashboard-widget-queryparameters

QueryStatement

The query statement for the widget.

public string? QueryStatement { get; set; }
Property Value

string

Remarks

For custom dashboard widgets, you can query across multiple event data stores as long as all event data stores exist in your account.

When a query uses <code>?</code> with <code>eventTime</code> , <code>?</code> must be surrounded by single quotes as follows: <code>'?'</code> .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-widget.html#cfn-cloudtrail-dashboard-widget-querystatement

ViewProperties

The view properties for the widget.

public object? ViewProperties { get; set; }
Property Value

object

Remarks

For more information about view properties, see View properties for widgets in the AWS CloudTrail User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-widget.html#cfn-cloudtrail-dashboard-widget-viewproperties

Type union: either Dictionary<string, string> or IResolvable

Implements

CfnDashboardPropsMixin.IWidgetProperty
Back to top Generated by DocFX