akamai.AppSecSlowPost
Explore with Pulumi AI
Create AppSecSlowPost Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppSecSlowPost(name: string, args: AppSecSlowPostArgs, opts?: CustomResourceOptions);
@overload
def AppSecSlowPost(resource_name: str,
args: AppSecSlowPostArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppSecSlowPost(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[int] = None,
security_policy_id: Optional[str] = None,
slow_rate_action: Optional[str] = None,
duration_threshold_timeout: Optional[int] = None,
slow_rate_threshold_period: Optional[int] = None,
slow_rate_threshold_rate: Optional[int] = None)
func NewAppSecSlowPost(ctx *Context, name string, args AppSecSlowPostArgs, opts ...ResourceOption) (*AppSecSlowPost, error)
public AppSecSlowPost(string name, AppSecSlowPostArgs args, CustomResourceOptions? opts = null)
public AppSecSlowPost(String name, AppSecSlowPostArgs args)
public AppSecSlowPost(String name, AppSecSlowPostArgs args, CustomResourceOptions options)
type: akamai:AppSecSlowPost
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 AppSecSlowPostArgs
- 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 AppSecSlowPostArgs
- 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 AppSecSlowPostArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppSecSlowPostArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppSecSlowPostArgs
- 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 appSecSlowPostResource = new Akamai.AppSecSlowPost("appSecSlowPostResource", new()
{
ConfigId = 0,
SecurityPolicyId = "string",
SlowRateAction = "string",
DurationThresholdTimeout = 0,
SlowRateThresholdPeriod = 0,
SlowRateThresholdRate = 0,
});
example, err := akamai.NewAppSecSlowPost(ctx, "appSecSlowPostResource", &akamai.AppSecSlowPostArgs{
ConfigId: pulumi.Int(0),
SecurityPolicyId: pulumi.String("string"),
SlowRateAction: pulumi.String("string"),
DurationThresholdTimeout: pulumi.Int(0),
SlowRateThresholdPeriod: pulumi.Int(0),
SlowRateThresholdRate: pulumi.Int(0),
})
var appSecSlowPostResource = new AppSecSlowPost("appSecSlowPostResource", AppSecSlowPostArgs.builder()
.configId(0)
.securityPolicyId("string")
.slowRateAction("string")
.durationThresholdTimeout(0)
.slowRateThresholdPeriod(0)
.slowRateThresholdRate(0)
.build());
app_sec_slow_post_resource = akamai.AppSecSlowPost("appSecSlowPostResource",
config_id=0,
security_policy_id="string",
slow_rate_action="string",
duration_threshold_timeout=0,
slow_rate_threshold_period=0,
slow_rate_threshold_rate=0)
const appSecSlowPostResource = new akamai.AppSecSlowPost("appSecSlowPostResource", {
configId: 0,
securityPolicyId: "string",
slowRateAction: "string",
durationThresholdTimeout: 0,
slowRateThresholdPeriod: 0,
slowRateThresholdRate: 0,
});
type: akamai:AppSecSlowPost
properties:
configId: 0
durationThresholdTimeout: 0
securityPolicyId: string
slowRateAction: string
slowRateThresholdPeriod: 0
slowRateThresholdRate: 0
AppSecSlowPost 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 AppSecSlowPost resource accepts the following input properties:
- Config
Id int - Unique identifier of the security configuration
- Security
Policy stringId - Unique identifier of the security policy
- Slow
Rate stringAction - Action to be taken when slow POST protection is triggered
- Duration
Threshold intTimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- Slow
Rate intThreshold Period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- Slow
Rate intThreshold Rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
- Config
Id int - Unique identifier of the security configuration
- Security
Policy stringId - Unique identifier of the security policy
- Slow
Rate stringAction - Action to be taken when slow POST protection is triggered
- Duration
Threshold intTimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- Slow
Rate intThreshold Period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- Slow
Rate intThreshold Rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
- config
Id Integer - Unique identifier of the security configuration
- security
Policy StringId - Unique identifier of the security policy
- slow
Rate StringAction - Action to be taken when slow POST protection is triggered
- duration
Threshold IntegerTimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- slow
Rate IntegerThreshold Period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- slow
Rate IntegerThreshold Rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
- config
Id number - Unique identifier of the security configuration
- security
Policy stringId - Unique identifier of the security policy
- slow
Rate stringAction - Action to be taken when slow POST protection is triggered
- duration
Threshold numberTimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- slow
Rate numberThreshold Period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- slow
Rate numberThreshold Rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
- config_
id int - Unique identifier of the security configuration
- security_
policy_ strid - Unique identifier of the security policy
- slow_
rate_ straction - Action to be taken when slow POST protection is triggered
- duration_
threshold_ inttimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- slow_
rate_ intthreshold_ period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- slow_
rate_ intthreshold_ rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
- config
Id Number - Unique identifier of the security configuration
- security
Policy StringId - Unique identifier of the security policy
- slow
Rate StringAction - Action to be taken when slow POST protection is triggered
- duration
Threshold NumberTimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- slow
Rate NumberThreshold Period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- slow
Rate NumberThreshold Rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
Outputs
All input properties are implicitly available as output properties. Additionally, the AppSecSlowPost 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 AppSecSlowPost Resource
Get an existing AppSecSlowPost 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?: AppSecSlowPostState, opts?: CustomResourceOptions): AppSecSlowPost
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[int] = None,
duration_threshold_timeout: Optional[int] = None,
security_policy_id: Optional[str] = None,
slow_rate_action: Optional[str] = None,
slow_rate_threshold_period: Optional[int] = None,
slow_rate_threshold_rate: Optional[int] = None) -> AppSecSlowPost
func GetAppSecSlowPost(ctx *Context, name string, id IDInput, state *AppSecSlowPostState, opts ...ResourceOption) (*AppSecSlowPost, error)
public static AppSecSlowPost Get(string name, Input<string> id, AppSecSlowPostState? state, CustomResourceOptions? opts = null)
public static AppSecSlowPost get(String name, Output<String> id, AppSecSlowPostState 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.
- Config
Id int - Unique identifier of the security configuration
- Duration
Threshold intTimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- Security
Policy stringId - Unique identifier of the security policy
- Slow
Rate stringAction - Action to be taken when slow POST protection is triggered
- Slow
Rate intThreshold Period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- Slow
Rate intThreshold Rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
- Config
Id int - Unique identifier of the security configuration
- Duration
Threshold intTimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- Security
Policy stringId - Unique identifier of the security policy
- Slow
Rate stringAction - Action to be taken when slow POST protection is triggered
- Slow
Rate intThreshold Period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- Slow
Rate intThreshold Rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
- config
Id Integer - Unique identifier of the security configuration
- duration
Threshold IntegerTimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- security
Policy StringId - Unique identifier of the security policy
- slow
Rate StringAction - Action to be taken when slow POST protection is triggered
- slow
Rate IntegerThreshold Period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- slow
Rate IntegerThreshold Rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
- config
Id number - Unique identifier of the security configuration
- duration
Threshold numberTimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- security
Policy stringId - Unique identifier of the security policy
- slow
Rate stringAction - Action to be taken when slow POST protection is triggered
- slow
Rate numberThreshold Period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- slow
Rate numberThreshold Rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
- config_
id int - Unique identifier of the security configuration
- duration_
threshold_ inttimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- security_
policy_ strid - Unique identifier of the security policy
- slow_
rate_ straction - Action to be taken when slow POST protection is triggered
- slow_
rate_ intthreshold_ period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- slow_
rate_ intthreshold_ rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
- config
Id Number - Unique identifier of the security configuration
- duration
Threshold NumberTimeout - Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
- security
Policy StringId - Unique identifier of the security policy
- slow
Rate StringAction - Action to be taken when slow POST protection is triggered
- slow
Rate NumberThreshold Period - Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
- slow
Rate NumberThreshold Rate - Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.