@cloudtoolkit/aws
Version:
The Cloud Toolkit AWS provider for Pulumi provision well-architected solutions in [AWS](https://aws.amazon.com/). With Cloud Toolkit AWS you can use your preferred programming language to manage your platform with Infrastructure as Code.
87 lines (86 loc) • 3.31 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as pulumiKubernetes from "@pulumi/kubernetes";
/**
* Project is a component that create the resources in the Cluster for a set of AWS IAM Users and Roles, managing the access with the integration with AWS IAM.
*/
export declare class Project extends pulumi.ComponentResource {
/**
* Returns true if the given object is an instance of Project. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Project;
/**
* The Kubernetes RoleBinding for admin users.
*/
readonly adminRoleBinding: pulumi.Output<pulumiKubernetes.rbac.v1.RoleBinding>;
/**
* The Kubernetes ClusterRole used to grant minimal access to the cluster.
*/
readonly clusterRole: pulumi.Output<pulumiKubernetes.rbac.v1.ClusterRole>;
/**
* The Kubernetes ClusterRoleBinding to associate the ClusterRole to the project.
*/
readonly clusterRoleBinding: pulumi.Output<pulumiKubernetes.rbac.v1.ClusterRoleBinding>;
/**
* The Kubernetes RoleBinding for edit users.
*/
readonly editRoleBinding: pulumi.Output<pulumiKubernetes.rbac.v1.RoleBinding>;
/**
* The Namespace used by the project.
*/
readonly namespace: pulumi.Output<pulumiKubernetes.core.v1.Namespace>;
/**
* The Kubernetes provider used to provision Kubernetes resources.
*/
readonly provider: pulumi.Output<pulumiKubernetes.Provider>;
/**
* ResourceQuota for the provisioned Namespace.
*/
readonly resourceQuota: pulumi.Output<pulumiKubernetes.core.v1.ResourceQuota>;
/**
* The Kubernetes RoleBinding for view users.
*/
readonly viewRoleBinding: pulumi.Output<pulumiKubernetes.rbac.v1.RoleBinding>;
/**
* Create a Project resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ProjectArgs, opts?: pulumi.ComponentResourceOptions);
}
/**
* The set of arguments for constructing a Project resource.
*/
export interface ProjectArgs {
/**
* The list of AWS IAM User arns that can access to this project with 'admin' role.
*/
adminUserArns?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The list of AWS IAM User arns that can access to this project with 'edit' role.
*/
editUserArns?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The kubeconfig to access the kubernetes cluster.
*/
kubeconfig: pulumi.Input<string>;
/**
* The Project name.
*/
name: pulumi.Input<string>;
/**
* The Namespace name where the addon will be installed.
*/
namespace: pulumi.Input<string>;
/**
* The cluster resources to be assigned to the project.
*/
resources?: pulumi.Input<inputs.kubernetes.ProjectResourcesArgs>;
/**
* The list of AWS IAM User arns that can access to this project with 'view' role.
*/
viewUserArns?: pulumi.Input<pulumi.Input<string>[]>;
}