akamai.AppSecIPGeo
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:
- Config
Id int - Unique identifier of the security configuration
- Mode string
- Protection mode (block or allow)
- Security
Policy stringId - Unique identifier of the security policy
- Asn
Controls AppSec IPGeo Asn Controls - An Object containing List of ASN network lists to be blocked with specified action
- Block
Action string - Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
- Exception
Ip List<string>Network Lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- Geo
Controls AppSec IPGeo Geo Controls - An Object containing List of geographic network lists to be blocked with specified action
- Ip
Controls AppSec IPGeo Ip Controls - An Object containing List of IP network lists to be blocked with specified action
- Ukraine
Geo stringControl Action - Action set for Ukraine geo control
- Config
Id int - Unique identifier of the security configuration
- Mode string
- Protection mode (block or allow)
- Security
Policy stringId - Unique identifier of the security policy
- Asn
Controls AppSec IPGeo Asn Controls Args - An Object containing List of ASN network lists to be blocked with specified action
- Block
Action string - Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
- Exception
Ip []stringNetwork Lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- Geo
Controls AppSec IPGeo Geo Controls Args - An Object containing List of geographic network lists to be blocked with specified action
- Ip
Controls AppSec IPGeo Ip Controls Args - An Object containing List of IP network lists to be blocked with specified action
- Ukraine
Geo stringControl Action - Action set for Ukraine geo control
- config
Id Integer - Unique identifier of the security configuration
- mode String
- Protection mode (block or allow)
- security
Policy StringId - Unique identifier of the security policy
- asn
Controls AppSec IPGeo Asn Controls - An Object containing List of ASN network lists to be blocked with specified action
- block
Action String - Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
- exception
Ip List<String>Network Lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- geo
Controls AppSec IPGeo Geo Controls - An Object containing List of geographic network lists to be blocked with specified action
- ip
Controls AppSec IPGeo Ip Controls - An Object containing List of IP network lists to be blocked with specified action
- ukraine
Geo StringControl Action - Action set for Ukraine geo control
- config
Id number - Unique identifier of the security configuration
- mode string
- Protection mode (block or allow)
- security
Policy stringId - Unique identifier of the security policy
- asn
Controls AppSec IPGeo Asn Controls - An Object containing List of ASN network lists to be blocked with specified action
- block
Action string - Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
- exception
Ip string[]Network Lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- geo
Controls AppSec IPGeo Geo Controls - An Object containing List of geographic network lists to be blocked with specified action
- ip
Controls AppSec IPGeo Ip Controls - An Object containing List of IP network lists to be blocked with specified action
- ukraine
Geo stringControl Action - Action set for Ukraine geo control
- config_
id int - Unique identifier of the security configuration
- mode str
- Protection mode (block or allow)
- security_
policy_ strid - Unique identifier of the security policy
- asn_
controls AppSec IPGeo Asn Controls Args - 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_ Sequence[str]network_ lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- geo_
controls AppSec IPGeo Geo Controls Args - An Object containing List of geographic network lists to be blocked with specified action
- ip_
controls AppSec IPGeo Ip Controls Args - An Object containing List of IP network lists to be blocked with specified action
- ukraine_
geo_ strcontrol_ action - Action set for Ukraine geo control
- config
Id Number - Unique identifier of the security configuration
- mode String
- Protection mode (block or allow)
- security
Policy StringId - Unique identifier of the security policy
- asn
Controls Property Map - An Object containing List of ASN network lists to be blocked with specified action
- block
Action String - Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
- exception
Ip List<String>Network Lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- geo
Controls Property Map - An Object containing List of geographic network lists to be blocked with specified action
- ip
Controls Property Map - An Object containing List of IP network lists to be blocked with specified action
- ukraine
Geo StringControl Action - 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) -> AppSecIPGeofunc 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.
- Asn
Controls AppSec IPGeo Asn Controls - An Object containing List of ASN network lists to be blocked with specified action
- Block
Action string - 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 List<string>Network Lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- Geo
Controls AppSec IPGeo Geo Controls - An Object containing List of geographic network lists to be blocked with specified action
- Ip
Controls AppSec IPGeo Ip Controls - An Object containing List of IP network lists to be blocked with specified action
- Mode string
- Protection mode (block or allow)
- Security
Policy stringId - Unique identifier of the security policy
- Ukraine
Geo stringControl Action - Action set for Ukraine geo control
- Asn
Controls AppSec IPGeo Asn Controls Args - An Object containing List of ASN network lists to be blocked with specified action
- Block
Action string - 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 []stringNetwork Lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- Geo
Controls AppSec IPGeo Geo Controls Args - An Object containing List of geographic network lists to be blocked with specified action
- Ip
Controls AppSec IPGeo Ip Controls Args - An Object containing List of IP network lists to be blocked with specified action
- Mode string
- Protection mode (block or allow)
- Security
Policy stringId - Unique identifier of the security policy
- Ukraine
Geo stringControl Action - Action set for Ukraine geo control
- asn
Controls AppSec IPGeo Asn Controls - An Object containing List of ASN network lists to be blocked with specified action
- block
Action String - Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
- config
Id Integer - Unique identifier of the security configuration
- exception
Ip List<String>Network Lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- geo
Controls AppSec IPGeo Geo Controls - An Object containing List of geographic network lists to be blocked with specified action
- ip
Controls AppSec IPGeo Ip Controls - An Object containing List of IP network lists to be blocked with specified action
- mode String
- Protection mode (block or allow)
- security
Policy StringId - Unique identifier of the security policy
- ukraine
Geo StringControl Action - Action set for Ukraine geo control
- asn
Controls AppSec IPGeo Asn Controls - An Object containing List of ASN network lists to be blocked with specified action
- block
Action string - Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
- config
Id number - Unique identifier of the security configuration
- exception
Ip string[]Network Lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- geo
Controls AppSec IPGeo Geo Controls - An Object containing List of geographic network lists to be blocked with specified action
- ip
Controls AppSec IPGeo Ip Controls - An Object containing List of IP network lists to be blocked with specified action
- mode string
- Protection mode (block or allow)
- security
Policy stringId - Unique identifier of the security policy
- ukraine
Geo stringControl Action - Action set for Ukraine geo control
- asn_
controls AppSec IPGeo Asn Controls Args - 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_ Sequence[str]network_ lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- geo_
controls AppSec IPGeo Geo Controls Args - An Object containing List of geographic network lists to be blocked with specified action
- ip_
controls AppSec IPGeo Ip Controls Args - An Object containing List of IP network lists to be blocked with specified action
- mode str
- Protection mode (block or allow)
- security_
policy_ strid - Unique identifier of the security policy
- ukraine_
geo_ strcontrol_ action - Action set for Ukraine geo control
- asn
Controls Property Map - An Object containing List of ASN network lists to be blocked with specified action
- block
Action String - Specifies the action set for BLOCK Mode blocking all the traffic except from lists identified in exception_ip_network_lists
- config
Id Number - Unique identifier of the security configuration
- exception
Ip List<String>Network Lists - List of unique identifiers of ip_network_lists allowed through the firewall.
- geo
Controls Property Map - An Object containing List of geographic network lists to be blocked with specified action
- ip
Controls Property Map - An Object containing List of IP network lists to be blocked with specified action
- mode String
- Protection mode (block or allow)
- security
Policy StringId - Unique identifier of the security policy
- ukraine
Geo StringControl Action - Action set for Ukraine geo control
Supporting Types
AppSecIPGeoAsnControls, AppSecIPGeoAsnControlsArgs
- Action string
- Action set for ASN Controls
- Asn
Network List<string>Lists - List of IDs of ASN network list to be blocked.
- Action string
- Action set for ASN Controls
- Asn
Network []stringLists - List of IDs of ASN network list to be blocked.
- action String
- Action set for ASN Controls
- asn
Network List<String>Lists - List of IDs of ASN network list to be blocked.
- action string
- Action set for ASN Controls
- asn
Network string[]Lists - List of IDs of ASN network list to be blocked.
- action str
- Action set for ASN Controls
- asn_
network_ Sequence[str]lists - List of IDs of ASN network list to be blocked.
- action String
- Action set for ASN Controls
- asn
Network List<String>Lists - List of IDs of ASN network list to be blocked.
AppSecIPGeoGeoControls, AppSecIPGeoGeoControlsArgs
- Action string
- Action set for GEO Controls.
- Geo
Network List<string>Lists - List of IDs of geographic network list to be blocked.
- Action string
- Action set for GEO Controls.
- Geo
Network []stringLists - List of IDs of geographic network list to be blocked.
- action String
- Action set for GEO Controls.
- geo
Network List<String>Lists - List of IDs of geographic network list to be blocked.
- action string
- Action set for GEO Controls.
- geo
Network string[]Lists - List of IDs of geographic network list to be blocked.
- action str
- Action set for GEO Controls.
- geo_
network_ Sequence[str]lists - List of IDs of geographic network list to be blocked.
- action String
- Action set for GEO Controls.
- geo
Network List<String>Lists - List of IDs of geographic network list to be blocked.
AppSecIPGeoIpControls, AppSecIPGeoIpControlsArgs
- Action string
- Action set for IP Controls.
- Ip
Network List<string>Lists - List of IDs of IP network list to be blocked.
- Action string
- Action set for IP Controls.
- Ip
Network []stringLists - List of IDs of IP network list to be blocked.
- action String
- Action set for IP Controls.
- ip
Network List<String>Lists - List of IDs of IP network list to be blocked.
- action string
- Action set for IP Controls.
- ip
Network string[]Lists - List of IDs of IP network list to be blocked.
- action str
- Action set for IP Controls.
- ip_
network_ Sequence[str]lists - List of IDs of IP network list to be blocked.
- action String
- Action set for IP Controls.
- ip
Network List<String>Lists - 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
akamaiTerraform Provider.
