getSecretOutput function

Output<GetSecretResult> getSecretOutput(
  1. GetSecretArgs args, {
  2. InvokeOutputOptions? options,
})

Implementation

pulumi.Output<GetSecretResult> getSecretOutput(
  GetSecretArgs args, {
  pulumi.InvokeOutputOptions? options,
}) {
  return pulumi.invokeOutput<Map<String, dynamic>>(
    'aws:secretsmanager/getSecret:getSecret',
    pulumi.Input.mapToInputs(args.toMap()),
    options: options,
  ).apply(GetSecretResult.fromMap);
}