Interface IVariableValue
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVariableValue
Syntax (vb)
Public Interface IVariableValue
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.CloudWatch;
var dashboard = new Dashboard(this, "Dash", new DashboardProps {
DefaultInterval = Duration.Days(7),
Variables = new [] { new DashboardVariable(new DashboardVariableOptions {
Id = "region",
Type = VariableType.PROPERTY,
Label = "Region",
InputType = VariableInputType.RADIO,
Value = "region",
Values = Values.FromValues(new VariableValue { Label = "IAD", Value = "us-east-1" }, new VariableValue { Label = "DUB", Value = "us-west-2" }),
DefaultValue = DefaultValue.Value("us-east-1"),
Visible = true
}) }
});
Synopsis
Properties
Label | Optional label for the selected item. |
Value | Value of the selected item. |
Properties
Label
Optional label for the selected item.
virtual string Label { get; }
Property Value
System.String
Remarks
Default: - the variable's value
Value
Value of the selected item.
string Value { get; }
Property Value
System.String