Class CfnFirewallConfig

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.route53resolver.CfnFirewallConfig
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IFirewallConfigRef, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-22T17:37:33.617Z") @Stability(Stable) public class CfnFirewallConfig extends CfnResource implements IInspectable, IFirewallConfigRef
Resource Type definition for AWS::Route53Resolver::FirewallConfig.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.route53resolver.*;
 CfnFirewallConfig cfnFirewallConfig = CfnFirewallConfig.Builder.create(this, "MyCfnFirewallConfig")
         .firewallFailOpen("firewallFailOpen")
         .resourceId("resourceId")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnFirewallConfig

      protected CfnFirewallConfig(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnFirewallConfig

      protected CfnFirewallConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnFirewallConfig

      @Stability(Stable) public CfnFirewallConfig(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnFirewallConfigProps props)
      Create a new AWS::Route53Resolver::FirewallConfig.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnFirewallConfig

      @Stability(Stable) public CfnFirewallConfig(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::Route53Resolver::FirewallConfig.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • arnForFirewallConfig

      @Stability(Stable) @NotNull public static String arnForFirewallConfig(@NotNull IFirewallConfigRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnFirewallConfig

      @Stability(Stable) @NotNull public static Boolean isCfnFirewallConfig(@NotNull Object x)
      Checks whether the given object is a CfnFirewallConfig.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getAttrOwnerId

      @Stability(Stable) @NotNull public String getAttrOwnerId()
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getFirewallConfigRef

      @Stability(Stable) @NotNull public FirewallConfigReference getFirewallConfigRef()
      A reference to a FirewallConfig resource.
      Specified by:
      getFirewallConfigRef in interface IFirewallConfigRef
    • getFirewallFailOpen

      @Stability(Stable) @Nullable public String getFirewallFailOpen()
    • setFirewallFailOpen

      @Stability(Stable) public void setFirewallFailOpen(@Nullable String value)
    • getResourceId

      @Stability(Stable) @Nullable public String getResourceId()
    • setResourceId

      @Stability(Stable) public void setResourceId(@Nullable String value)