Skip to content
v2.277.0

NetworkFirewallPolicyProperty Struct ​

Configures the firewall policy deployment model of AWS Network Firewall .

For information about Network Firewall deployment models, see AWS Network Firewall example architectures with routing in the Network Firewall Developer Guide .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fms as fms } from 'aws-cdk-lib';
const networkFirewallPolicyProperty: fms.CfnPolicy.NetworkFirewallPolicyProperty = {
  firewallDeploymentModel: 'firewallDeploymentModel',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_fms as fms

network_firewall_policy_property = fms.CfnPolicy.NetworkFirewallPolicyProperty(
    firewall_deployment_model="firewallDeploymentModel"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fms.*;

NetworkFirewallPolicyProperty networkFirewallPolicyProperty = NetworkFirewallPolicyProperty.builder()
        .firewallDeploymentModel("firewallDeploymentModel")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FMS;

var networkFirewallPolicyProperty = new NetworkFirewallPolicyProperty {
    FirewallDeploymentModel = "firewallDeploymentModel"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

networkFirewallPolicyProperty := &NetworkFirewallPolicyProperty{
	FirewallDeploymentModel: jsii.String("firewallDeploymentModel"),
}

Properties ​

firewallDeploymentModelstringfirewall_deployment_modelstrfirewallDeploymentModelStringFirewallDeploymentModelstringFirewallDeploymentModel*stringrequired#
Defines the deployment model to use for the firewall policy.

To use a distributed model, set FirewallDeploymentModel to DISTRIBUTED .