NetworkConfig / VpcConfig | VpcTemplatesConfig / SecurityGroupConfig / SecurityGroupRuleConfig

Security group rule configuration. Used to define a security group rule.

Example

- description: Remote access security group
types:
- RDP
- SSH
sources: []

Hierarchy

  • SecurityGroupRuleConfig

Implements

Constructors

Properties

description: "" = ''

A Description for the security group rule.

fromPort: undefined | number = undefined

The port to start from in the security group rule.

An array of sources for the security group rule.

Remarks

Valid sources are CIDR ranges, security group rules, prefix lists, and subnets.

See

SecurityGroupSourceConfig | PrefixListSourceConfig | SubnetSourceConfig

tcpPorts: undefined | number[] = undefined

An array of TCP ports to include in the security group rule.

toPort: undefined | number = undefined

The port to end with in the security group rule.

types: undefined | ("HTTP" | "ALL" | "TCP" | "UDP" | "REDSHIFT" | "HTTPS" | "SSH" | "POSTGRESQL" | "ICMP" | "RDP" | "MSSQL" | "MYSQL/AURORA" | "ORACLE-RDS")[] = undefined

An array of protocol types to include in the security group rule.

See

securityGroupRuleTypeEnum

udpPorts: undefined | number[] = undefined

An array of UDP ports to include in the security group rule.

Generated using TypeDoc