All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.ssm.SsmFunctions Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.ssm;

import com.pulumi.aws.Utilities;
import com.pulumi.aws.ssm.inputs.GetContactsRotationArgs;
import com.pulumi.aws.ssm.inputs.GetContactsRotationPlainArgs;
import com.pulumi.aws.ssm.inputs.GetDocumentArgs;
import com.pulumi.aws.ssm.inputs.GetDocumentPlainArgs;
import com.pulumi.aws.ssm.inputs.GetInstancesArgs;
import com.pulumi.aws.ssm.inputs.GetInstancesPlainArgs;
import com.pulumi.aws.ssm.inputs.GetMaintenanceWindowsArgs;
import com.pulumi.aws.ssm.inputs.GetMaintenanceWindowsPlainArgs;
import com.pulumi.aws.ssm.inputs.GetParameterArgs;
import com.pulumi.aws.ssm.inputs.GetParameterPlainArgs;
import com.pulumi.aws.ssm.inputs.GetParametersByPathArgs;
import com.pulumi.aws.ssm.inputs.GetParametersByPathPlainArgs;
import com.pulumi.aws.ssm.inputs.GetPatchBaselineArgs;
import com.pulumi.aws.ssm.inputs.GetPatchBaselinePlainArgs;
import com.pulumi.aws.ssm.inputs.GetPatchBaselinesArgs;
import com.pulumi.aws.ssm.inputs.GetPatchBaselinesPlainArgs;
import com.pulumi.aws.ssm.outputs.GetContactsRotationResult;
import com.pulumi.aws.ssm.outputs.GetDocumentResult;
import com.pulumi.aws.ssm.outputs.GetInstancesResult;
import com.pulumi.aws.ssm.outputs.GetMaintenanceWindowsResult;
import com.pulumi.aws.ssm.outputs.GetParameterResult;
import com.pulumi.aws.ssm.outputs.GetParametersByPathResult;
import com.pulumi.aws.ssm.outputs.GetPatchBaselineResult;
import com.pulumi.aws.ssm.outputs.GetPatchBaselinesResult;
import com.pulumi.core.Output;
import com.pulumi.core.TypeShape;
import com.pulumi.deployment.Deployment;
import com.pulumi.deployment.InvokeOptions;
import java.util.concurrent.CompletableFuture;

