get Parameters By Path
Provides SSM Parameters by path.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ssm.SsmFunctions;
import com.pulumi.aws.ssm.inputs.GetParametersByPathArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = SsmFunctions.getParametersByPath(GetParametersByPathArgs.builder()
.path("/foo")
.build());
}
}Content copied to clipboard
Return
A collection of values returned by getParametersByPath.
Parameters
argument
A collection of arguments for invoking getParametersByPath.
suspend fun getParametersByPath(path: String, recursive: Boolean? = null, withDecryption: Boolean? = null): GetParametersByPathResult
Return
A collection of values returned by getParametersByPath.
Parameters
path
Prefix path of the parameter.
recursive
Whether to recursively return parameters under path. Defaults to false. In addition to all arguments above, the following attributes are exported:
with Decryption
Whether to return decrypted SecureString value. Defaults to true.
See also
suspend fun getParametersByPath(argument: suspend GetParametersByPathPlainArgsBuilder.() -> Unit): GetParametersByPathResult
Return
A collection of values returned by getParametersByPath.
Parameters
argument
Builder for com.pulumi.aws.ssm.kotlin.inputs.GetParametersByPathPlainArgs.