getAppSecSlowPost

Use the akamai.AppSecSlowPost data source to retrieve the slow post protection settings for a given security configuration and policy.

Example Usage

using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs
        {
            Name = @var.Security_configuration,
        }));
        var slowPost = configuration.Apply(configuration => Output.Create(Akamai.GetAppSecSlowPost.InvokeAsync(new Akamai.GetAppSecSlowPostArgs
        {
            ConfigId = configuration.ConfigId,
            SecurityPolicyId = @var.Security_policy_id,
        })));
        this.SlowPostOutputText = slowPost.Apply(slowPost => slowPost.OutputText);
    }

    [Output("slowPostOutputText")]
    public Output<string> SlowPostOutputText { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-akamai/sdk/v2/go/akamai"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := _var.Security_configuration
		configuration, err := akamai.LookupAppSecConfiguration(ctx, &akamai.LookupAppSecConfigurationArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		slowPost, err := akamai.LookupAppSecSlowPost(ctx, &akamai.LookupAppSecSlowPostArgs{
			ConfigId:         configuration.ConfigId,
			SecurityPolicyId: _var.Security_policy_id,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("slowPostOutputText", slowPost.OutputText)
		return nil
	})
}
import pulumi
import pulumi_akamai as akamai

configuration = akamai.get_app_sec_configuration(name=var["security_configuration"])
slow_post = akamai.get_app_sec_slow_post(config_id=configuration.config_id,
    security_policy_id=var["security_policy_id"])
pulumi.export("slowPostOutputText", slow_post.output_text)
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const configuration = akamai.getAppSecConfiguration({
    name: _var.security_configuration,
});
const slowPost = configuration.then(configuration => akamai.getAppSecSlowPost({
    configId: configuration.configId,
    securityPolicyId: _var.security_policy_id,
}));
export const slowPostOutputText = slowPost.then(slowPost => slowPost.outputText);

Using getAppSecSlowPost

function getAppSecSlowPost(args: GetAppSecSlowPostArgs, opts?: InvokeOptions): Promise<GetAppSecSlowPostResult>
def get_app_sec_slow_post(config_id: Optional[int] = None,
                          security_policy_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetAppSecSlowPostResult
func LookupAppSecSlowPost(ctx *Context, args *LookupAppSecSlowPostArgs, opts ...InvokeOption) (*LookupAppSecSlowPostResult, error)

Note: This function is named LookupAppSecSlowPost in the Go SDK.

public static class GetAppSecSlowPost {
    public static Task<GetAppSecSlowPostResult> InvokeAsync(GetAppSecSlowPostArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ConfigId int
The ID of the security configuration to use.
SecurityPolicyId string
The ID of the security policy to use
ConfigId int
The ID of the security configuration to use.
SecurityPolicyId string
The ID of the security policy to use
configId number
The ID of the security configuration to use.
securityPolicyId string
The ID of the security policy to use
config_id int
The ID of the security configuration to use.
security_policy_id str
The ID of the security policy to use

getAppSecSlowPost Result

The following output properties are available:

ConfigId int
Id string
The provider-assigned unique ID for this managed resource.
Json string
OutputText string
A tabular display including the following columns:
SecurityPolicyId string
ConfigId int
Id string
The provider-assigned unique ID for this managed resource.
Json string
OutputText string
A tabular display including the following columns:
SecurityPolicyId string
configId number
id string
The provider-assigned unique ID for this managed resource.
json string
outputText string
A tabular display including the following columns:
securityPolicyId string
config_id int
id str
The provider-assigned unique ID for this managed resource.
json str
output_text str
A tabular display including the following columns:
security_policy_id str

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.