LBr Labs EKS v0.22.0 published on Monday, Aug 19, 2024 by lbrlabs
lbrlabs-eks.AttachedNodeGroup
Explore with Pulumi AI
Create AttachedNodeGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AttachedNodeGroup(name: string, args: AttachedNodeGroupArgs, opts?: ComponentResourceOptions);
@overload
def AttachedNodeGroup(resource_name: str,
args: AttachedNodeGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AttachedNodeGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
ami_type: Optional[str] = None,
capacity_type: Optional[str] = None,
disk_size: Optional[int] = None,
instance_types: Optional[Sequence[str]] = None,
labels: Optional[Mapping[str, str]] = None,
release_version: Optional[str] = None,
scaling_config: Optional[pulumi_aws.eks.NodeGroupScalingConfigArgs] = None,
tags: Optional[Mapping[str, str]] = None,
taints: Optional[Sequence[pulumi_aws.eks.NodeGroupTaintArgs]] = None)
func NewAttachedNodeGroup(ctx *Context, name string, args AttachedNodeGroupArgs, opts ...ResourceOption) (*AttachedNodeGroup, error)
public AttachedNodeGroup(string name, AttachedNodeGroupArgs args, ComponentResourceOptions? opts = null)
public AttachedNodeGroup(String name, AttachedNodeGroupArgs args)
public AttachedNodeGroup(String name, AttachedNodeGroupArgs args, ComponentResourceOptions options)
type: lbrlabs-eks:AttachedNodeGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AttachedNodeGroupArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AttachedNodeGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AttachedNodeGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AttachedNodeGroupArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AttachedNodeGroupArgs
- The arguments to resource properties.
- options ComponentResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var attachedNodeGroupResource = new Eks.AttachedNodeGroup("attachedNodeGroupResource", new()
{
ClusterName = "string",
SubnetIds = new[]
{
"string",
},
AmiType = "string",
CapacityType = "string",
DiskSize = 0,
InstanceTypes = new[]
{
"string",
},
Labels =
{
{ "string", "string" },
},
ReleaseVersion = "string",
ScalingConfig = new Aws.Eks.Inputs.NodeGroupScalingConfigArgs
{
DesiredSize = 0,
MaxSize = 0,
MinSize = 0,
},
Tags =
{
{ "string", "string" },
},
Taints = new[]
{
new Aws.Eks.Inputs.NodeGroupTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
});
example, err := lbrlabseks.NewAttachedNodeGroup(ctx, "attachedNodeGroupResource", &lbrlabseks.AttachedNodeGroupArgs{
ClusterName: pulumi.String("string"),
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
AmiType: pulumi.String("string"),
CapacityType: pulumi.String("string"),
DiskSize: pulumi.Int(0),
InstanceTypes: pulumi.StringArray{
pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ReleaseVersion: pulumi.String("string"),
ScalingConfig: &eks.NodeGroupScalingConfigArgs{
DesiredSize: pulumi.Int(0),
MaxSize: pulumi.Int(0),
MinSize: pulumi.Int(0),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Taints: eks.NodeGroupTaintArray{
&eks.NodeGroupTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var attachedNodeGroupResource = new AttachedNodeGroup("attachedNodeGroupResource", AttachedNodeGroupArgs.builder()
.clusterName("string")
.subnetIds("string")
.amiType("string")
.capacityType("string")
.diskSize(0)
.instanceTypes("string")
.labels(Map.of("string", "string"))
.releaseVersion("string")
.scalingConfig(NodeGroupScalingConfigArgs.builder()
.desiredSize(0)
.maxSize(0)
.minSize(0)
.build())
.tags(Map.of("string", "string"))
.taints(NodeGroupTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.build());
attached_node_group_resource = lbrlabs_eks.AttachedNodeGroup("attachedNodeGroupResource",
cluster_name="string",
subnet_ids=["string"],
ami_type="string",
capacity_type="string",
disk_size=0,
instance_types=["string"],
labels={
"string": "string",
},
release_version="string",
scaling_config={
"desired_size": 0,
"max_size": 0,
"min_size": 0,
},
tags={
"string": "string",
},
taints=[{
"effect": "string",
"key": "string",
"value": "string",
}])
const attachedNodeGroupResource = new lbrlabs_eks.AttachedNodeGroup("attachedNodeGroupResource", {
clusterName: "string",
subnetIds: ["string"],
amiType: "string",
capacityType: "string",
diskSize: 0,
instanceTypes: ["string"],
labels: {
string: "string",
},
releaseVersion: "string",
scalingConfig: {
desiredSize: 0,
maxSize: 0,
minSize: 0,
},
tags: {
string: "string",
},
taints: [{
effect: "string",
key: "string",
value: "string",
}],
});
type: lbrlabs-eks:AttachedNodeGroup
properties:
amiType: string
capacityType: string
clusterName: string
diskSize: 0
instanceTypes:
- string
labels:
string: string
releaseVersion: string
scalingConfig:
desiredSize: 0
maxSize: 0
minSize: 0
subnetIds:
- string
tags:
string: string
taints:
- effect: string
key: string
value: string
AttachedNodeGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AttachedNodeGroup resource accepts the following input properties:
- Cluster
Name string - The cluster name to attach the nodegroup tp.
- Subnet
Ids List<string> - Ami
Type string - The AMI Type for the nodegroup.
- Capacity
Type string - The capacity type of the nodegroup.
- Disk
Size int - The size of the disk to attach to the nodes.
- Instance
Types List<string> - Labels Dictionary<string, string>
- Key-value map of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed.
- Release
Version string - The release version for the nodegroup.
- Scaling
Config Pulumi.Aws. Eks. Inputs. Node Group Scaling Config - This type is defined in the AWS Classic package.
- Dictionary<string, string>
- Key-value map of tags to apply to the nodegroup.
- Taints
List<Pulumi.
Aws. Eks. Inputs. Node Group Taint>
- Cluster
Name string - The cluster name to attach the nodegroup tp.
- Subnet
Ids []string - Ami
Type string - The AMI Type for the nodegroup.
- Capacity
Type string - The capacity type of the nodegroup.
- Disk
Size int - The size of the disk to attach to the nodes.
- Instance
Types []string - Labels map[string]string
- Key-value map of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed.
- Release
Version string - The release version for the nodegroup.
- Scaling
Config NodeGroup Scaling Config Args - This type is defined in the AWS Classic package.
- map[string]string
- Key-value map of tags to apply to the nodegroup.
- Taints
Node
Group Taint Args
- cluster
Name String - The cluster name to attach the nodegroup tp.
- subnet
Ids List<String> - ami
Type String - The AMI Type for the nodegroup.
- capacity
Type String - The capacity type of the nodegroup.
- disk
Size Integer - The size of the disk to attach to the nodes.
- instance
Types List<String> - labels Map<String,String>
- Key-value map of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed.
- release
Version String - The release version for the nodegroup.
- scaling
Config NodeGroup Scaling Config - This type is defined in the AWS Classic package.
- Map<String,String>
- Key-value map of tags to apply to the nodegroup.
- taints
List<Node
Group Taint>
- cluster
Name string - The cluster name to attach the nodegroup tp.
- subnet
Ids string[] - ami
Type string - The AMI Type for the nodegroup.
- capacity
Type string - The capacity type of the nodegroup.
- disk
Size number - The size of the disk to attach to the nodes.
- instance
Types string[] - labels {[key: string]: string}
- Key-value map of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed.
- release
Version string - The release version for the nodegroup.
- scaling
Config pulumiAwstypesinputeks Node Group Scaling Config - This type is defined in the AWS Classic package.
- {[key: string]: string}
- Key-value map of tags to apply to the nodegroup.
- taints
pulumi
Awstypesinputeks Node Group Taint[]
- cluster_
name str - The cluster name to attach the nodegroup tp.
- subnet_
ids Sequence[str] - ami_
type str - The AMI Type for the nodegroup.
- capacity_
type str - The capacity type of the nodegroup.
- disk_
size int - The size of the disk to attach to the nodes.
- instance_
types Sequence[str] - labels Mapping[str, str]
- Key-value map of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed.
- release_
version str - The release version for the nodegroup.
- scaling_
config pulumi_aws.eks. Node Group Scaling Config Args - This type is defined in the AWS Classic package.
- Mapping[str, str]
- Key-value map of tags to apply to the nodegroup.
- taints
Sequence[pulumi_
aws.eks. Node Group Taint Args]
- cluster
Name String - The cluster name to attach the nodegroup tp.
- subnet
Ids List<String> - ami
Type String - The AMI Type for the nodegroup.
- capacity
Type String - The capacity type of the nodegroup.
- disk
Size Number - The size of the disk to attach to the nodes.
- instance
Types List<String> - labels Map<String>
- Key-value map of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed.
- release
Version String - The release version for the nodegroup.
- scaling
Config Property Map - This type is defined in the AWS Classic package.
- Map<String>
- Key-value map of tags to apply to the nodegroup.
- taints List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the AttachedNodeGroup resource produces the following output properties:
- Node
Group Pulumi.Aws. Eks. Node Group - This type is defined in the AWS Classic package.
- Node
Role Pulumi.Aws. Iam. Role - This type is defined in the AWS Classic package.
- Node
Group NodeGroup - This type is defined in the AWS Classic package.
- Node
Role Role - This type is defined in the AWS Classic package.
- node
Group NodeGroup - This type is defined in the AWS Classic package.
- node
Role Role - This type is defined in the AWS Classic package.
- node
Group pulumiAwseks Node Group - This type is defined in the AWS Classic package.
- node
Role pulumiAwsiam Role - This type is defined in the AWS Classic package.
- node_
group pulumi_aws.eks. Node Group - This type is defined in the AWS Classic package.
- node_
role pulumi_aws.iam. Role - This type is defined in the AWS Classic package.
- node
Group aws:eks:NodeGroup - This type is defined in the AWS Classic package.
- node
Role aws:iam:Role - This type is defined in the AWS Classic package.
Package Details
- Repository
- lbrlabs-eks lbrlabs/pulumi-lbrlabs-eks
- License