Interface IGetContextKeyOptions
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IGetContextKeyOptions
Syntax (vb)
Public Interface 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
Properties
IncludeEnvironment | Whether to include the stack's account and region automatically. |
Props | Provider-specific properties. |
Provider | The context provider to query. |
Properties
IncludeEnvironment
Whether to include the stack's account and region automatically.
virtual Nullable<bool> IncludeEnvironment { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Props
Provider-specific properties.
virtual IDictionary<string, object> Props { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Provider
The context provider to query.
string Provider { get; }
Property Value
System.String