Class DictionaryInvokeArgs
A special type of InvokeArgs with resource inputs represented as a loosely-typed dictionary of objects. Normally, DictionaryInvokeArgs should not be used by resource providers since it's too low-level and provides low safety. Its target scenario are resources with a very dynamic shape of inputs. The input dictionary may only contain objects that are serializable by Pulumi, i.e only the following types (or pulumi.Output of those types) are allowed:
- Primitive types: string, double, int, bool
- Asset, Archive, or AssetArchive
- JsonElement
- Generic collections of the above: ImmutableArray<T>, ImmutableDictionary<TKey, TValue> with string keys, Union<T0, T1>
Inherited Members
Namespace: Pulumi
Assembly: Pulumi.dll
Syntax
public sealed class DictionaryInvokeArgs : InvokeArgs
Constructors
View SourceDictionaryInvokeArgs(ImmutableDictionary<string, object?>)
Constructs an instance of DictionaryInvokeArgs from a dictionary of input objects.
Declaration
public DictionaryInvokeArgs(ImmutableDictionary<string, object?> dictionary)
Parameters
Type | Name | Description |
---|---|---|
ImmutableDictionary<string, object> | dictionary | The input dictionary. It may only contain objects that are serializable by Pulumi. |