Skip to content

Commit

Permalink
Regenerate java SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe authored and sean1588 committed Apr 18, 2024
1 parent 347ae04 commit 1c3a916
Show file tree
Hide file tree
Showing 3 changed files with 422 additions and 0 deletions.
34 changes: 34 additions & 0 deletions sdk/java/src/main/java/com/pulumi/eks/Cluster.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,40 @@
/**
* Cluster is a component that wraps the AWS and Kubernetes resources necessary to run an EKS cluster, its worker nodes, its optional StorageClasses, and an optional deployment of the Kubernetes Dashboard.
*
* ## Example Usage
*
* ### Provisioning a New EKS Cluster
*
* <!--Start PulumiCodeChooser -->
*
* ```java
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.eks.Cluster;
* 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) {
* // Create an EKS cluster with the default configuration.
* var cluster = new Cluster("cluster");
*
* // Export the cluster's kubeconfig.
* ctx.export("kubeconfig", cluster.kubeconfig());
* }
* }
* ```
* <!--End PulumiCodeChooser -->
*
*/
@ResourceType(type="eks:index:Cluster")
public class Cluster extends com.pulumi.resources.ComponentResource {
Expand Down
Loading

0 comments on commit 1c3a916

Please sign in to comment.