Returns a map consisting of the key/value pairs specified as arguments.
Using map
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function map(args: MapArgs, opts?: InvokeOptions): Promise<MapResult>
function mapOutput(args: MapOutputArgs, opts?: InvokeOptions): Output<MapResult>def map(args: Optional[Sequence[Any]] = None,
opts: Optional[InvokeOptions] = None) -> MapResult
def map_output(args: Optional[pulumi.Input[Sequence[Any]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[MapResult]func Map(ctx *Context, args *MapArgs, opts ...InvokeOption) (*MapResult, error)
func MapOutput(ctx *Context, args *MapOutputArgs, opts ...InvokeOption) MapResultOutput> Note: This function is named Map in the Go SDK.
public static class Map
{
public static Task<MapResult> InvokeAsync(MapArgs args, InvokeOptions? opts = null)
public static Output<MapResult> Invoke(MapInvokeArgs args, InvokeOptions? opts = null)
}fn::invoke:
function: std:map
arguments:
# arguments dictionaryThe following arguments are supported:
- Args List<object>
- Args []interface{}
- args List<Object>
- args any[]
- args Sequence[Any]
- args List<Any>
map Result
The following output properties are available:
- Result Dictionary<string, object>
- Result map[string]interface{}
- result Map<String,Object>
- result {[key: string]: any}
- result Mapping[str, Any]
- result Map<Any>
Package Details
- Repository
- std pulumi/pulumi-std
- License
