1. Packages
  2. Akamai
  3. API Docs
  4. AppSecIPGeo
Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi

akamai.AppSecIPGeo

Explore with Pulumi AI

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_network_lists: Optional[Sequence[str]] = None,
                exception_ip_network_lists: Optional[Sequence[str]] = None,
                geo_network_lists: Optional[Sequence[str]] = None,
                ip_network_lists: Optional[Sequence[str]] = 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 This property is required. string
The unique name of the resource.
args This property is required. AppSecIPGeoArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. AppSecIPGeoArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AppSecIPGeoArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
    AsnNetworkLists = new[]
    {
        "string",
    },
    ExceptionIpNetworkLists = new[]
    {
        "string",
    },
    GeoNetworkLists = new[]
    {
        "string",
    },
    IpNetworkLists = new[]
    {
        "string",
    },
    UkraineGeoControlAction = "string",
});
Copy
example, err := akamai.NewAppSecIPGeo(ctx, "appSecIPGeoResource", &akamai.AppSecIPGeoArgs{
	ConfigId:         pulumi.Int(0),
	Mode:             pulumi.String("string"),
	SecurityPolicyId: pulumi.String("string"),
	AsnNetworkLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	ExceptionIpNetworkLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	GeoNetworkLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	IpNetworkLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	UkraineGeoControlAction: pulumi.String("string"),
})
Copy
var appSecIPGeoResource = new AppSecIPGeo("appSecIPGeoResource", AppSecIPGeoArgs.builder()
    .configId(0)
    .mode("string")
    .securityPolicyId("string")
    .asnNetworkLists("string")
    .exceptionIpNetworkLists("string")
    .geoNetworkLists("string")
    .ipNetworkLists("string")
    .ukraineGeoControlAction("string")
    .build());
Copy
app_sec_ip_geo_resource = akamai.AppSecIPGeo("appSecIPGeoResource",
    config_id=0,
    mode="string",
    security_policy_id="string",
    asn_network_lists=["string"],
    exception_ip_network_lists=["string"],
    geo_network_lists=["string"],
    ip_network_lists=["string"],
    ukraine_geo_control_action="string")
Copy
const appSecIPGeoResource = new akamai.AppSecIPGeo("appSecIPGeoResource", {
    configId: 0,
    mode: "string",
    securityPolicyId: "string",
    asnNetworkLists: ["string"],
    exceptionIpNetworkLists: ["string"],
    geoNetworkLists: ["string"],
    ipNetworkLists: ["string"],
    ukraineGeoControlAction: "string",
});
Copy
type: akamai:AppSecIPGeo
properties:
    asnNetworkLists:
        - string
    configId: 0
    exceptionIpNetworkLists:
        - string
    geoNetworkLists:
        - string
    ipNetworkLists:
        - string
    mode: string
    securityPolicyId: string
    ukraineGeoControlAction: string
Copy

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 This property is required. int
Unique identifier of the security configuration
Mode This property is required. string
Protection mode (block or allow)
SecurityPolicyId This property is required. string
Unique identifier of the security policy
AsnNetworkLists List<string>
List of IDs of ASN network list to be blocked
ExceptionIpNetworkLists List<string>
List of IDs of network list that are always allowed
GeoNetworkLists List<string>
List of IDs of geographic network list to be blocked
IpNetworkLists List<string>
List of IDs of IP network list to be blocked
UkraineGeoControlAction string
Action set for Ukraine geo control
ConfigId This property is required. int
Unique identifier of the security configuration
Mode This property is required. string
Protection mode (block or allow)
SecurityPolicyId This property is required. string
Unique identifier of the security policy
AsnNetworkLists []string
List of IDs of ASN network list to be blocked
ExceptionIpNetworkLists []string
List of IDs of network list that are always allowed
GeoNetworkLists []string
List of IDs of geographic network list to be blocked
IpNetworkLists []string
List of IDs of IP network list to be blocked
UkraineGeoControlAction string
Action set for Ukraine geo control
configId This property is required. Integer
Unique identifier of the security configuration
mode This property is required. String
Protection mode (block or allow)
securityPolicyId This property is required. String
Unique identifier of the security policy
asnNetworkLists List<String>
List of IDs of ASN network list to be blocked
exceptionIpNetworkLists List<String>
List of IDs of network list that are always allowed
geoNetworkLists List<String>
List of IDs of geographic network list to be blocked
ipNetworkLists List<String>
List of IDs of IP network list to be blocked
ukraineGeoControlAction String
Action set for Ukraine geo control
configId This property is required. number
Unique identifier of the security configuration
mode This property is required. string
Protection mode (block or allow)
securityPolicyId This property is required. string
Unique identifier of the security policy
asnNetworkLists string[]
List of IDs of ASN network list to be blocked
exceptionIpNetworkLists string[]
List of IDs of network list that are always allowed
geoNetworkLists string[]
List of IDs of geographic network list to be blocked
ipNetworkLists string[]
List of IDs of IP network list to be blocked
ukraineGeoControlAction string
Action set for Ukraine geo control
config_id This property is required. int
Unique identifier of the security configuration
mode This property is required. str
Protection mode (block or allow)
security_policy_id This property is required. str
Unique identifier of the security policy
asn_network_lists Sequence[str]
List of IDs of ASN network list to be blocked
exception_ip_network_lists Sequence[str]
List of IDs of network list that are always allowed
geo_network_lists Sequence[str]
List of IDs of geographic network list to be blocked
ip_network_lists Sequence[str]
List of IDs of IP network list to be blocked
ukraine_geo_control_action str
Action set for Ukraine geo control
configId This property is required. Number
Unique identifier of the security configuration
mode This property is required. String
Protection mode (block or allow)
securityPolicyId This property is required. String
Unique identifier of the security policy
asnNetworkLists List<String>
List of IDs of ASN network list to be blocked
exceptionIpNetworkLists List<String>
List of IDs of network list that are always allowed
geoNetworkLists List<String>
List of IDs of geographic network list to be blocked
ipNetworkLists List<String>
List of IDs of IP network list to be blocked
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_network_lists: Optional[Sequence[str]] = None,
        config_id: Optional[int] = None,
        exception_ip_network_lists: Optional[Sequence[str]] = None,
        geo_network_lists: Optional[Sequence[str]] = None,
        ip_network_lists: Optional[Sequence[str]] = 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AsnNetworkLists List<string>
