eks.NodeGroupSecurityGroup
Explore with Pulumi AI
NodeGroupSecurityGroup is a component that wraps creating a security group for node groups with the default ingress & egress rules required to connect and work with the EKS cluster security group.
Create NodeGroupSecurityGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodeGroupSecurityGroup(name: string, args: NodeGroupSecurityGroupArgs, opts?: ComponentResourceOptions);
@overload
def NodeGroupSecurityGroup(resource_name: str,
args: NodeGroupSecurityGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NodeGroupSecurityGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_security_group: Optional[pulumi_aws.ec2.SecurityGroup] = None,
eks_cluster: Optional[pulumi_aws.eks.Cluster] = None,
vpc_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewNodeGroupSecurityGroup(ctx *Context, name string, args NodeGroupSecurityGroupArgs, opts ...ResourceOption) (*NodeGroupSecurityGroup, error)
public NodeGroupSecurityGroup(string name, NodeGroupSecurityGroupArgs args, ComponentResourceOptions? opts = null)
public NodeGroupSecurityGroup(String name, NodeGroupSecurityGroupArgs args)
public NodeGroupSecurityGroup(String name, NodeGroupSecurityGroupArgs args, ComponentResourceOptions options)
type: eks:NodeGroupSecurityGroup
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 NodeGroupSecurityGroupArgs
- 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 NodeGroupSecurityGroupArgs
- 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 NodeGroupSecurityGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeGroupSecurityGroupArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeGroupSecurityGroupArgs
- The arguments to resource properties.
- options ComponentResourceOptions
- Bag of options to control resource's behavior.
NodeGroupSecurityGroup 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 NodeGroupSecurityGroup resource accepts the following input properties:
- Cluster
Security Pulumi.Group Aws. Ec2. Security Group - The security group associated with the EKS cluster. This type is defined in the AWS Classic package.
- Eks
Cluster Pulumi.Aws. Eks. Cluster - The EKS cluster associated with the worker node group This type is defined in the AWS Classic package.
- Vpc
Id string - The VPC in which to create the worker node group.
- Dictionary<string, string>
- Key-value mapping of tags to apply to this security group.
- Cluster
Security SecurityGroup Group - The security group associated with the EKS cluster. This type is defined in the AWS Classic package.
- Eks
Cluster Cluster - The EKS cluster associated with the worker node group This type is defined in the AWS Classic package.
- Vpc
Id string - The VPC in which to create the worker node group.
- map[string]string
- Key-value mapping of tags to apply to this security group.
- cluster
Security SecurityGroup Group - The security group associated with the EKS cluster. This type is defined in the AWS Classic package.
- eks
Cluster Cluster - The EKS cluster associated with the worker node group This type is defined in the AWS Classic package.
- vpc
Id String - The VPC in which to create the worker node group.
- Map<String,String>
- Key-value mapping of tags to apply to this security group.
- cluster
Security pulumiGroup Awsec2Security Group - The security group associated with the EKS cluster. This type is defined in the AWS Classic package.
- eks
Cluster pulumiAwseks Cluster - The EKS cluster associated with the worker node group This type is defined in the AWS Classic package.
- vpc
Id string - The VPC in which to create the worker node group.
- {[key: string]: string}
- Key-value mapping of tags to apply to this security group.
- cluster_
security_ pulumi_group aws.ec2. Security Group - The security group associated with the EKS cluster. This type is defined in the AWS Classic package.
- eks_
cluster pulumi_aws.eks. Cluster - The EKS cluster associated with the worker node group This type is defined in the AWS Classic package.
- vpc_
id str - The VPC in which to create the worker node group.
- Mapping[str, str]
- Key-value mapping of tags to apply to this security group.
- cluster
Security aws:ec2:SecurityGroup Group - The security group associated with the EKS cluster. This type is defined in the AWS Classic package.
- eks
Cluster aws:eks:Cluster - The EKS cluster associated with the worker node group This type is defined in the AWS Classic package.
- vpc
Id String - The VPC in which to create the worker node group.
- Map<String>
- Key-value mapping of tags to apply to this security group.
Outputs
All input properties are implicitly available as output properties. Additionally, the NodeGroupSecurityGroup resource produces the following output properties:
- Security
Group Pulumi.Aws. Ec2. Security Group - The security group for node groups with the default ingress & egress rules required to connect and work with the EKS cluster security group. This type is defined in the AWS Classic package.
- Security
Group Pulumi.Rule Aws. Ec2. Security Group Rule - The EKS cluster ingress rule. This type is defined in the AWS Classic package.
- Security
Group SecurityGroup - The security group for node groups with the default ingress & egress rules required to connect and work with the EKS cluster security group. This type is defined in the AWS Classic package.
- Security
Group SecurityRule Group Rule - The EKS cluster ingress rule. This type is defined in the AWS Classic package.
- security
Group SecurityGroup - The security group for node groups with the default ingress & egress rules required to connect and work with the EKS cluster security group. This type is defined in the AWS Classic package.
- security
Group SecurityRule Group Rule - The EKS cluster ingress rule. This type is defined in the AWS Classic package.
- security
Group pulumiAwsec2Security Group - The security group for node groups with the default ingress & egress rules required to connect and work with the EKS cluster security group. This type is defined in the AWS Classic package.
- security
Group pulumiRule Awsec2Security Group Rule - The EKS cluster ingress rule. This type is defined in the AWS Classic package.
- security_
group pulumi_aws.ec2. Security Group - The security group for node groups with the default ingress & egress rules required to connect and work with the EKS cluster security group. This type is defined in the AWS Classic package.
- security_
group_ pulumi_rule aws.ec2. Security Group Rule - The EKS cluster ingress rule. This type is defined in the AWS Classic package.
- security
Group aws:ec2:SecurityGroup - The security group for node groups with the default ingress & egress rules required to connect and work with the EKS cluster security group. This type is defined in the AWS Classic package.
- security
Group aws:ec2:SecurityRule Group Rule - The EKS cluster ingress rule. This type is defined in the AWS Classic package.
Package Details
- Repository
- Amazon EKS pulumi/pulumi-eks
- License
- Apache-2.0