NodeGroupSecurityGroup

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 a NodeGroupSecurityGroup Resource

new NodeGroupSecurityGroup(name: string, args: NodeGroupSecurityGroupArgs, opts?: CustomResourceOptions);
@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,
                           tags: Optional[Mapping[str, str]] = None,
                           vpc_id: Optional[str] = None)
@overload
def NodeGroupSecurityGroup(resource_name: str,
                           args: NodeGroupSecurityGroupArgs,
                           opts: Optional[ResourceOptions] = None)
func NewNodeGroupSecurityGroup(ctx *Context, name string, args NodeGroupSecurityGroupArgs, opts ...ResourceOption) (*NodeGroupSecurityGroup, error)
public NodeGroupSecurityGroup(string name, NodeGroupSecurityGroupArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args NodeGroupSecurityGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
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 CustomResourceOptions
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 Programming Model docs.

Inputs

The NodeGroupSecurityGroup resource accepts the following input properties:

ClusterSecurityGroup Pulumi.Aws.Ec2.SecurityGroup
The security group associated with the EKS cluster.
EksCluster Pulumi.Aws.Eks.Cluster
The EKS cluster associated with the worker node group
VpcId string
The VPC in which to create the worker node group.
Tags Dictionary<string, string>
Key-value mapping of tags to apply to this security group.
ClusterSecurityGroup SecurityGroup
The security group associated with the EKS cluster.
EksCluster Cluster
The EKS cluster associated with the worker node group
VpcId string
The VPC in which to create the worker node group.
Tags map[string]string
Key-value mapping of tags to apply to this security group.
clusterSecurityGroup awsec2SecurityGroup
The security group associated with the EKS cluster.
eksCluster awseksCluster
The EKS cluster associated with the worker node group
vpcId string
The VPC in which to create the worker node group.
tags {[key: string]: string}
Key-value mapping of tags to apply to this security group.
cluster_security_group SecurityGroup
The security group associated with the EKS cluster.
eks_cluster Cluster
The EKS cluster associated with the worker node group
vpc_id str
The VPC in which to create the worker node group.
tags Mapping[str, str]
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:

Id string
The provider-assigned unique ID for this managed resource.
SecurityGroup Pulumi.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.
SecurityGroupRule Pulumi.Aws.Ec2.SecurityGroupRule
The EKS cluster ingress rule.
Id string
The provider-assigned unique ID for this managed resource.
SecurityGroup SecurityGroup
The security group for node groups with the default ingress & egress rules required to connect and work with the EKS cluster security group.
SecurityGroupRule SecurityGroupRule
The EKS cluster ingress rule.
id string
The provider-assigned unique ID for this managed resource.
securityGroup awsec2SecurityGroup
The security group for node groups with the default ingress & egress rules required to connect and work with the EKS cluster security group.
securityGroupRule awsec2SecurityGroupRule
The EKS cluster ingress rule.
id str
The provider-assigned unique ID for this managed resource.
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.
security_group_rule SecurityGroupRule
The EKS cluster ingress rule.

Package Details

Repository
https://github.com/pulumi/pulumi-eks
License
Apache-2.0