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?: CustomResourceOptions);
@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, CustomResourceOptions? opts = null)
public NodeGroupSecurityGroup(String name, NodeGroupSecurityGroupArgs args)
public NodeGroupSecurityGroup(String name, NodeGroupSecurityGroupArgs args, CustomResourceOptions 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 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.
- name String
- The unique name of the resource.
- args NodeGroupSecurityGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var nodeGroupSecurityGroupResource = new Eks.NodeGroupSecurityGroup("nodeGroupSecurityGroupResource", new()
{
ClusterSecurityGroup = securityGroup,
EksCluster = cluster,
VpcId = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := eks.NewNodeGroupSecurityGroup(ctx, "nodeGroupSecurityGroupResource", &eks.NodeGroupSecurityGroupArgs{
ClusterSecurityGroup: pulumi.Any(securityGroup),
EksCluster: pulumi.Any(cluster),
VpcId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var nodeGroupSecurityGroupResource = new NodeGroupSecurityGroup("nodeGroupSecurityGroupResource", NodeGroupSecurityGroupArgs.builder()
.clusterSecurityGroup(securityGroup)
.eksCluster(cluster)
.vpcId("string")
.tags(Map.of("string", "string"))
.build());
node_group_security_group_resource = eks.NodeGroupSecurityGroup("nodeGroupSecurityGroupResource",
cluster_security_group=security_group,
eks_cluster=cluster,
vpc_id="string",
tags={
"string": "string",
})
const nodeGroupSecurityGroupResource = new eks.NodeGroupSecurityGroup("nodeGroupSecurityGroupResource", {
clusterSecurityGroup: securityGroup,
eksCluster: cluster,
vpcId: "string",
tags: {
string: "string",
},
});
type: eks:NodeGroupSecurityGroup
properties:
clusterSecurityGroup: ${securityGroup}
eksCluster: ${cluster}
tags:
string: string
vpcId: string
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
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