com.pulumi.aws.imagebuilder.ImagebuilderFunctions Maven / Gradle / Ivy
// *** 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.imagebuilder;
import com.pulumi.aws.Utilities;
import com.pulumi.aws.imagebuilder.inputs.GetComponentArgs;
import com.pulumi.aws.imagebuilder.inputs.GetComponentPlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetComponentsArgs;
import com.pulumi.aws.imagebuilder.inputs.GetComponentsPlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipeArgs;
import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipePlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipesArgs;
import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipesPlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationArgs;
import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationPlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationsArgs;
import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationsPlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetImageArgs;
import com.pulumi.aws.imagebuilder.inputs.GetImagePipelineArgs;
import com.pulumi.aws.imagebuilder.inputs.GetImagePipelinePlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetImagePipelinesArgs;
import com.pulumi.aws.imagebuilder.inputs.GetImagePipelinesPlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetImagePlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetImageRecipeArgs;
import com.pulumi.aws.imagebuilder.inputs.GetImageRecipePlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetImageRecipesArgs;
import com.pulumi.aws.imagebuilder.inputs.GetImageRecipesPlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationArgs;
import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationPlainArgs;
import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationsArgs;
import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationsPlainArgs;
import com.pulumi.aws.imagebuilder.outputs.GetComponentResult;
import com.pulumi.aws.imagebuilder.outputs.GetComponentsResult;
import com.pulumi.aws.imagebuilder.outputs.GetContainerRecipeResult;
import com.pulumi.aws.imagebuilder.outputs.GetContainerRecipesResult;
import com.pulumi.aws.imagebuilder.outputs.GetDistributionConfigurationResult;
import com.pulumi.aws.imagebuilder.outputs.GetDistributionConfigurationsResult;
import com.pulumi.aws.imagebuilder.outputs.GetImagePipelineResult;
import com.pulumi.aws.imagebuilder.outputs.GetImagePipelinesResult;
import com.pulumi.aws.imagebuilder.outputs.GetImageRecipeResult;
import com.pulumi.aws.imagebuilder.outputs.GetImageRecipesResult;
import com.pulumi.aws.imagebuilder.outputs.GetImageResult;
import com.pulumi.aws.imagebuilder.outputs.GetInfrastructureConfigurationResult;
import com.pulumi.aws.imagebuilder.outputs.GetInfrastructureConfigurationsResult;
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 ImagebuilderFunctions {
/**
* Provides details about an Image Builder Component.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetComponentArgs;
* 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 = ImagebuilderFunctions.getComponent(GetComponentArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getComponent(GetComponentArgs args) {
return getComponent(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Component.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetComponentArgs;
* 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 = ImagebuilderFunctions.getComponent(GetComponentArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getComponentPlain(GetComponentPlainArgs args) {
return getComponentPlain(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Component.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetComponentArgs;
* 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 = ImagebuilderFunctions.getComponent(GetComponentArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getComponent(GetComponentArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getComponent:getComponent", TypeShape.of(GetComponentResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image Builder Component.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetComponentArgs;
* 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 = ImagebuilderFunctions.getComponent(GetComponentArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getComponentPlain(GetComponentPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getComponent:getComponent", TypeShape.of(GetComponentResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Components matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetComponentsArgs;
* 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 = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
* .owner("Self")
* .filters(GetComponentsFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getComponents() {
return getComponents(GetComponentsArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Components matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetComponentsArgs;
* 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 = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
* .owner("Self")
* .filters(GetComponentsFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getComponentsPlain() {
return getComponentsPlain(GetComponentsPlainArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Components matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetComponentsArgs;
* 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 = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
* .owner("Self")
* .filters(GetComponentsFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getComponents(GetComponentsArgs args) {
return getComponents(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Components matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetComponentsArgs;
* 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 = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
* .owner("Self")
* .filters(GetComponentsFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getComponentsPlain(GetComponentsPlainArgs args) {
return getComponentsPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Components matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetComponentsArgs;
* 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 = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
* .owner("Self")
* .filters(GetComponentsFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getComponents(GetComponentsArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getComponents:getComponents", TypeShape.of(GetComponentsResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Components matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetComponentsArgs;
* 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 = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
* .owner("Self")
* .filters(GetComponentsFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getComponentsPlain(GetComponentsPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getComponents:getComponents", TypeShape.of(GetComponentsResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image builder Container Recipe.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipeArgs;
* 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 = ImagebuilderFunctions.getContainerRecipe(GetContainerRecipeArgs.builder()
* .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRecipe(GetContainerRecipeArgs args) {
return getContainerRecipe(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image builder Container Recipe.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipeArgs;
* 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 = ImagebuilderFunctions.getContainerRecipe(GetContainerRecipeArgs.builder()
* .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRecipePlain(GetContainerRecipePlainArgs args) {
return getContainerRecipePlain(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image builder Container Recipe.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipeArgs;
* 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 = ImagebuilderFunctions.getContainerRecipe(GetContainerRecipeArgs.builder()
* .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRecipe(GetContainerRecipeArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getContainerRecipe:getContainerRecipe", TypeShape.of(GetContainerRecipeResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image builder Container Recipe.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipeArgs;
* 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 = ImagebuilderFunctions.getContainerRecipe(GetContainerRecipeArgs.builder()
* .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRecipePlain(GetContainerRecipePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getContainerRecipe:getContainerRecipe", TypeShape.of(GetContainerRecipeResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Container Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipesArgs;
* 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 = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
* .owner("Self")
* .filters(GetContainerRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRecipes() {
return getContainerRecipes(GetContainerRecipesArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Container Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipesArgs;
* 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 = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
* .owner("Self")
* .filters(GetContainerRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRecipesPlain() {
return getContainerRecipesPlain(GetContainerRecipesPlainArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Container Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipesArgs;
* 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 = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
* .owner("Self")
* .filters(GetContainerRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRecipes(GetContainerRecipesArgs args) {
return getContainerRecipes(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Container Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipesArgs;
* 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 = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
* .owner("Self")
* .filters(GetContainerRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRecipesPlain(GetContainerRecipesPlainArgs args) {
return getContainerRecipesPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Container Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipesArgs;
* 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 = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
* .owner("Self")
* .filters(GetContainerRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRecipes(GetContainerRecipesArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getContainerRecipes:getContainerRecipes", TypeShape.of(GetContainerRecipesResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Container Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetContainerRecipesArgs;
* 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 = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
* .owner("Self")
* .filters(GetContainerRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRecipesPlain(GetContainerRecipesPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getContainerRecipes:getContainerRecipes", TypeShape.of(GetContainerRecipesResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image Builder Distribution Configuration.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationArgs;
* 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 = ImagebuilderFunctions.getDistributionConfiguration(GetDistributionConfigurationArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getDistributionConfiguration(GetDistributionConfigurationArgs args) {
return getDistributionConfiguration(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Distribution Configuration.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationArgs;
* 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 = ImagebuilderFunctions.getDistributionConfiguration(GetDistributionConfigurationArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getDistributionConfigurationPlain(GetDistributionConfigurationPlainArgs args) {
return getDistributionConfigurationPlain(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Distribution Configuration.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationArgs;
* 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 = ImagebuilderFunctions.getDistributionConfiguration(GetDistributionConfigurationArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getDistributionConfiguration(GetDistributionConfigurationArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getDistributionConfiguration:getDistributionConfiguration", TypeShape.of(GetDistributionConfigurationResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image Builder Distribution Configuration.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationArgs;
* 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 = ImagebuilderFunctions.getDistributionConfiguration(GetDistributionConfigurationArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getDistributionConfigurationPlain(GetDistributionConfigurationPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getDistributionConfiguration:getDistributionConfiguration", TypeShape.of(GetDistributionConfigurationResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Distribution Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationsArgs;
* 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 = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
* .filters(GetDistributionConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getDistributionConfigurations() {
return getDistributionConfigurations(GetDistributionConfigurationsArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Distribution Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationsArgs;
* 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 = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
* .filters(GetDistributionConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getDistributionConfigurationsPlain() {
return getDistributionConfigurationsPlain(GetDistributionConfigurationsPlainArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Distribution Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationsArgs;
* 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 = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
* .filters(GetDistributionConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getDistributionConfigurations(GetDistributionConfigurationsArgs args) {
return getDistributionConfigurations(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Distribution Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationsArgs;
* 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 = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
* .filters(GetDistributionConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getDistributionConfigurationsPlain(GetDistributionConfigurationsPlainArgs args) {
return getDistributionConfigurationsPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Distribution Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationsArgs;
* 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 = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
* .filters(GetDistributionConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getDistributionConfigurations(GetDistributionConfigurationsArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getDistributionConfigurations:getDistributionConfigurations", TypeShape.of(GetDistributionConfigurationsResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Distribution Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetDistributionConfigurationsArgs;
* 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 = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
* .filters(GetDistributionConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getDistributionConfigurationsPlain(GetDistributionConfigurationsPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getDistributionConfigurations:getDistributionConfigurations", TypeShape.of(GetDistributionConfigurationsResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image Builder Image.
*
* ## Example Usage
*
* ### Latest
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.aws.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageArgs;
* 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 = ImagebuilderFunctions.getImage(GetImageArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImage(GetImageArgs args) {
return getImage(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Image.
*
* ## Example Usage
*
* ### Latest
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.aws.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageArgs;
* 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 = ImagebuilderFunctions.getImage(GetImageArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImagePlain(GetImagePlainArgs args) {
return getImagePlain(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Image.
*
* ## Example Usage
*
* ### Latest
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.aws.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageArgs;
* 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 = ImagebuilderFunctions.getImage(GetImageArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImage(GetImageArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getImage:getImage", TypeShape.of(GetImageResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image Builder Image.
*
* ## Example Usage
*
* ### Latest
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.aws.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageArgs;
* 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 = ImagebuilderFunctions.getImage(GetImageArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImagePlain(GetImagePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getImage:getImage", TypeShape.of(GetImageResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image Builder Image Pipeline.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImagePipelineArgs;
* 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 = ImagebuilderFunctions.getImagePipeline(GetImagePipelineArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImagePipeline(GetImagePipelineArgs args) {
return getImagePipeline(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Image Pipeline.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImagePipelineArgs;
* 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 = ImagebuilderFunctions.getImagePipeline(GetImagePipelineArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImagePipelinePlain(GetImagePipelinePlainArgs args) {
return getImagePipelinePlain(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Image Pipeline.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImagePipelineArgs;
* 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 = ImagebuilderFunctions.getImagePipeline(GetImagePipelineArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImagePipeline(GetImagePipelineArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getImagePipeline:getImagePipeline", TypeShape.of(GetImagePipelineResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image Builder Image Pipeline.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImagePipelineArgs;
* 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 = ImagebuilderFunctions.getImagePipeline(GetImagePipelineArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImagePipelinePlain(GetImagePipelinePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getImagePipeline:getImagePipeline", TypeShape.of(GetImagePipelineResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Pipelines matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImagePipelinesArgs;
* 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 = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
* .filters(GetImagePipelinesFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImagePipelines() {
return getImagePipelines(GetImagePipelinesArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Pipelines matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImagePipelinesArgs;
* 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 = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
* .filters(GetImagePipelinesFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImagePipelinesPlain() {
return getImagePipelinesPlain(GetImagePipelinesPlainArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Pipelines matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImagePipelinesArgs;
* 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 = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
* .filters(GetImagePipelinesFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImagePipelines(GetImagePipelinesArgs args) {
return getImagePipelines(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Pipelines matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImagePipelinesArgs;
* 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 = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
* .filters(GetImagePipelinesFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImagePipelinesPlain(GetImagePipelinesPlainArgs args) {
return getImagePipelinesPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Pipelines matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImagePipelinesArgs;
* 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 = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
* .filters(GetImagePipelinesFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImagePipelines(GetImagePipelinesArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getImagePipelines:getImagePipelines", TypeShape.of(GetImagePipelinesResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Pipelines matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImagePipelinesArgs;
* 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 = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
* .filters(GetImagePipelinesFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImagePipelinesPlain(GetImagePipelinesPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getImagePipelines:getImagePipelines", TypeShape.of(GetImagePipelinesResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image Builder Image Recipe.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageRecipeArgs;
* 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 = ImagebuilderFunctions.getImageRecipe(GetImageRecipeArgs.builder()
* .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImageRecipe(GetImageRecipeArgs args) {
return getImageRecipe(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Image Recipe.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageRecipeArgs;
* 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 = ImagebuilderFunctions.getImageRecipe(GetImageRecipeArgs.builder()
* .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImageRecipePlain(GetImageRecipePlainArgs args) {
return getImageRecipePlain(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Image Recipe.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageRecipeArgs;
* 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 = ImagebuilderFunctions.getImageRecipe(GetImageRecipeArgs.builder()
* .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImageRecipe(GetImageRecipeArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getImageRecipe:getImageRecipe", TypeShape.of(GetImageRecipeResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image Builder Image Recipe.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageRecipeArgs;
* 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 = ImagebuilderFunctions.getImageRecipe(GetImageRecipeArgs.builder()
* .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImageRecipePlain(GetImageRecipePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getImageRecipe:getImageRecipe", TypeShape.of(GetImageRecipeResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageRecipesArgs;
* 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 = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
* .owner("Self")
* .filters(GetImageRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImageRecipes() {
return getImageRecipes(GetImageRecipesArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageRecipesArgs;
* 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 = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
* .owner("Self")
* .filters(GetImageRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImageRecipesPlain() {
return getImageRecipesPlain(GetImageRecipesPlainArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageRecipesArgs;
* 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 = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
* .owner("Self")
* .filters(GetImageRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImageRecipes(GetImageRecipesArgs args) {
return getImageRecipes(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageRecipesArgs;
* 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 = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
* .owner("Self")
* .filters(GetImageRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImageRecipesPlain(GetImageRecipesPlainArgs args) {
return getImageRecipesPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageRecipesArgs;
* 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 = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
* .owner("Self")
* .filters(GetImageRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getImageRecipes(GetImageRecipesArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getImageRecipes:getImageRecipes", TypeShape.of(GetImageRecipesResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Image Recipes matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetImageRecipesArgs;
* 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 = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
* .owner("Self")
* .filters(GetImageRecipesFilterArgs.builder()
* .name("platform")
* .values("Linux")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getImageRecipesPlain(GetImageRecipesPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getImageRecipes:getImageRecipes", TypeShape.of(GetImageRecipesResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image Builder Infrastructure Configuration.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationArgs;
* 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 = ImagebuilderFunctions.getInfrastructureConfiguration(GetInfrastructureConfigurationArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getInfrastructureConfiguration(GetInfrastructureConfigurationArgs args) {
return getInfrastructureConfiguration(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Infrastructure Configuration.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationArgs;
* 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 = ImagebuilderFunctions.getInfrastructureConfiguration(GetInfrastructureConfigurationArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getInfrastructureConfigurationPlain(GetInfrastructureConfigurationPlainArgs args) {
return getInfrastructureConfigurationPlain(args, InvokeOptions.Empty);
}
/**
* Provides details about an Image Builder Infrastructure Configuration.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationArgs;
* 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 = ImagebuilderFunctions.getInfrastructureConfiguration(GetInfrastructureConfigurationArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getInfrastructureConfiguration(GetInfrastructureConfigurationArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getInfrastructureConfiguration:getInfrastructureConfiguration", TypeShape.of(GetInfrastructureConfigurationResult.class), args, Utilities.withVersion(options));
}
/**
* Provides details about an Image Builder Infrastructure Configuration.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationArgs;
* 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 = ImagebuilderFunctions.getInfrastructureConfiguration(GetInfrastructureConfigurationArgs.builder()
* .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getInfrastructureConfigurationPlain(GetInfrastructureConfigurationPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getInfrastructureConfiguration:getInfrastructureConfiguration", TypeShape.of(GetInfrastructureConfigurationResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Infrastructure Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationsArgs;
* 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 = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
* .filters(GetInfrastructureConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getInfrastructureConfigurations() {
return getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Infrastructure Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationsArgs;
* 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 = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
* .filters(GetInfrastructureConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getInfrastructureConfigurationsPlain() {
return getInfrastructureConfigurationsPlain(GetInfrastructureConfigurationsPlainArgs.Empty, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Infrastructure Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationsArgs;
* 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 = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
* .filters(GetInfrastructureConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs args) {
return getInfrastructureConfigurations(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Infrastructure Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationsArgs;
* 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 = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
* .filters(GetInfrastructureConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getInfrastructureConfigurationsPlain(GetInfrastructureConfigurationsPlainArgs args) {
return getInfrastructureConfigurationsPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the ARNs and names of Image Builder Infrastructure Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationsArgs;
* 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 = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
* .filters(GetInfrastructureConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("aws:imagebuilder/getInfrastructureConfigurations:getInfrastructureConfigurations", TypeShape.of(GetInfrastructureConfigurationsResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the ARNs and names of Image Builder Infrastructure Configurations matching the specified criteria.
*
* ## 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.imagebuilder.ImagebuilderFunctions;
* import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationsArgs;
* 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 = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
* .filters(GetInfrastructureConfigurationsFilterArgs.builder()
* .name("name")
* .values("example")
* .build())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getInfrastructureConfigurationsPlain(GetInfrastructureConfigurationsPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("aws:imagebuilder/getInfrastructureConfigurations:getInfrastructureConfigurations", TypeShape.of(GetInfrastructureConfigurationsResult.class), args, Utilities.withVersion(options));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy