Interface IGetContextKeyOptions
public interface IGetContextKeyOptions
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 }
}
};
Remarks
ExampleMetadata: fixture=_generated
Properties
IncludeEnvironment
Whether to include the stack's account and region automatically.
bool? IncludeEnvironment { get; }
Property Value
- bool?
Remarks
Default: true
Props
Provider-specific properties.
IDictionary<string, object>? Props { get; }
Property Value
Provider
The context provider to query.
string Provider { get; }