Class MissingContext
Represents a missing piece of context.
Inheritance
System.Object
MissingContext
Implements
Namespace: Amazon.CDK.CloudAssemblySchema
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MissingContext : Object, IMissingContext
Syntax (vb)
Public Class MissingContext
Inherits Object
Implements IMissingContext
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.Cloud_assembly_schema;
var assumeRoleAdditionalOptions;
var missingContext = new MissingContext {
Key = "key",
Props = new AmiContextQuery {
Account = "account",
Filters = new Dictionary<string, string[]> {
{ "filtersKey", new [] { "filters" } }
},
Region = "region",
// the properties below are optional
AssumeRoleAdditionalOptions = new Dictionary<string, object> {
{ "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions }
},
LookupRoleArn = "lookupRoleArn",
LookupRoleExternalId = "lookupRoleExternalId",
Owners = new [] { "owners" }
},
Provider = ContextProvider.AMI_PROVIDER
};
Synopsis
Constructors
MissingContext() |
Properties
Key | The missing context key. |
Props | A set of provider-specific options. |
Provider | The provider from which we expect this context key to be obtained. |
Constructors
MissingContext()
public MissingContext()
Properties
Key
The missing context key.
public string Key { get; set; }
Property Value
System.String
Props
A set of provider-specific options.
public object Props { get; set; }
Property Value
System.Object
Provider
The provider from which we expect this context key to be obtained.
public ContextProvider Provider { get; set; }
Property Value