> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# createSecurityGroup (EC2)

> Note: This operation is currently non functional. Will be available in upcoming releases . Create a security group with user defined rules. Target Pro

**Note: This operation is currently non-functional. Will be available in upcoming releases**.

Create a security group with user defined rules.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>AWS Access Key</td><td>`FDAWS_ACCESS_KEY`</td><td>Yes</td><td>The access key found on the "Security Credentials" page of the AWS management console.</td></tr><tr><td>AWS Secret Key</td><td>`FDAWS_SECRET_KEY`</td><td>Yes</td><td>The secret key found on the "Security Credentials" page of the AWS management console.</td></tr><tr><td>AWS Region</td><td>`FDAWS_ENDPOINT`</td><td>Yes</td><td>The AWS region to operate on. To find the endpoint code for your region, see [Amazon's Documentation](http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region).</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Security Group Name</td><td>`FDAWS_EC2_SEC_GROUP_NAME`</td><td>Yes</td><td>The name of the security group to create.</td></tr><tr><td>Description</td><td>`FDAWS_EC2_SEC_GROUP_DESCRIPTION`</td><td>No</td><td>A description for the security groupDefault "Created by FlexDeploy" (or similar).</td></tr><tr><td>Inbound Security Rules</td><td>`FDAWS_EC2_INBOUND_SECURITY_RULES`</td><td>No</td><td>The inbound rules to create the group with. See [security rule examples](https://docs.flexagon.com/flexdeploy-10-0-documentation/flexdeploy-plugin-guides/flexdeploy-amazon-ec2-plugin-guide/security-rules-examples.md).</td></tr><tr><td>Outbound Security Rules</td><td>`FDAWS_EC2_OUTBOUND_SECURITY_RULES`</td><td>No</td><td>The outbound rules to create the group with. See [security rule examples](https://docs.flexagon.com/flexdeploy-10-0-documentation/flexdeploy-plugin-guides/flexdeploy-amazon-ec2-plugin-guide/security-rules-examples.md).</td></tr></tbody></table>

# Artifacts

This operation does not produce or consume artifacts.  

# Endpoint Selection

This operation will select all available endpoints associated to the target.  

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

> [!NOTE]
>
> See [Security Rules Examples](https://docs.flexagon.com/flexdeploy-10-0-documentation/flexdeploy-plugin-guides/flexdeploy-amazon-ec2-plugin-guide/security-rules-examples.md) for more information.
