Class GetContextKeyOptions
Inheritance
System.Object
GetContextKeyOptions
Implements
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GetContextKeyOptions : Object, IGetContextKeyOptions
Syntax (vb)
Public Class GetContextKeyOptions
Inherits Object
Implements IGetContextKeyOptions
Remarks
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;
var props;
var getContextKeyOptions = new GetContextKeyOptions {
Provider = "provider",
// the properties below are optional
IncludeEnvironment = false,
Props = new Dictionary<string, object> {
{ "propsKey", props }
}
};
Synopsis
Constructors
GetContextKeyOptions() |
Properties
IncludeEnvironment | Whether to include the stack's account and region automatically. |
Props | Provider-specific properties. |
Provider | The context provider to query. |
Constructors
GetContextKeyOptions()
public GetContextKeyOptions()
Properties
IncludeEnvironment
Whether to include the stack's account and region automatically.
public Nullable<bool> IncludeEnvironment { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Props
Provider-specific properties.
public IDictionary<string, object> Props { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Provider
The context provider to query.
public string Provider { get; set; }
Property Value
System.String