Class GetContextKeyOptions
public class GetContextKeyOptions : IGetContextKeyOptions
- Inheritance
-
GetContextKeyOptions
- Implements
- Inherited Members
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
Constructors
GetContextKeyOptions()
public GetContextKeyOptions()
Properties
IncludeEnvironment
Whether to include the stack's account and region automatically.
public bool? IncludeEnvironment { get; set; }
Property Value
- bool?
Remarks
Default: true
Props
Provider-specific properties.
public IDictionary<string, object>? Props { get; set; }
Property Value
Provider
The context provider to query.
public string Provider { get; set; }