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 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",
AsnNetworkLists = new[]
{
"string",
},
ExceptionIpNetworkLists = new[]
{
"string",
},
GeoNetworkLists = new[]
{
"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"),
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"),
})
var appSecIPGeoResource = new AppSecIPGeo("appSecIPGeoResource", AppSecIPGeoArgs.builder()
.configId(0)
.mode("string")
.securityPolicyId("string")
.asnNetworkLists("string")
.exceptionIpNetworkLists("string")
.geoNetworkLists("string")
.ipNetworkLists("string")
.ukraineGeoControlAction("string")
.build());
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")
const appSecIPGeoResource = new akamai.AppSecIPGeo("appSecIPGeoResource", {
configId: 0,
mode: "string",
securityPolicyId: "string",
asnNetworkLists: ["string"],
exceptionIpNetworkLists: ["string"],
geoNetworkLists: ["string"],
ipNetworkLists: ["string"],
ukraineGeoControlAction: "string",
});
type: akamai:AppSecIPGeo
properties:
asnNetworkLists:
- string
configId: 0
exceptionIpNetworkLists:
- string
geoNetworkLists:
- 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
Network List<string>Lists - List of IDs of ASN network list to be blocked
- Exception
Ip List<string>Network Lists - List of IDs of network list that are always allowed
- Geo
Network List<string>Lists - List of IDs of geographic network list to be blocked
- Ip
Network List<string>Lists - List of IDs of IP network list to be blocked
- 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
Network []stringLists - List of IDs of ASN network list to be blocked
- Exception
Ip []stringNetwork Lists - List of IDs of network list that are always allowed
- Geo
Network []stringLists - List of IDs of geographic network list to be blocked
- Ip
Network []stringLists - List of IDs of IP network list to be blocked
- 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
Network List<String>Lists - List of IDs of ASN network list to be blocked
- exception
Ip List<String>Network Lists - List of IDs of network list that are always allowed
- geo
Network List<String>Lists - List of IDs of geographic network list to be blocked
- ip
Network List<String>Lists - List of IDs of IP network list to be blocked
- 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
Network string[]Lists - List of IDs of ASN network list to be blocked
- exception
Ip string[]Network Lists - List of IDs of network list that are always allowed
- geo
Network string[]Lists - List of IDs of geographic network list to be blocked
- ip
Network string[]Lists - List of IDs of IP network list to be blocked
- 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_
network_ Sequence[str]lists - List of IDs of ASN network list to be blocked
- exception_
ip_ Sequence[str]network_ lists - List of IDs of network list that are always allowed
- geo_
network_ Sequence[str]lists - List of IDs of geographic network list to be blocked
- ip_
network_ Sequence[str]lists - List of IDs of IP network list to be blocked
- 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
Network List<String>Lists - List of IDs of ASN network list to be blocked
- exception
Ip List<String>Network Lists - List of IDs of network list that are always allowed
- geo
Network List<String>Lists - List of IDs of geographic network list to be blocked
- ip
Network List<String>Lists - List of IDs of IP network list to be blocked
- 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_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)
Resource lookup is not supported in YAML
- 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
Network List<string>Lists - List of IDs of ASN network list to be blocked
- Config
Id int - Unique identifier of the security configuration
- Exception
Ip List<string>Network Lists - List of IDs of network list that are always allowed
- Geo
Network List<string>Lists - List of IDs of geographic network list to be blocked
- Ip
Network List<string>Lists - List of IDs of IP network list to be blocked
- 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
Network []stringLists - List of IDs of ASN network list to be blocked
- Config
Id int - Unique identifier of the security configuration
- Exception
Ip []stringNetwork Lists - List of IDs of network list that are always allowed
- Geo
Network []stringLists - List of IDs of geographic network list to be blocked
- Ip
Network []stringLists - List of IDs of IP network list to be blocked
- 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
Network List<String>Lists - List of IDs of ASN network list to be blocked
- config
Id Integer - Unique identifier of the security configuration
- exception
Ip List<String>Network Lists - List of IDs of network list that are always allowed
- geo
Network List<String>Lists - List of IDs of geographic network list to be blocked
- ip
Network List<String>Lists - List of IDs of IP network list to be blocked
- 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
Network string[]Lists - List of IDs of ASN network list to be blocked
- config
Id number - Unique identifier of the security configuration
- exception
Ip string[]Network Lists - List of IDs of network list that are always allowed
- geo
Network string[]Lists - List of IDs of geographic network list to be blocked
- ip
Network string[]Lists - List of IDs of IP network list to be blocked
- 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_
network_ Sequence[str]lists - List of IDs of ASN network list to be blocked
- config_
id int - Unique identifier of the security configuration
- exception_
ip_ Sequence[str]network_ lists - List of IDs of network list that are always allowed
- geo_
network_ Sequence[str]lists - List of IDs of geographic network list to be blocked
- ip_
network_ Sequence[str]lists - List of IDs of IP network list to be blocked
- 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
Network List<String>Lists - List of IDs of ASN network list to be blocked
- config
Id Number - Unique identifier of the security configuration
- exception
Ip List<String>Network Lists - List of IDs of network list that are always allowed
- geo
Network List<String>Lists - List of IDs of geographic network list to be blocked
- ip
Network List<String>Lists - List of IDs of IP network list to be blocked
- 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
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.