1. Packages
  2. Akamai
  3. API Docs
  4. AppSecCustomDeny
Akamai v7.6.0 published on Friday, Nov 22, 2024 by Pulumi

akamai.AppSecCustomDeny

Explore with Pulumi AI

akamai logo
Akamai v7.6.0 published on Friday, Nov 22, 2024 by Pulumi

    Create AppSecCustomDeny Resource

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

    Constructor syntax

    new AppSecCustomDeny(name: string, args: AppSecCustomDenyArgs, opts?: CustomResourceOptions);
    @overload
    def AppSecCustomDeny(resource_name: str,
                         args: AppSecCustomDenyArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppSecCustomDeny(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         config_id: Optional[int] = None,
                         custom_deny: Optional[str] = None)
    func NewAppSecCustomDeny(ctx *Context, name string, args AppSecCustomDenyArgs, opts ...ResourceOption) (*AppSecCustomDeny, error)
    public AppSecCustomDeny(string name, AppSecCustomDenyArgs args, CustomResourceOptions? opts = null)
    public AppSecCustomDeny(String name, AppSecCustomDenyArgs args)
    public AppSecCustomDeny(String name, AppSecCustomDenyArgs args, CustomResourceOptions options)
    
    type: akamai:AppSecCustomDeny
    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 AppSecCustomDenyArgs
    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 AppSecCustomDenyArgs
    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 AppSecCustomDenyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppSecCustomDenyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppSecCustomDenyArgs
    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 appSecCustomDenyResource = new Akamai.AppSecCustomDeny("appSecCustomDenyResource", new()
    {
        ConfigId = 0,
        CustomDeny = "string",
    });
    
    example, err := akamai.NewAppSecCustomDeny(ctx, "appSecCustomDenyResource", &akamai.AppSecCustomDenyArgs{
    	ConfigId:   pulumi.Int(0),
    	CustomDeny: pulumi.String("string"),
    })
    
    var appSecCustomDenyResource = new AppSecCustomDeny("appSecCustomDenyResource", AppSecCustomDenyArgs.builder()
        .configId(0)
        .customDeny("string")
        .build());
    
    app_sec_custom_deny_resource = akamai.AppSecCustomDeny("appSecCustomDenyResource",
        config_id=0,
        custom_deny="string")
    
    const appSecCustomDenyResource = new akamai.AppSecCustomDeny("appSecCustomDenyResource", {
        configId: 0,
        customDeny: "string",
    });
    
    type: akamai:AppSecCustomDeny
    properties:
        configId: 0
        customDeny: string
    

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

    ConfigId int
    Unique identifier of the security configuration
    CustomDeny string
    JSON-formatted information about the properties and property values for the custom deny
    ConfigId int
    Unique identifier of the security configuration
    CustomDeny string
    JSON-formatted information about the properties and property values for the custom deny
    configId Integer
    Unique identifier of the security configuration
    customDeny String
    JSON-formatted information about the properties and property values for the custom deny
    configId number
    Unique identifier of the security configuration
    customDeny string
    JSON-formatted information about the properties and property values for the custom deny
    config_id int
    Unique identifier of the security configuration
    custom_deny str
    JSON-formatted information about the properties and property values for the custom deny
    configId Number
    Unique identifier of the security configuration
    customDeny String
    JSON-formatted information about the properties and property values for the custom deny

    Outputs

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

    CustomDenyId string
    custom_deny_id
    Id string
    The provider-assigned unique ID for this managed resource.
    CustomDenyId string
    custom_deny_id
    Id string
    The provider-assigned unique ID for this managed resource.
    customDenyId String
    custom_deny_id
    id String
    The provider-assigned unique ID for this managed resource.
    customDenyId string
    custom_deny_id
    id string
    The provider-assigned unique ID for this managed resource.
    custom_deny_id str
    custom_deny_id
    id str
    The provider-assigned unique ID for this managed resource.
    customDenyId String
    custom_deny_id
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AppSecCustomDeny Resource

    Get an existing AppSecCustomDeny 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?: AppSecCustomDenyState, opts?: CustomResourceOptions): AppSecCustomDeny
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config_id: Optional[int] = None,
            custom_deny: Optional[str] = None,
            custom_deny_id: Optional[str] = None) -> AppSecCustomDeny
    func GetAppSecCustomDeny(ctx *Context, name string, id IDInput, state *AppSecCustomDenyState, opts ...ResourceOption) (*AppSecCustomDeny, error)
    public static AppSecCustomDeny Get(string name, Input<string> id, AppSecCustomDenyState? state, CustomResourceOptions? opts = null)
    public static AppSecCustomDeny get(String name, Output<String> id, AppSecCustomDenyState 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.
    The following state arguments are supported:
    ConfigId int
    Unique identifier of the security configuration
    CustomDeny string
    JSON-formatted information about the properties and property values for the custom deny
    CustomDenyId string
    custom_deny_id
    ConfigId int
    Unique identifier of the security configuration
    CustomDeny string
    JSON-formatted information about the properties and property values for the custom deny
    CustomDenyId string
    custom_deny_id
    configId Integer
    Unique identifier of the security configuration
    customDeny String
    JSON-formatted information about the properties and property values for the custom deny
    customDenyId String
    custom_deny_id
    configId number
    Unique identifier of the security configuration
    customDeny string
    JSON-formatted information about the properties and property values for the custom deny
    customDenyId string
    custom_deny_id
    config_id int
    Unique identifier of the security configuration
    custom_deny str
    JSON-formatted information about the properties and property values for the custom deny
    custom_deny_id str
    custom_deny_id
    configId Number
    Unique identifier of the security configuration
    customDeny String
    JSON-formatted information about the properties and property values for the custom deny
    customDenyId String
    custom_deny_id

    Package Details

    Repository
    Akamai pulumi/pulumi-akamai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the akamai Terraform Provider.
    akamai logo
    Akamai v7.6.0 published on Friday, Nov 22, 2024 by Pulumi