Readonly
autoscalingAn AutoScaling Group configuration
Readonly
config(OPTIONAL) Specify a relative S3 object path to pull a firewall configuration file from.
For example, if your S3 object path is s3://path/to/config.txt
, specify path/to/config.txt
for this property.
NOTE: The custom resource backing this feature does not force update on every core pipeline run. To update the resource, update the name of the configuration file.
Setting this property allows you to make use of firewall configuration replacements. This allows you to configure your firewall instance dynamically using values determined at CDK runtime.
NOTE: The configuration file must be uploaded to the accelerator-created assets bucket in the home region of
your Management account. This is the ${AcceleratorPrefix}-assets
bucket, not the cdk-accel-assets
bucket.
The transformed configuration file will be uploaded to ${AcceleratorPrefix}-firewall-config
bucket in the account and region your firewall instance
is deployed to. This config file can be consumed by third-party firewall vendors that support pulling a configuration file from S3.
Supported replacements:
${ACCEL_LOOKUP::EC2:VPC:<METADATA_TYPE>_<INDEX>}
, where <METADATA_TYPE>
is a type listed below,
and <INDEX>
is the index of the VPC CIDR range.0
.${ACCEL_LOOKUP::EC2:VPC:CIDR_0}
- translates to the primary CIDR range of the VPC${ACCEL_LOOKUP::EC2:SUBNET:<METADATA_TYPE>:<SUBNET_NAME>}
, where <METADATA_TYPE>
is a type listed
below, and <SUBNET_NAME>
is the logical name of the subnet as defined in network-config.yaml
.${ACCEL_LOOKUP::EC2:SUBNET:CIDR:firewall-data-subnet-a}
- translates to the CIDR range of a subnet named firewall-data-subnet-a
For replacements that are supported in firewall userdata, see userData.
Readonly
launchThe launch template for the firewall instance
CAUTION: Changing values under this property after initial deployment will cause instance replacements in your autoscaling group. This will not impact downstream dependencies, but may impact your network connectivity and/or throughput.
Readonly
license(OPTIONAL) Specify a relative S3 object path to pull a firewall license file from.
For example, if your S3 object path is s3://path/to/license.lic
, specify path/to/license.lic
for this property.
NOTE: The custom resource backing this feature does not force update on every core pipeline run. To update the resource, update the name of the license file.
The license file must be uploaded to the accelerator-created assets bucket in the home region of
your Management account. This is the ${AcceleratorPrefix}-assets
bucket, not the cdk-accel-assets
bucket.
The license file will be uploaded to ${AcceleratorPrefix}-firewall-config
bucket in the account and region your firewall instance
is deployed to. This license file can be consumed by third-party firewall vendors that support pulling a license file from S3.
Readonly
nameThe friendly name of the firewall instance
CAUTION: Changing values under this property after initial deployment will cause an autoscaling group replacement. Please be aware that any downstream dependencies may cause this property update to fail.
Readonly
tags(OPTIONAL) An array of tags
Readonly
vpcThe friendly name of the VPC to deploy the firewall instance to
This VPC must contain the subnet(s) defined for the network interfaces under the launchTemplate
property
Generated using TypeDoc
CustomizationsConfig / Ec2FirewallConfig / Ec2FirewallAutoScalingGroupConfig
EC2 firewall autoscaling group configuration. Used to define EC2-based firewall instances to be deployed in an autoscaling group.