FirewallPolicyReference Struct
A reference to a FirewallPolicy resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as interfaces_networkfirewall } from 'aws-cdk-lib/interfaces';
const firewallPolicyReference: interfaces_networkfirewall.FirewallPolicyReference = {
firewallPolicyArn: 'firewallPolicyArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_networkfirewall as interfaces_networkfirewall
firewall_policy_reference = interfaces_networkfirewall.FirewallPolicyReference(
firewall_policy_arn="firewallPolicyArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.networkfirewall.*;
FirewallPolicyReference firewallPolicyReference = FirewallPolicyReference.builder()
.firewallPolicyArn("firewallPolicyArn")
.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.Interfaces.NetworkFirewall;
var firewallPolicyReference = new FirewallPolicyReference {
FirewallPolicyArn = "firewallPolicyArn"
};
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"
firewallPolicyReference := &FirewallPolicyReference{
FirewallPolicyArn: jsii.String("firewallPolicyArn"),
}
Properties
firewallPolicyArnstringfirewall_policy_arnstrfirewallPolicyArnStringFirewallPolicyArnstringFirewallPolicyArn*string required #The FirewallPolicyArn of the FirewallPolicy resource.