Class NetworkfirewallFirewall.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static NetworkfirewallFirewall.Builder create​(software.constructs.Construct scope,
                                                             String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of NetworkfirewallFirewall.Builder.
      • connection

        @Stability(Experimental)
        public NetworkfirewallFirewall.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public NetworkfirewallFirewall.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public NetworkfirewallFirewall.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public NetworkfirewallFirewall.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public NetworkfirewallFirewall.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public NetworkfirewallFirewall.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public NetworkfirewallFirewall.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • firewallPolicyArn

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder firewallPolicyArn​(String firewallPolicyArn)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#firewall_policy_arn NetworkfirewallFirewall#firewall_policy_arn}.

        Parameters:
        firewallPolicyArn - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#firewall_policy_arn NetworkfirewallFirewall#firewall_policy_arn}. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder name​(String name)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#name NetworkfirewallFirewall#name}.

        Parameters:
        name - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#name NetworkfirewallFirewall#name}. This parameter is required.
        Returns:
        this
      • subnetMapping

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder subnetMapping​(com.hashicorp.cdktf.IResolvable subnetMapping)
        subnet_mapping block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_mapping NetworkfirewallFirewall#subnet_mapping}

        Parameters:
        subnetMapping - subnet_mapping block. This parameter is required.
        Returns:
        this
      • subnetMapping

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder subnetMapping​(List<? extends NetworkfirewallFirewallSubnetMapping> subnetMapping)
        subnet_mapping block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_mapping NetworkfirewallFirewall#subnet_mapping}

        Parameters:
        subnetMapping - subnet_mapping block. This parameter is required.
        Returns:
        this
      • vpcId

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder vpcId​(String vpcId)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#vpc_id NetworkfirewallFirewall#vpc_id}.

        Parameters:
        vpcId - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#vpc_id NetworkfirewallFirewall#vpc_id}. This parameter is required.
        Returns:
        this
      • deleteProtection

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder deleteProtection​(Boolean deleteProtection)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#delete_protection NetworkfirewallFirewall#delete_protection}.

        Parameters:
        deleteProtection - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#delete_protection NetworkfirewallFirewall#delete_protection}. This parameter is required.
        Returns:
        this
      • deleteProtection

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder deleteProtection​(com.hashicorp.cdktf.IResolvable deleteProtection)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#delete_protection NetworkfirewallFirewall#delete_protection}.

        Parameters:
        deleteProtection - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#delete_protection NetworkfirewallFirewall#delete_protection}. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder description​(String description)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#description NetworkfirewallFirewall#description}.

        Parameters:
        description - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#description NetworkfirewallFirewall#description}. This parameter is required.
        Returns:
        this
      • encryptionConfiguration

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder encryptionConfiguration​(NetworkfirewallFirewallEncryptionConfiguration encryptionConfiguration)
        encryption_configuration block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#encryption_configuration NetworkfirewallFirewall#encryption_configuration}

        Parameters:
        encryptionConfiguration - encryption_configuration block. This parameter is required.
        Returns:
        this
      • firewallPolicyChangeProtection

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder firewallPolicyChangeProtection​(Boolean firewallPolicyChangeProtection)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#firewall_policy_change_protection NetworkfirewallFirewall#firewall_policy_change_protection}.

        Parameters:
        firewallPolicyChangeProtection - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#firewall_policy_change_protection NetworkfirewallFirewall#firewall_policy_change_protection}. This parameter is required.
        Returns:
        this
      • firewallPolicyChangeProtection

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder firewallPolicyChangeProtection​(com.hashicorp.cdktf.IResolvable firewallPolicyChangeProtection)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#firewall_policy_change_protection NetworkfirewallFirewall#firewall_policy_change_protection}.

        Parameters:
        firewallPolicyChangeProtection - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#firewall_policy_change_protection NetworkfirewallFirewall#firewall_policy_change_protection}. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#id NetworkfirewallFirewall#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#id NetworkfirewallFirewall#id}. This parameter is required.
        Returns:
        this
      • subnetChangeProtection

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder subnetChangeProtection​(Boolean subnetChangeProtection)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_change_protection NetworkfirewallFirewall#subnet_change_protection}.

        Parameters:
        subnetChangeProtection - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_change_protection NetworkfirewallFirewall#subnet_change_protection}. This parameter is required.
        Returns:
        this
      • subnetChangeProtection

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder subnetChangeProtection​(com.hashicorp.cdktf.IResolvable subnetChangeProtection)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_change_protection NetworkfirewallFirewall#subnet_change_protection}.

        Parameters:
        subnetChangeProtection - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_change_protection NetworkfirewallFirewall#subnet_change_protection}. This parameter is required.
        Returns:
        this
      • tags

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder tags​(Map<String,​String> tags)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#tags NetworkfirewallFirewall#tags}.

        Parameters:
        tags - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#tags NetworkfirewallFirewall#tags}. This parameter is required.
        Returns:
        this
      • tagsAll

        @Stability(Stable)
        public NetworkfirewallFirewall.Builder tagsAll​(Map<String,​String> tagsAll)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#tags_all NetworkfirewallFirewall#tags_all}.

        Parameters:
        tagsAll - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#tags_all NetworkfirewallFirewall#tags_all}. This parameter is required.
        Returns:
        this