List of IDs of ASN network list to be blocked
ConfigId int
Unique identifier of the security configuration
ExceptionIpNetworkLists List<string>
List of IDs of network list that are always allowed
GeoNetworkLists List<string>
List of IDs of geographic network list to be blocked
IpNetworkLists List<string>
List of IDs of IP network list to be blocked
Mode string
Protection mode (block or allow)
SecurityPolicyId string
Unique identifier of the security policy
UkraineGeoControlAction string
Action set for Ukraine geo control
AsnNetworkLists []string
List of IDs of ASN network list to be blocked
ConfigId int
Unique identifier of the security configuration
ExceptionIpNetworkLists []string
List of IDs of network list that are always allowed
GeoNetworkLists []string
List of IDs of geographic network list to be blocked
IpNetworkLists []string
List of IDs of IP network list to be blocked
Mode string
Protection mode (block or allow)
SecurityPolicyId string
Unique identifier of the security policy
UkraineGeoControlAction string
Action set for Ukraine geo control
asnNetworkLists List<String>
List of IDs of ASN network list to be blocked
configId Integer
Unique identifier of the security configuration
exceptionIpNetworkLists List<String>
List of IDs of network list that are always allowed
geoNetworkLists List<String>
List of IDs of geographic network list to be blocked
ipNetworkLists List<String>
List of IDs of IP network list to be blocked
mode String
Protection mode (block or allow)
securityPolicyId String
Unique identifier of the security policy
ukraineGeoControlAction String
Action set for Ukraine geo control
asnNetworkLists string[]
List of IDs of ASN network list to be blocked
configId number
Unique identifier of the security configuration
exceptionIpNetworkLists string[]
List of IDs of network list that are always allowed
geoNetworkLists string[]
List of IDs of geographic network list to be blocked
ipNetworkLists string[]
List of IDs of IP network list to be blocked
mode string
Protection mode (block or allow)
securityPolicyId string
Unique identifier of the security policy
ukraineGeoControlAction string
Action set for Ukraine geo control
asn_network_lists Sequence[str]
List of IDs of ASN network list to be blocked
config_id int
Unique identifier of the security configuration
exception_ip_network_lists Sequence[str]
List of IDs of network list that are always allowed
geo_network_lists Sequence[str]
List of IDs of geographic network list to be blocked
ip_network_lists Sequence[str]
List of IDs of IP network list to be blocked
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
asnNetworkLists List<String>
List of IDs of ASN network list to be blocked
configId Number
Unique identifier of the security configuration
exceptionIpNetworkLists List<String>
List of IDs of network list that are always allowed
geoNetworkLists List<String>
List of IDs of geographic network list to be blocked
ipNetworkLists List<String>
List of IDs of IP network list to be blocked
mode String
Protection mode (block or allow)
securityPolicyId String
Unique identifier of the security policy
ukraineGeoControlAction String
Action set for Ukraine geo control

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.