NetworkConfig / VpcConfig | VpcTemplatesConfig / SecurityGroupConfig / SecurityGroupRuleConfig / SubnetSourceConfig

VPC subnet security group source configuration. Use this configuration to dynamically reference subnet CIDRs in a security group rule.

Example

- account: Network
vpc: Network-Inspection
subnets: []

Hierarchy

  • SubnetSourceConfig

Implements

Constructors

Properties

Constructors

Properties

account: string = ''

The friendly name of the account in which the VPC subnet resides.

Remarks

This is the account property of the VPC as defined in network-config.yaml. If referencing a VPC template, use the logical name property of an account the template targets in its deploymentTargets property.

See

VpcConfig | VpcTemplatesConfig

subnets: string[] = []

An array of the friendly names of subnets to reference.

Remarks

This is the logical name property of the subnet as defined in network-config.yaml.

Each subnet must exist in the source VPC targeted in the vpc property. A security group rule will be created for each referenced subnet in this array.

See

SubnetConfig

vpc: string = ''

The friendly name of the VPC in which the subnet resides.

Remarks

This is the logical name property of the VPC or VPC template as defined in network-config.yaml.

See

VpcConfig | VpcTemplatesConfig

Generated using TypeDoc