public final class SsmFunctions {
    /**
     * ## Example Usage
     * 
     * ### Basic Usage
     * 
     * <!--Start PulumiCodeChooser -->
     * 
     * {@code
     * 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.GetContactsRotationArgs;
     * 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 example = SsmFunctions.getContactsRotation(GetContactsRotationArgs.builder()
     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getContactsRotation(GetContactsRotationArgs args) { return getContactsRotation(args, InvokeOptions.Empty); } /** * ## Example Usage * * ### Basic Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetContactsRotationArgs;
     * 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 example = SsmFunctions.getContactsRotation(GetContactsRotationArgs.builder()
     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getContactsRotationPlain(GetContactsRotationPlainArgs args) { return getContactsRotationPlain(args, InvokeOptions.Empty); } /** * ## Example Usage * * ### Basic Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetContactsRotationArgs;
     * 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 example = SsmFunctions.getContactsRotation(GetContactsRotationArgs.builder()
     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getContactsRotation(GetContactsRotationArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:ssm/getContactsRotation:getContactsRotation", TypeShape.of(GetContactsRotationResult.class), args, Utilities.withVersion(options)); } /** * ## Example Usage * * ### Basic Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetContactsRotationArgs;
     * 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 example = SsmFunctions.getContactsRotation(GetContactsRotationArgs.builder()
     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getContactsRotationPlain(GetContactsRotationPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:ssm/getContactsRotation:getContactsRotation", TypeShape.of(GetContactsRotationResult.class), args, Utilities.withVersion(options)); } /** * Gets the contents of the specified Systems Manager document. * * ## Example Usage * * To get the contents of the document owned by AWS. * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetDocumentArgs;
     * 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.getDocument(GetDocumentArgs.builder()
     *             .name("AWS-GatherSoftwareInventory")
     *             .documentFormat("YAML")
     *             .build());
     * 
     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * To get the contents of the custom document. * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetDocumentArgs;
     * 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 test = SsmFunctions.getDocument(GetDocumentArgs.builder()
     *             .name(testAwsSsmDocument.name())
     *             .documentFormat("JSON")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDocument(GetDocumentArgs args) { return getDocument(args, InvokeOptions.Empty); } /** * Gets the contents of the specified Systems Manager document. * * ## Example Usage * * To get the contents of the document owned by AWS. * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetDocumentArgs;
     * 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.getDocument(GetDocumentArgs.builder()
     *             .name("AWS-GatherSoftwareInventory")
     *             .documentFormat("YAML")
     *             .build());
     * 
     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * To get the contents of the custom document. * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetDocumentArgs;
     * 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 test = SsmFunctions.getDocument(GetDocumentArgs.builder()
     *             .name(testAwsSsmDocument.name())
     *             .documentFormat("JSON")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDocumentPlain(GetDocumentPlainArgs args) { return getDocumentPlain(args, InvokeOptions.Empty); } /** * Gets the contents of the specified Systems Manager document. * * ## Example Usage * * To get the contents of the document owned by AWS. * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetDocumentArgs;
     * 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.getDocument(GetDocumentArgs.builder()
     *             .name("AWS-GatherSoftwareInventory")
     *             .documentFormat("YAML")
     *             .build());
     * 
     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * To get the contents of the custom document. * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetDocumentArgs;
     * 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 test = SsmFunctions.getDocument(GetDocumentArgs.builder()
     *             .name(testAwsSsmDocument.name())
     *             .documentFormat("JSON")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDocument(GetDocumentArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:ssm/getDocument:getDocument", TypeShape.of(GetDocumentResult.class), args, Utilities.withVersion(options)); } /** * Gets the contents of the specified Systems Manager document. * * ## Example Usage * * To get the contents of the document owned by AWS. * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetDocumentArgs;
     * 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.getDocument(GetDocumentArgs.builder()
     *             .name("AWS-GatherSoftwareInventory")
     *             .documentFormat("YAML")
     *             .build());
     * 
     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * To get the contents of the custom document. * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetDocumentArgs;
     * 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 test = SsmFunctions.getDocument(GetDocumentArgs.builder()
     *             .name(testAwsSsmDocument.name())
     *             .documentFormat("JSON")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDocumentPlain(GetDocumentPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:ssm/getDocument:getDocument", TypeShape.of(GetDocumentResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to get the instance IDs of SSM managed instances. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetInstancesArgs;
     * 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 example = SsmFunctions.getInstances(GetInstancesArgs.builder()
     *             .filters(GetInstancesFilterArgs.builder()
     *                 .name("PlatformTypes")
     *                 .values("Linux")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getInstances() { return getInstances(GetInstancesArgs.Empty, InvokeOptions.Empty); } /** * Use this data source to get the instance IDs of SSM managed instances. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetInstancesArgs;
     * 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 example = SsmFunctions.getInstances(GetInstancesArgs.builder()
     *             .filters(GetInstancesFilterArgs.builder()
     *                 .name("PlatformTypes")
     *                 .values("Linux")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getInstancesPlain() { return getInstancesPlain(GetInstancesPlainArgs.Empty, InvokeOptions.Empty); } /** * Use this data source to get the instance IDs of SSM managed instances. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetInstancesArgs;
     * 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 example = SsmFunctions.getInstances(GetInstancesArgs.builder()
     *             .filters(GetInstancesFilterArgs.builder()
     *                 .name("PlatformTypes")
     *                 .values("Linux")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getInstances(GetInstancesArgs args) { return getInstances(args, InvokeOptions.Empty); } /** * Use this data source to get the instance IDs of SSM managed instances. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetInstancesArgs;
     * 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 example = SsmFunctions.getInstances(GetInstancesArgs.builder()
     *             .filters(GetInstancesFilterArgs.builder()
     *                 .name("PlatformTypes")
     *                 .values("Linux")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getInstancesPlain(GetInstancesPlainArgs args) { return getInstancesPlain(args, InvokeOptions.Empty); } /** * Use this data source to get the instance IDs of SSM managed instances. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetInstancesArgs;
     * 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 example = SsmFunctions.getInstances(GetInstancesArgs.builder()
     *             .filters(GetInstancesFilterArgs.builder()
     *                 .name("PlatformTypes")
     *                 .values("Linux")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getInstances(GetInstancesArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:ssm/getInstances:getInstances", TypeShape.of(GetInstancesResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to get the instance IDs of SSM managed instances. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetInstancesArgs;
     * 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 example = SsmFunctions.getInstances(GetInstancesArgs.builder()
     *             .filters(GetInstancesFilterArgs.builder()
     *                 .name("PlatformTypes")
     *                 .values("Linux")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getInstancesPlain(GetInstancesPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:ssm/getInstances:getInstances", TypeShape.of(GetInstancesResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to get the window IDs of SSM maintenance windows. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetMaintenanceWindowsArgs;
     * 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 example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
     *             .filters(GetMaintenanceWindowsFilterArgs.builder()
     *                 .name("Enabled")
     *                 .values("true")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getMaintenanceWindows() { return getMaintenanceWindows(GetMaintenanceWindowsArgs.Empty, InvokeOptions.Empty); } /** * Use this data source to get the window IDs of SSM maintenance windows. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetMaintenanceWindowsArgs;
     * 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 example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
     *             .filters(GetMaintenanceWindowsFilterArgs.builder()
     *                 .name("Enabled")
     *                 .values("true")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getMaintenanceWindowsPlain() { return getMaintenanceWindowsPlain(GetMaintenanceWindowsPlainArgs.Empty, InvokeOptions.Empty); } /** * Use this data source to get the window IDs of SSM maintenance windows. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetMaintenanceWindowsArgs;
     * 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 example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
     *             .filters(GetMaintenanceWindowsFilterArgs.builder()
     *                 .name("Enabled")
     *                 .values("true")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getMaintenanceWindows(GetMaintenanceWindowsArgs args) { return getMaintenanceWindows(args, InvokeOptions.Empty); } /** * Use this data source to get the window IDs of SSM maintenance windows. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetMaintenanceWindowsArgs;
     * 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 example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
     *             .filters(GetMaintenanceWindowsFilterArgs.builder()
     *                 .name("Enabled")
     *                 .values("true")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getMaintenanceWindowsPlain(GetMaintenanceWindowsPlainArgs args) { return getMaintenanceWindowsPlain(args, InvokeOptions.Empty); } /** * Use this data source to get the window IDs of SSM maintenance windows. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetMaintenanceWindowsArgs;
     * 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 example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
     *             .filters(GetMaintenanceWindowsFilterArgs.builder()
     *                 .name("Enabled")
     *                 .values("true")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getMaintenanceWindows(GetMaintenanceWindowsArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:ssm/getMaintenanceWindows:getMaintenanceWindows", TypeShape.of(GetMaintenanceWindowsResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to get the window IDs of SSM maintenance windows. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetMaintenanceWindowsArgs;
     * 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 example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
     *             .filters(GetMaintenanceWindowsFilterArgs.builder()
     *                 .name("Enabled")
     *                 .values("true")
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getMaintenanceWindowsPlain(GetMaintenanceWindowsPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:ssm/getMaintenanceWindows:getMaintenanceWindows", TypeShape.of(GetMaintenanceWindowsResult.class), args, Utilities.withVersion(options)); } /** * Provides an SSM Parameter data source. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetParameterArgs;
     * 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.getParameter(GetParameterArgs.builder()
     *             .name("foo")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * > **Note:** The unencrypted value of a SecureString will be stored in the raw state as plain-text. * */ public static Output getParameter(GetParameterArgs args) { return getParameter(args, InvokeOptions.Empty); } /** * Provides an SSM Parameter data source. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetParameterArgs;
     * 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.getParameter(GetParameterArgs.builder()
     *             .name("foo")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * > **Note:** The unencrypted value of a SecureString will be stored in the raw state as plain-text. * */ public static CompletableFuture getParameterPlain(GetParameterPlainArgs args) { return getParameterPlain(args, InvokeOptions.Empty); } /** * Provides an SSM Parameter data source. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetParameterArgs;
     * 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.getParameter(GetParameterArgs.builder()
     *             .name("foo")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * > **Note:** The unencrypted value of a SecureString will be stored in the raw state as plain-text. * */ public static Output getParameter(GetParameterArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:ssm/getParameter:getParameter", TypeShape.of(GetParameterResult.class), args, Utilities.withVersion(options)); } /** * Provides an SSM Parameter data source. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetParameterArgs;
     * 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.getParameter(GetParameterArgs.builder()
     *             .name("foo")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * > **Note:** The unencrypted value of a SecureString will be stored in the raw state as plain-text. * */ public static CompletableFuture getParameterPlain(GetParameterPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:ssm/getParameter:getParameter", TypeShape.of(GetParameterResult.class), args, Utilities.withVersion(options)); } public static Output getParametersByPath(GetParametersByPathArgs args) { return getParametersByPath(args, InvokeOptions.Empty); } public static CompletableFuture getParametersByPathPlain(GetParametersByPathPlainArgs args) { return getParametersByPathPlain(args, InvokeOptions.Empty); } public static Output getParametersByPath(GetParametersByPathArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:ssm/getParametersByPath:getParametersByPath", TypeShape.of(GetParametersByPathResult.class), args, Utilities.withVersion(options)); } public static CompletableFuture getParametersByPathPlain(GetParametersByPathPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:ssm/getParametersByPath:getParametersByPath", TypeShape.of(GetParametersByPathResult.class), args, Utilities.withVersion(options)); } /** * Provides an SSM Patch Baseline data source. Useful if you wish to reuse the default baselines provided. * * ## Example Usage * * To retrieve a baseline provided by AWS: * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselineArgs;
     * 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 centos = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
     *             .owner("AWS")
     *             .namePrefix("AWS-")
     *             .operatingSystem("CENTOS")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * To retrieve a baseline on your account: * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselineArgs;
     * 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 defaultCustom = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
     *             .owner("Self")
     *             .namePrefix("MyCustomBaseline")
     *             .defaultBaseline(true)
     *             .operatingSystem("WINDOWS")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getPatchBaseline(GetPatchBaselineArgs args) { return getPatchBaseline(args, InvokeOptions.Empty); } /** * Provides an SSM Patch Baseline data source. Useful if you wish to reuse the default baselines provided. * * ## Example Usage * * To retrieve a baseline provided by AWS: * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselineArgs;
     * 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 centos = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
     *             .owner("AWS")
     *             .namePrefix("AWS-")
     *             .operatingSystem("CENTOS")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * To retrieve a baseline on your account: * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselineArgs;
     * 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 defaultCustom = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
     *             .owner("Self")
     *             .namePrefix("MyCustomBaseline")
     *             .defaultBaseline(true)
     *             .operatingSystem("WINDOWS")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getPatchBaselinePlain(GetPatchBaselinePlainArgs args) { return getPatchBaselinePlain(args, InvokeOptions.Empty); } /** * Provides an SSM Patch Baseline data source. Useful if you wish to reuse the default baselines provided. * * ## Example Usage * * To retrieve a baseline provided by AWS: * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselineArgs;
     * 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 centos = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
     *             .owner("AWS")
     *             .namePrefix("AWS-")
     *             .operatingSystem("CENTOS")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * To retrieve a baseline on your account: * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselineArgs;
     * 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 defaultCustom = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
     *             .owner("Self")
     *             .namePrefix("MyCustomBaseline")
     *             .defaultBaseline(true)
     *             .operatingSystem("WINDOWS")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getPatchBaseline(GetPatchBaselineArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:ssm/getPatchBaseline:getPatchBaseline", TypeShape.of(GetPatchBaselineResult.class), args, Utilities.withVersion(options)); } /** * Provides an SSM Patch Baseline data source. Useful if you wish to reuse the default baselines provided. * * ## Example Usage * * To retrieve a baseline provided by AWS: * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselineArgs;
     * 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 centos = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
     *             .owner("AWS")
     *             .namePrefix("AWS-")
     *             .operatingSystem("CENTOS")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * To retrieve a baseline on your account: * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselineArgs;
     * 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 defaultCustom = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
     *             .owner("Self")
     *             .namePrefix("MyCustomBaseline")
     *             .defaultBaseline(true)
     *             .operatingSystem("WINDOWS")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getPatchBaselinePlain(GetPatchBaselinePlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:ssm/getPatchBaseline:getPatchBaseline", TypeShape.of(GetPatchBaselineResult.class), args, Utilities.withVersion(options)); } /** * Data source for retrieving AWS SSM (Systems Manager) Patch Baselines. * * ## Example Usage * * ### Basic Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines();
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * ### With Filters * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines(GetPatchBaselinesArgs.builder()
     *             .filters(            
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OWNER")
     *                     .values("AWS")
     *                     .build(),
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OPERATING_SYSTEM")
     *                     .values("WINDOWS")
     *                     .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getPatchBaselines() { return getPatchBaselines(GetPatchBaselinesArgs.Empty, InvokeOptions.Empty); } /** * Data source for retrieving AWS SSM (Systems Manager) Patch Baselines. * * ## Example Usage * * ### Basic Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines();
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * ### With Filters * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines(GetPatchBaselinesArgs.builder()
     *             .filters(            
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OWNER")
     *                     .values("AWS")
     *                     .build(),
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OPERATING_SYSTEM")
     *                     .values("WINDOWS")
     *                     .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getPatchBaselinesPlain() { return getPatchBaselinesPlain(GetPatchBaselinesPlainArgs.Empty, InvokeOptions.Empty); } /** * Data source for retrieving AWS SSM (Systems Manager) Patch Baselines. * * ## Example Usage * * ### Basic Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines();
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * ### With Filters * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines(GetPatchBaselinesArgs.builder()
     *             .filters(            
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OWNER")
     *                     .values("AWS")
     *                     .build(),
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OPERATING_SYSTEM")
     *                     .values("WINDOWS")
     *                     .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getPatchBaselines(GetPatchBaselinesArgs args) { return getPatchBaselines(args, InvokeOptions.Empty); } /** * Data source for retrieving AWS SSM (Systems Manager) Patch Baselines. * * ## Example Usage * * ### Basic Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines();
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * ### With Filters * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines(GetPatchBaselinesArgs.builder()
     *             .filters(            
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OWNER")
     *                     .values("AWS")
     *                     .build(),
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OPERATING_SYSTEM")
     *                     .values("WINDOWS")
     *                     .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getPatchBaselinesPlain(GetPatchBaselinesPlainArgs args) { return getPatchBaselinesPlain(args, InvokeOptions.Empty); } /** * Data source for retrieving AWS SSM (Systems Manager) Patch Baselines. * * ## Example Usage * * ### Basic Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines();
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * ### With Filters * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines(GetPatchBaselinesArgs.builder()
     *             .filters(            
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OWNER")
     *                     .values("AWS")
     *                     .build(),
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OPERATING_SYSTEM")
     *                     .values("WINDOWS")
     *                     .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getPatchBaselines(GetPatchBaselinesArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:ssm/getPatchBaselines:getPatchBaselines", TypeShape.of(GetPatchBaselinesResult.class), args, Utilities.withVersion(options)); } /** * Data source for retrieving AWS SSM (Systems Manager) Patch Baselines. * * ## Example Usage * * ### Basic Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines();
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * * ### With Filters * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetPatchBaselinesArgs;
     * 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 example = SsmFunctions.getPatchBaselines(GetPatchBaselinesArgs.builder()
     *             .filters(            
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OWNER")
     *                     .values("AWS")
     *                     .build(),
     *                 GetPatchBaselinesFilterArgs.builder()
     *                     .key("OPERATING_SYSTEM")
     *                     .values("WINDOWS")
     *                     .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getPatchBaselinesPlain(GetPatchBaselinesPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:ssm/getPatchBaselines:getPatchBaselines", TypeShape.of(GetPatchBaselinesResult.class), args, Utilities.withVersion(options)); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy