Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi
akamai.AppSecCustomDeny
Explore with Pulumi AI
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
The AppSecCustomDeny resource accepts the following input properties:
- Config
Id int - Unique identifier of the security configuration
- Custom
Deny 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 string - JSON-formatted information about the properties and property values for the custom deny
- config
Id Integer - Unique identifier of the security configuration
- custom
Deny String - JSON-formatted information about the properties and property values for the custom deny
- config
Id number - Unique identifier of the security configuration
- custom
Deny 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
- config
Id Number - Unique identifier of the security configuration
- custom
Deny 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:
- Custom
Deny stringId - custom_deny_id
- Id string
- The provider-assigned unique ID for this managed resource.
- Custom
Deny stringId - custom_deny_id
- Id string
- The provider-assigned unique ID for this managed resource.
- custom
Deny StringId - custom_deny_id
- id String
- The provider-assigned unique ID for this managed resource.
- custom
Deny stringId - custom_deny_id
- id string
- The provider-assigned unique ID for this managed resource.
- custom_
deny_ strid - custom_deny_id
- id str
- The provider-assigned unique ID for this managed resource.
- custom
Deny StringId - 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.
- Config
Id int - Unique identifier of the security configuration
- Custom
Deny string - JSON-formatted information about the properties and property values for the custom deny
- Custom
Deny stringId - custom_deny_id
- Config
Id int - Unique identifier of the security configuration
- Custom
Deny string - JSON-formatted information about the properties and property values for the custom deny
- Custom
Deny stringId - custom_deny_id
- config
Id Integer - Unique identifier of the security configuration
- custom
Deny String - JSON-formatted information about the properties and property values for the custom deny
- custom
Deny StringId - custom_deny_id
- config
Id number - Unique identifier of the security configuration
- custom
Deny string - JSON-formatted information about the properties and property values for the custom deny
- custom
Deny stringId - 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_ strid - custom_deny_id
- config
Id Number - Unique identifier of the security configuration
- custom
Deny String - JSON-formatted information about the properties and property values for the custom deny
- custom
Deny StringId - 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.