1. Packages
  2. Akamai
  3. API Docs
  4. AppSecIPGeo
Akamai v10.1.0 published on Thursday, Nov 6, 2025 by Pulumi

akamai.AppSecIPGeo

Start a Neo task
Explain and create an akamai.AppSecIPGeo resource
akamai logo
Akamai v10.1.0 published on Thursday, Nov 6, 2025 by Pulumi

    Create AppSecIPGeo Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AppSecIPGeo(name: string, args: AppSecIPGeoArgs, opts?: CustomResourceOptions);
    @overload
    def AppSecIPGeo(resource_name: str,
                    args: AppSecIPGeoArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppSecIPGeo(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    config_id: Optional[int] = None,
                    mode: Optional[str] = None,
                    security_policy_id: Optional[str] = None,
                    asn_controls: Optional[AppSecIPGeoAsnControlsArgs] = None,
                    block_action: Optional[str] = None,
                    exception_ip_network_lists: Optional[Sequence[str]] = None,
                    geo_controls: Optional[AppSecIPGeoGeoControlsArgs] = None,
                    ip_controls: Optional[AppSecIPGeoIpControlsArgs] = None,
                    ukraine_geo_control_action: Optional[str] = None)
    func NewAppSecIPGeo(ctx *Context, name string, args AppSecIPGeoArgs, opts ...ResourceOption) (*AppSecIPGeo, error)
    public AppSecIPGeo(string name, AppSecIPGeoArgs args, CustomResourceOptions? opts = null)
    public AppSecIPGeo(String name, AppSecIPGeoArgs args)
    public AppSecIPGeo(String name, AppSecIPGeoArgs args, CustomResourceOptions options)
    
    type: akamai:AppSecIPGeo
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AppSecIPGeoArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AppSecIPGeoArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AppSecIPGeoArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppSecIPGeoArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppSecIPGeoArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var appSecIPGeoResource = new Akamai.AppSecIPGeo("appSecIPGeoResource", new()
    {
        ConfigId = 0,
        Mode = "string",
        SecurityPolicyId = "string",
        AsnControls = new Akamai.Inputs.AppSecIPGeoAsnControlsArgs
        {
            Action = "string",
            AsnNetworkLists = new[]
            {
                "string",
            },
        },
        BlockAction = "string",
        ExceptionIpNetworkLists = new[]
        {
            "string",
        },
        GeoControls = new Akamai.Inputs.AppSecIPGeoGeoControlsArgs
        {
            Action = "string",
            GeoNetworkLists = new[]
            {
                "string",
            },
        },
        IpControls = new Akamai.Inputs.AppSecIPGeoIpControlsArgs
        {
            Action = "string",
            IpNetworkLists = new[]
            {
                "string",
            },
        },
        UkraineGeoControlAction = "string",
    });
    
    example, err := akamai.NewAppSecIPGeo(ctx, "appSecIPGeoResource", &akamai.AppSecIPGeoArgs{
    	ConfigId:         pulumi.Int(0),
    	Mode:             pulumi.String("string"),
    	SecurityPolicyId: pulumi.String("string"),
    	AsnControls: &akamai.AppSecIPGeoAsnControlsArgs{
    		Action: pulumi.String("string"),
    		AsnNetworkLists: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	BlockAction: pulumi.String("string"),
    	ExceptionIpNetworkLists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	GeoControls: &akamai.AppSecIPGeoGeoControlsArgs{
    		Action: pulumi.String("string"),
    		GeoNetworkLists: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	IpControls: &akamai.AppSecIPGeoIpControlsArgs{
    		Action: pulumi.String("string"),
    		IpNetworkLists: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	UkraineGeoControlAction: pulumi.String("string"),
    })
    
    var appSecIPGeoResource = new AppSecIPGeo("appSecIPGeoResource", AppSecIPGeoArgs.builder()
        .configId(0)
        .mode("string")
        .securityPolicyId("string")
        .asnControls(AppSecIPGeoAsnControlsArgs.builder()
            .action("string")
            .asnNetworkLists("string")
            .build())
        .blockAction("string")
        .exceptionIpNetworkLists("string")
        .geoControls(AppSecIPGeoGeoControlsArgs.builder()
            .action("string")
            .geoNetworkLists("string")
            .build())
        .ipControls(AppSecIPGeoIpControlsArgs.builder()
            .action("string")
            .ipNetworkLists("string")
            .build())
        .ukraineGeoControlAction("string")
        .build());
    
    app_sec_ip_geo_resource = akamai.AppSecIPGeo("appSecIPGeoResource",
        config_id=0,
        mode="string",
        security_policy_id="string",
        asn_controls={
            "action": "string",
            "asn_network_lists": ["string"],
        },
        block_action="string",
        exception_ip_network_lists=["string"],
        geo_controls={
            "action": "string",
            "geo_network_lists": ["string"],
        },
        ip_controls={
            "action": "string",
            "ip_network_lists": ["string"],
        },
        ukraine_geo_control_action="string")
    
    const appSecIPGeoResource = new akamai.AppSecIPGeo("appSecIPGeoResource", {
        configId: 0,
        mode: "string",
        securityPolicyId: "string",
        asnControls: {
            action: "string",
            asnNetworkLists: ["string"],
        },
        blockAction: "string",
        exceptionIpNetworkLists: ["string"],
        geoControls: {
            action: "string",
            geoNetworkLists: ["string"],
        },
        ipControls: {
            action: "string",
            ipNetworkLists: ["string"],
        },
        ukraineGeoControlAction: "string",
    });
    
    type: akamai:AppSecIPGeo
    properties:
        asnControls:
            action: string
            asnNetworkLists:
                - string
        blockAction: string
        configId: 0
        exceptionIpNetworkLists:
            - string
        geoControls:
            action: string
            geoNetworkLists:
                - string
        ipControls:
            action: string
            ipNetworkLists:
                - string
        mode: string
        securityPolicyId: string
        ukraineGeoControlAction: string
    

    AppSecIPGeo Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AppSecIPGeo resource accepts the following input properties:

    ConfigId int
    Unique identifier of the security configuration
    Mode string
    Protection mode (block or allow)
    SecurityPolicyId string
    Unique identifier of the security policy
    AsnControls AppSecIPGeoAsnControls
    An Object containing List of ASN network lists to be blocked with specified action
    BlockAction string
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    ExceptionIpNetworkLists List<string>
    List of unique identifiers of ip_network_lists allowed through the firewall.
    GeoControls AppSecIPGeoGeoControls
    An Object containing List of geographic network lists to be blocked with specified action
    IpControls AppSecIPGeoIpControls
    An Object containing List of IP network lists to be blocked with specified action
    UkraineGeoControlAction string
    Action set for Ukraine geo control
    ConfigId int
    Unique identifier of the security configuration
    Mode string
    Protection mode (block or allow)
    SecurityPolicyId string
    Unique identifier of the security policy
    AsnControls AppSecIPGeoAsnControlsArgs
    An Object containing List of ASN network lists to be blocked with specified action
    BlockAction string
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    ExceptionIpNetworkLists []string
    List of unique identifiers of ip_network_lists allowed through the firewall.
    GeoControls AppSecIPGeoGeoControlsArgs
    An Object containing List of geographic network lists to be blocked with specified action
    IpControls AppSecIPGeoIpControlsArgs
    An Object containing List of IP network lists to be blocked with specified action
    UkraineGeoControlAction string
    Action set for Ukraine geo control
    configId Integer
    Unique identifier of the security configuration
    mode String
    Protection mode (block or allow)
    securityPolicyId String
    Unique identifier of the security policy
    asnControls AppSecIPGeoAsnControls
    An Object containing List of ASN network lists to be blocked with specified action
    blockAction String
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    exceptionIpNetworkLists List<String>
    List of unique identifiers of ip_network_lists allowed through the firewall.
    geoControls AppSecIPGeoGeoControls
    An Object containing List of geographic network lists to be blocked with specified action
    ipControls AppSecIPGeoIpControls
    An Object containing List of IP network lists to be blocked with specified action
    ukraineGeoControlAction String
    Action set for Ukraine geo control
    configId number
    Unique identifier of the security configuration
    mode string
    Protection mode (block or allow)
    securityPolicyId string
    Unique identifier of the security policy
    asnControls AppSecIPGeoAsnControls
    An Object containing List of ASN network lists to be blocked with specified action
    blockAction string
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    exceptionIpNetworkLists string[]
    List of unique identifiers of ip_network_lists allowed through the firewall.
    geoControls AppSecIPGeoGeoControls
    An Object containing List of geographic network lists to be blocked with specified action
    ipControls AppSecIPGeoIpControls
    An Object containing List of IP network lists to be blocked with specified action
    ukraineGeoControlAction string
    Action set for Ukraine geo control
    config_id int
    Unique identifier of the security configuration
    mode str
    Protection mode (block or allow)
    security_policy_id str
    Unique identifier of the security policy
    asn_controls AppSecIPGeoAsnControlsArgs
    An Object containing List of ASN network lists to be blocked with specified action
    block_action str
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    exception_ip_network_lists Sequence[str]
    List of unique identifiers of ip_network_lists allowed through the firewall.
    geo_controls AppSecIPGeoGeoControlsArgs
    An Object containing List of geographic network lists to be blocked with specified action
    ip_controls AppSecIPGeoIpControlsArgs
    An Object containing List of IP network lists to be blocked with specified action
    ukraine_geo_control_action str
    Action set for Ukraine geo control
    configId Number
    Unique identifier of the security configuration
    mode String
    Protection mode (block or allow)
    securityPolicyId String
    Unique identifier of the security policy
    asnControls Property Map
    An Object containing List of ASN network lists to be blocked with specified action
    blockAction String
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    exceptionIpNetworkLists List<String>
    List of unique identifiers of ip_network_lists allowed through the firewall.
    geoControls Property Map
    An Object containing List of geographic network lists to be blocked with specified action
    ipControls Property Map
    An Object containing List of IP network lists to be blocked with specified action
    ukraineGeoControlAction String
    Action set for Ukraine geo control

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AppSecIPGeo resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AppSecIPGeo Resource

    Get an existing AppSecIPGeo resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AppSecIPGeoState, opts?: CustomResourceOptions): AppSecIPGeo
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            asn_controls: Optional[AppSecIPGeoAsnControlsArgs] = None,
            block_action: Optional[str] = None,
            config_id: Optional[int] = None,
            exception_ip_network_lists: Optional[Sequence[str]] = None,
            geo_controls: Optional[AppSecIPGeoGeoControlsArgs] = None,
            ip_controls: Optional[AppSecIPGeoIpControlsArgs] = None,
            mode: Optional[str] = None,
            security_policy_id: Optional[str] = None,
            ukraine_geo_control_action: Optional[str] = None) -> AppSecIPGeo
    func GetAppSecIPGeo(ctx *Context, name string, id IDInput, state *AppSecIPGeoState, opts ...ResourceOption) (*AppSecIPGeo, error)
    public static AppSecIPGeo Get(string name, Input<string> id, AppSecIPGeoState? state, CustomResourceOptions? opts = null)
    public static AppSecIPGeo get(String name, Output<String> id, AppSecIPGeoState state, CustomResourceOptions options)
    resources:  _:    type: akamai:AppSecIPGeo    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AsnControls AppSecIPGeoAsnControls
    An Object containing List of ASN network lists to be blocked with specified action
    BlockAction string
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    ConfigId int
    Unique identifier of the security configuration
    ExceptionIpNetworkLists List<string>
    List of unique identifiers of ip_network_lists allowed through the firewall.
    GeoControls AppSecIPGeoGeoControls
    An Object containing List of geographic network lists to be blocked with specified action
    IpControls AppSecIPGeoIpControls
    An Object containing List of IP network lists to be blocked with specified action
    Mode string
    Protection mode (block or allow)
    SecurityPolicyId string
    Unique identifier of the security policy
    UkraineGeoControlAction string
    Action set for Ukraine geo control
    AsnControls AppSecIPGeoAsnControlsArgs
    An Object containing List of ASN network lists to be blocked with specified action
    BlockAction string
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    ConfigId int
    Unique identifier of the security configuration
    ExceptionIpNetworkLists []string
    List of unique identifiers of ip_network_lists allowed through the firewall.
    GeoControls AppSecIPGeoGeoControlsArgs
    An Object containing List of geographic network lists to be blocked with specified action
    IpControls AppSecIPGeoIpControlsArgs
    An Object containing List of IP network lists to be blocked with specified action
    Mode string
    Protection mode (block or allow)
    SecurityPolicyId string
    Unique identifier of the security policy
    UkraineGeoControlAction string
    Action set for Ukraine geo control
    asnControls AppSecIPGeoAsnControls
    An Object containing List of ASN network lists to be blocked with specified action
    blockAction String
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    configId Integer
    Unique identifier of the security configuration
    exceptionIpNetworkLists List<String>
    List of unique identifiers of ip_network_lists allowed through the firewall.
    geoControls AppSecIPGeoGeoControls
    An Object containing List of geographic network lists to be blocked with specified action
    ipControls AppSecIPGeoIpControls
    An Object containing List of IP network lists to be blocked with specified action
    mode String
    Protection mode (block or allow)
    securityPolicyId String
    Unique identifier of the security policy
    ukraineGeoControlAction String
    Action set for Ukraine geo control
    asnControls AppSecIPGeoAsnControls
    An Object containing List of ASN network lists to be blocked with specified action
    blockAction string
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    configId number
    Unique identifier of the security configuration
    exceptionIpNetworkLists string[]
    List of unique identifiers of ip_network_lists allowed through the firewall.
    geoControls AppSecIPGeoGeoControls
    An Object containing List of geographic network lists to be blocked with specified action
    ipControls AppSecIPGeoIpControls
    An Object containing List of IP network lists to be blocked with specified action
    mode string
    Protection mode (block or allow)
    securityPolicyId string
    Unique identifier of the security policy
    ukraineGeoControlAction string
    Action set for Ukraine geo control
    asn_controls AppSecIPGeoAsnControlsArgs
    An Object containing List of ASN network lists to be blocked with specified action
    block_action str
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    config_id int
    Unique identifier of the security configuration
    exception_ip_network_lists Sequence[str]
    List of unique identifiers of ip_network_lists allowed through the firewall.
    geo_controls AppSecIPGeoGeoControlsArgs
    An Object containing List of geographic network lists to be blocked with specified action
    ip_controls AppSecIPGeoIpControlsArgs
    An Object containing List of IP network lists to be blocked with specified action
    mode str
    Protection mode (block or allow)
    security_policy_id str
    Unique identifier of the security policy
    ukraine_geo_control_action str
    Action set for Ukraine geo control
    asnControls Property Map
    An Object containing List of ASN network lists to be blocked with specified action
    blockAction String
    Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
    configId Number
    Unique identifier of the security configuration
    exceptionIpNetworkLists List<String>
    List of unique identifiers of ip_network_lists allowed through the firewall.
    geoControls Property Map
    An Object containing List of geographic network lists to be blocked with specified action
    ipControls Property Map
    An Object containing List of IP network lists to be blocked with specified action
    mode String
    Protection mode (block or allow)
    securityPolicyId String
    Unique identifier of the security policy
    ukraineGeoControlAction String
    Action set for Ukraine geo control

    Supporting Types

    AppSecIPGeoAsnControls, AppSecIPGeoAsnControlsArgs

    Action string
    Action set for ASN Controls
    AsnNetworkLists List<string>
    List of IDs of ASN network list to be blocked.
    Action string
    Action set for ASN Controls
    AsnNetworkLists []string
    List of IDs of ASN network list to be blocked.
    action String
    Action set for ASN Controls
    asnNetworkLists List<String>
    List of IDs of ASN network list to be blocked.
    action string
    Action set for ASN Controls
    asnNetworkLists string[]
    List of IDs of ASN network list to be blocked.
    action str
    Action set for ASN Controls
    asn_network_lists Sequence[str]
    List of IDs of ASN network list to be blocked.
    action String
    Action set for ASN Controls
    asnNetworkLists List<String>
    List of IDs of ASN network list to be blocked.

    AppSecIPGeoGeoControls, AppSecIPGeoGeoControlsArgs

    Action string
    Action set for GEO Controls.
    GeoNetworkLists List<string>
    List of IDs of geographic network list to be blocked.
    Action string
    Action set for GEO Controls.
    GeoNetworkLists []string
    List of IDs of geographic network list to be blocked.
    action String
    Action set for GEO Controls.
    geoNetworkLists List<String>
    List of IDs of geographic network list to be blocked.
    action string
    Action set for GEO Controls.
    geoNetworkLists string[]
    List of IDs of geographic network list to be blocked.
    action str
    Action set for GEO Controls.
    geo_network_lists Sequence[str]
    List of IDs of geographic network list to be blocked.
    action String
    Action set for GEO Controls.
    geoNetworkLists List<String>
    List of IDs of geographic network list to be blocked.

    AppSecIPGeoIpControls, AppSecIPGeoIpControlsArgs

    Action string
    Action set for IP Controls.
    IpNetworkLists List<string>
    List of IDs of IP network list to be blocked.
    Action string
    Action set for IP Controls.
    IpNetworkLists []string
    List of IDs of IP network list to be blocked.
    action String
    Action set for IP Controls.
    ipNetworkLists List<String>
    List of IDs of IP network list to be blocked.
    action string
    Action set for IP Controls.
    ipNetworkLists string[]
    List of IDs of IP network list to be blocked.
    action str
    Action set for IP Controls.
    ip_network_lists Sequence[str]
    List of IDs of IP network list to be blocked.
    action String
    Action set for IP Controls.
    ipNetworkLists List<String>
    List of IDs of IP network list to be blocked.

    Package Details

    Repository
    Akamai pulumi/pulumi-akamai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the akamai Terraform Provider.
    akamai logo
    Akamai v10.1.0 published on Thursday, Nov 6, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate