Ssm Functions
object SsmFunctions
Functions
Link copied to clipboard
Gets the contents of the specified Systems Manager document.
suspend fun getDocument(argument: suspend GetDocumentPlainArgsBuilder.() -> Unit): GetDocumentResult
suspend fun getDocument(documentFormat: String? = null, documentVersion: String? = null, name: String): GetDocumentResult
Link copied to clipboard
Use this data source to get the instance IDs of SSM managed instances.
suspend fun getInstances(argument: suspend GetInstancesPlainArgsBuilder.() -> Unit): GetInstancesResult
Link copied to clipboard
suspend fun getMaintenanceWindows(argument: GetMaintenanceWindowsPlainArgs): GetMaintenanceWindowsResult
Use this data source to get the window IDs of SSM maintenance windows.
suspend fun getMaintenanceWindows(filters: List<GetMaintenanceWindowsFilter>? = null): GetMaintenanceWindowsResult
suspend fun getMaintenanceWindows(argument: suspend GetMaintenanceWindowsPlainArgsBuilder.() -> Unit): GetMaintenanceWindowsResult
Link copied to clipboard
Provides an SSM Parameter data source.
suspend fun getParameter(argument: suspend GetParameterPlainArgsBuilder.() -> Unit): GetParameterResult
Link copied to clipboard
Provides SSM Parameters by path.
suspend fun getParametersByPath(argument: suspend GetParametersByPathPlainArgsBuilder.() -> Unit): GetParametersByPathResult
suspend fun getParametersByPath(path: String, recursive: Boolean? = null, withDecryption: Boolean? = null): GetParametersByPathResult
Link copied to clipboard
Provides an SSM Patch Baseline data source. Useful if you wish to reuse the default baselines provided.
suspend fun getPatchBaseline(argument: suspend GetPatchBaselinePlainArgsBuilder.() -> Unit): GetPatchBaselineResult
suspend fun getPatchBaseline(defaultBaseline: Boolean? = null, namePrefix: String? = null, operatingSystem: String? = null, owner: String): GetPatchBaselineResult