Class FirewallArgs.Builder

  • Enclosing class:
    FirewallArgs

    public static final class FirewallArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • availabilityZoneChangeProtection

        public FirewallArgs.Builder availabilityZoneChangeProtection​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.Boolean> availabilityZoneChangeProtection)
        Parameters:
        availabilityZoneChangeProtection - A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to `true`, you must first disable this protection before adding or removing Availability Zones.
        Returns:
        builder
      • availabilityZoneChangeProtection

        public FirewallArgs.Builder availabilityZoneChangeProtection​(java.lang.Boolean availabilityZoneChangeProtection)
        Parameters:
        availabilityZoneChangeProtection - A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to `true`, you must first disable this protection before adding or removing Availability Zones.
        Returns:
        builder
      • availabilityZoneMappings

        public FirewallArgs.Builder availabilityZoneMappings​(@Nullable
                                                             com.pulumi.core.Output<java.util.List<FirewallAvailabilityZoneMappingArgs>> availabilityZoneMappings)
        Parameters:
        availabilityZoneMappings - Required when creating a transit gateway-attached firewall. Set of configuration blocks describing the availability availability where you want to create firewall endpoints for a transit gateway-attached firewall.
        Returns:
        builder
      • availabilityZoneMappings

        public FirewallArgs.Builder availabilityZoneMappings​(java.util.List<FirewallAvailabilityZoneMappingArgs> availabilityZoneMappings)
        Parameters:
        availabilityZoneMappings - Required when creating a transit gateway-attached firewall. Set of configuration blocks describing the availability availability where you want to create firewall endpoints for a transit gateway-attached firewall.
        Returns:
        builder
      • availabilityZoneMappings

        public FirewallArgs.Builder availabilityZoneMappings​(FirewallAvailabilityZoneMappingArgs... availabilityZoneMappings)
        Parameters:
        availabilityZoneMappings - Required when creating a transit gateway-attached firewall. Set of configuration blocks describing the availability availability where you want to create firewall endpoints for a transit gateway-attached firewall.
        Returns:
        builder
      • deleteProtection

        public FirewallArgs.Builder deleteProtection​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> deleteProtection)
        Parameters:
        deleteProtection - A flag indicating whether the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. Defaults to `false`.
        Returns:
        builder
      • deleteProtection

        public FirewallArgs.Builder deleteProtection​(java.lang.Boolean deleteProtection)
        Parameters:
        deleteProtection - A flag indicating whether the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. Defaults to `false`.
        Returns:
        builder
      • description

        public FirewallArgs.Builder description​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A friendly description of the firewall.
        Returns:
        builder
      • description

        public FirewallArgs.Builder description​(java.lang.String description)
        Parameters:
        description - A friendly description of the firewall.
        Returns:
        builder
      • enabledAnalysisTypes

        public FirewallArgs.Builder enabledAnalysisTypes​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> enabledAnalysisTypes)
        Parameters:
        enabledAnalysisTypes - Set of types for which to collect analysis metrics. See [Reporting on network traffic in Network Firewall](https://docs.aws.amazon.com/network-firewall/latest/developerguide/reporting.html) for details on how to use the data. Valid values: `TLS_SNI`, `HTTP_HOST`. Defaults to `[]`.
        Returns:
        builder
      • enabledAnalysisTypes

        public FirewallArgs.Builder enabledAnalysisTypes​(java.util.List<java.lang.String> enabledAnalysisTypes)
        Parameters:
        enabledAnalysisTypes - Set of types for which to collect analysis metrics. See [Reporting on network traffic in Network Firewall](https://docs.aws.amazon.com/network-firewall/latest/developerguide/reporting.html) for details on how to use the data. Valid values: `TLS_SNI`, `HTTP_HOST`. Defaults to `[]`.
        Returns:
        builder
      • enabledAnalysisTypes

        public FirewallArgs.Builder enabledAnalysisTypes​(java.lang.String... enabledAnalysisTypes)
        Parameters:
        enabledAnalysisTypes - Set of types for which to collect analysis metrics. See [Reporting on network traffic in Network Firewall](https://docs.aws.amazon.com/network-firewall/latest/developerguide/reporting.html) for details on how to use the data. Valid values: `TLS_SNI`, `HTTP_HOST`. Defaults to `[]`.
        Returns:
        builder
      • encryptionConfiguration

        public FirewallArgs.Builder encryptionConfiguration​(@Nullable
                                                            com.pulumi.core.Output<FirewallEncryptionConfigurationArgs> encryptionConfiguration)
        Parameters:
        encryptionConfiguration - KMS encryption configuration settings. See Encryption Configuration below for details.
        Returns:
        builder
      • encryptionConfiguration

        public FirewallArgs.Builder encryptionConfiguration​(FirewallEncryptionConfigurationArgs encryptionConfiguration)
        Parameters:
        encryptionConfiguration - KMS encryption configuration settings. See Encryption Configuration below for details.
        Returns:
        builder
      • firewallPolicyArn

        public FirewallArgs.Builder firewallPolicyArn​(com.pulumi.core.Output<java.lang.String> firewallPolicyArn)
        Parameters:
        firewallPolicyArn - ARN of the VPC Firewall policy.
        Returns:
        builder
      • firewallPolicyArn

        public FirewallArgs.Builder firewallPolicyArn​(java.lang.String firewallPolicyArn)
        Parameters:
        firewallPolicyArn - ARN of the VPC Firewall policy.
        Returns:
        builder
      • firewallPolicyChangeProtection

        public FirewallArgs.Builder firewallPolicyChangeProtection​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Boolean> firewallPolicyChangeProtection)
        Parameters:
        firewallPolicyChangeProtection - A flag indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. Defaults to `false`.
        Returns:
        builder
      • firewallPolicyChangeProtection

        public FirewallArgs.Builder firewallPolicyChangeProtection​(java.lang.Boolean firewallPolicyChangeProtection)
        Parameters:
        firewallPolicyChangeProtection - A flag indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. Defaults to `false`.
        Returns:
        builder
      • name

        public FirewallArgs.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A friendly name of the firewall.
        Returns:
        builder
      • name

        public FirewallArgs.Builder name​(java.lang.String name)
        Parameters:
        name - A friendly name of the firewall.
        Returns:
        builder
      • region

        public FirewallArgs.Builder region​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public FirewallArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • subnetChangeProtection

        public FirewallArgs.Builder subnetChangeProtection​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> subnetChangeProtection)
        Parameters:
        subnetChangeProtection - A flag indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. Defaults to `false`.
        Returns:
        builder
      • subnetChangeProtection

        public FirewallArgs.Builder subnetChangeProtection​(java.lang.Boolean subnetChangeProtection)
        Parameters:
        subnetChangeProtection - A flag indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. Defaults to `false`.
        Returns:
        builder
      • subnetMappings

        public FirewallArgs.Builder subnetMappings​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<FirewallSubnetMappingArgs>> subnetMappings)
        Parameters:
        subnetMappings - Required when creating a VPC attached firewall. Set of configuration blocks describing the public subnets. Each subnet must belong to a different Availability Zone in the VPC. AWS Network Firewall creates a firewall endpoint in each subnet. See Subnet Mapping below for details.
        Returns:
        builder
      • subnetMappings

        public FirewallArgs.Builder subnetMappings​(java.util.List<FirewallSubnetMappingArgs> subnetMappings)
        Parameters:
        subnetMappings - Required when creating a VPC attached firewall. Set of configuration blocks describing the public subnets. Each subnet must belong to a different Availability Zone in the VPC. AWS Network Firewall creates a firewall endpoint in each subnet. See Subnet Mapping below for details.
        Returns:
        builder
      • subnetMappings

        public FirewallArgs.Builder subnetMappings​(FirewallSubnetMappingArgs... subnetMappings)
        Parameters:
        subnetMappings - Required when creating a VPC attached firewall. Set of configuration blocks describing the public subnets. Each subnet must belong to a different Availability Zone in the VPC. AWS Network Firewall creates a firewall endpoint in each subnet. See Subnet Mapping below for details.
        Returns:
        builder
      • tags

        public FirewallArgs.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public FirewallArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • transitGatewayId

        public FirewallArgs.Builder transitGatewayId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> transitGatewayId)
        Parameters:
        transitGatewayId - . Required when creating a transit gateway-attached firewall. The unique identifier of the transit gateway to attach to this firewall. You can provide either a transit gateway from your account or one that has been shared with you through AWS Resource Access Manager
        Returns:
        builder
      • transitGatewayId

        public FirewallArgs.Builder transitGatewayId​(java.lang.String transitGatewayId)
        Parameters:
        transitGatewayId - . Required when creating a transit gateway-attached firewall. The unique identifier of the transit gateway to attach to this firewall. You can provide either a transit gateway from your account or one that has been shared with you through AWS Resource Access Manager
        Returns:
        builder
      • vpcId

        public FirewallArgs.Builder vpcId​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - Required when creating a VPC attached firewall. The unique identifier of the VPC where AWS Network Firewall should create the firewall.
        Returns:
        builder
      • vpcId

        public FirewallArgs.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - Required when creating a VPC attached firewall. The unique identifier of the VPC where AWS Network Firewall should create the firewall.
        Returns:
        builder