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

akamai.AppsecSecurityPolicyDefaultProtections

Explore with Pulumi AI

Create AppsecSecurityPolicyDefaultProtections Resource

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

Constructor syntax

new AppsecSecurityPolicyDefaultProtections(name: string, args: AppsecSecurityPolicyDefaultProtectionsArgs, opts?: CustomResourceOptions);
@overload
def AppsecSecurityPolicyDefaultProtections(resource_name: str,
                                           args: AppsecSecurityPolicyDefaultProtectionsArgs,
                                           opts: Optional[ResourceOptions] = None)

@overload
def AppsecSecurityPolicyDefaultProtections(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           config_id: Optional[int] = None,
                                           security_policy_name: Optional[str] = None,
                                           security_policy_prefix: Optional[str] = None)
func NewAppsecSecurityPolicyDefaultProtections(ctx *Context, name string, args AppsecSecurityPolicyDefaultProtectionsArgs, opts ...ResourceOption) (*AppsecSecurityPolicyDefaultProtections, error)
public AppsecSecurityPolicyDefaultProtections(string name, AppsecSecurityPolicyDefaultProtectionsArgs args, CustomResourceOptions? opts = null)
public AppsecSecurityPolicyDefaultProtections(String name, AppsecSecurityPolicyDefaultProtectionsArgs args)
public AppsecSecurityPolicyDefaultProtections(String name, AppsecSecurityPolicyDefaultProtectionsArgs args, CustomResourceOptions options)
type: akamai:AppsecSecurityPolicyDefaultProtections
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. AppsecSecurityPolicyDefaultProtectionsArgs
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. AppsecSecurityPolicyDefaultProtectionsArgs
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. AppsecSecurityPolicyDefaultProtectionsArgs
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. AppsecSecurityPolicyDefaultProtectionsArgs
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. AppsecSecurityPolicyDefaultProtectionsArgs
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 appsecSecurityPolicyDefaultProtectionsResource = new Akamai.AppsecSecurityPolicyDefaultProtections("appsecSecurityPolicyDefaultProtectionsResource", new()
{
    ConfigId = 0,
    SecurityPolicyName = "string",
    SecurityPolicyPrefix = "string",
});
Copy
example, err := akamai.NewAppsecSecurityPolicyDefaultProtections(ctx, "appsecSecurityPolicyDefaultProtectionsResource", &akamai.AppsecSecurityPolicyDefaultProtectionsArgs{
	ConfigId:             pulumi.Int(0),
	SecurityPolicyName:   pulumi.String("string"),
	SecurityPolicyPrefix: pulumi.String("string"),
})
Copy
var appsecSecurityPolicyDefaultProtectionsResource = new AppsecSecurityPolicyDefaultProtections("appsecSecurityPolicyDefaultProtectionsResource", AppsecSecurityPolicyDefaultProtectionsArgs.builder()
    .configId(0)
    .securityPolicyName("string")
    .securityPolicyPrefix("string")
    .build());
Copy
appsec_security_policy_default_protections_resource = akamai.AppsecSecurityPolicyDefaultProtections("appsecSecurityPolicyDefaultProtectionsResource",
    config_id=0,
    security_policy_name="string",
    security_policy_prefix="string")
Copy
const appsecSecurityPolicyDefaultProtectionsResource = new akamai.AppsecSecurityPolicyDefaultProtections("appsecSecurityPolicyDefaultProtectionsResource", {
    configId: 0,
    securityPolicyName: "string",
    securityPolicyPrefix: "string",
});
Copy
type: akamai:AppsecSecurityPolicyDefaultProtections
properties:
    configId: 0
    securityPolicyName: string
    securityPolicyPrefix: string
Copy

AppsecSecurityPolicyDefaultProtections 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 AppsecSecurityPolicyDefaultProtections resource accepts the following input properties:

ConfigId This property is required. int
Unique identifier of the security configuration
SecurityPolicyName This property is required. string
Name of the new security policy
SecurityPolicyPrefix This property is required. string
Four-character alphanumeric string prefix used in creating the security policy ID
ConfigId This property is required. int
Unique identifier of the security configuration
SecurityPolicyName This property is required. string
Name of the new security policy
SecurityPolicyPrefix This property is required. string
Four-character alphanumeric string prefix used in creating the security policy ID
configId This property is required. Integer
Unique identifier of the security configuration
securityPolicyName This property is required. String
Name of the new security policy
securityPolicyPrefix This property is required. String
Four-character alphanumeric string prefix used in creating the security policy ID
configId This property is required. number
Unique identifier of the security configuration
securityPolicyName This property is required. string
Name of the new security policy
securityPolicyPrefix This property is required. string
Four-character alphanumeric string prefix used in creating the security policy ID
config_id This property is required. int
Unique identifier of the security configuration
security_policy_name This property is required. str
Name of the new security policy
security_policy_prefix This property is required. str
Four-character alphanumeric string prefix used in creating the security policy ID
configId This property is required. Number
Unique identifier of the security configuration
securityPolicyName This property is required. String
Name of the new security policy
securityPolicyPrefix This property is required. String
Four-character alphanumeric string prefix used in creating the security policy ID

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
SecurityPolicyId string
Unique identifier of the new security policy
Id string
The provider-assigned unique ID for this managed resource.
SecurityPolicyId string
Unique identifier of the new security policy
id String
The provider-assigned unique ID for this managed resource.
securityPolicyId String
Unique identifier of the new security policy
id string
The provider-assigned unique ID for this managed resource.
securityPolicyId string
Unique identifier of the new security policy
id str
The provider-assigned unique ID for this managed resource.
security_policy_id str
Unique identifier of the new security policy
id String
The provider-assigned unique ID for this managed resource.
securityPolicyId String
Unique identifier of the new security policy

Look up Existing AppsecSecurityPolicyDefaultProtections Resource

Get an existing AppsecSecurityPolicyDefaultProtections 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?: AppsecSecurityPolicyDefaultProtectionsState, opts?: CustomResourceOptions): AppsecSecurityPolicyDefaultProtections
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config_id: Optional[int] = None,
        security_policy_id: Optional[str] = None,
        security_policy_name: Optional[str] = None,
        security_policy_prefix: Optional[str] = None) -> AppsecSecurityPolicyDefaultProtections
func GetAppsecSecurityPolicyDefaultProtections(ctx *Context, name string, id IDInput, state *AppsecSecurityPolicyDefaultProtectionsState, opts ...ResourceOption) (*AppsecSecurityPolicyDefaultProtections, error)
public static AppsecSecurityPolicyDefaultProtections Get(string name, Input<string> id, AppsecSecurityPolicyDefaultProtectionsState? state, CustomResourceOptions? opts = null)
public static AppsecSecurityPolicyDefaultProtections get(String name, Output<String> id, AppsecSecurityPolicyDefaultProtectionsState state, CustomResourceOptions options)
resources:  _:    type: akamai:AppsecSecurityPolicyDefaultProtections    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:
ConfigId int
Unique identifier of the security configuration
SecurityPolicyId string
Unique identifier of the new security policy
SecurityPolicyName string
Name of the new security policy
SecurityPolicyPrefix string
Four-character alphanumeric string prefix used in creating the security policy ID
ConfigId int
Unique identifier of the security configuration
SecurityPolicyId string
Unique identifier of the new security policy
SecurityPolicyName string
Name of the new security policy
SecurityPolicyPrefix string
Four-character alphanumeric string prefix used in creating the security policy ID
configId Integer
Unique identifier of the security configuration
securityPolicyId String
Unique identifier of the new security policy
securityPolicyName String
Name of the new security policy
securityPolicyPrefix String
Four-character alphanumeric string prefix used in creating the security policy ID
configId number
Unique identifier of the security configuration
securityPolicyId string
Unique identifier of the new security policy
securityPolicyName string
Name of the new security policy
securityPolicyPrefix string
Four-character alphanumeric string prefix used in creating the security policy ID
config_id int
Unique identifier of the security configuration
security_policy_id str
Unique identifier of the new security policy
security_policy_name str
Name of the new security policy
security_policy_prefix str
Four-character alphanumeric string prefix used in creating the security policy ID
configId Number
Unique identifier of the security configuration
securityPolicyId String
Unique identifier of the new security policy
securityPolicyName String
Name of the new security policy
securityPolicyPrefix String
Four-character alphanumeric string prefix used in creating the security policy ID

Package Details

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