akamai.AppSecRatePolicyAction
Explore with Pulumi AI
Create AppSecRatePolicyAction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppSecRatePolicyAction(name: string, args: AppSecRatePolicyActionArgs, opts?: CustomResourceOptions);@overload
def AppSecRatePolicyAction(resource_name: str,
                           args: AppSecRatePolicyActionArgs,
                           opts: Optional[ResourceOptions] = None)
@overload
def AppSecRatePolicyAction(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           config_id: Optional[int] = None,
                           ipv4_action: Optional[str] = None,
                           ipv6_action: Optional[str] = None,
                           rate_policy_id: Optional[int] = None,
                           security_policy_id: Optional[str] = None)func NewAppSecRatePolicyAction(ctx *Context, name string, args AppSecRatePolicyActionArgs, opts ...ResourceOption) (*AppSecRatePolicyAction, error)public AppSecRatePolicyAction(string name, AppSecRatePolicyActionArgs args, CustomResourceOptions? opts = null)
public AppSecRatePolicyAction(String name, AppSecRatePolicyActionArgs args)
public AppSecRatePolicyAction(String name, AppSecRatePolicyActionArgs args, CustomResourceOptions options)
type: akamai:AppSecRatePolicyAction
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 AppSecRatePolicyActionArgs
- 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 AppSecRatePolicyActionArgs
- 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 AppSecRatePolicyActionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppSecRatePolicyActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppSecRatePolicyActionArgs
- 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 appSecRatePolicyActionResource = new Akamai.AppSecRatePolicyAction("appSecRatePolicyActionResource", new()
{
    ConfigId = 0,
    Ipv4Action = "string",
    Ipv6Action = "string",
    RatePolicyId = 0,
    SecurityPolicyId = "string",
});
example, err := akamai.NewAppSecRatePolicyAction(ctx, "appSecRatePolicyActionResource", &akamai.AppSecRatePolicyActionArgs{
	ConfigId:         pulumi.Int(0),
	Ipv4Action:       pulumi.String("string"),
	Ipv6Action:       pulumi.String("string"),
	RatePolicyId:     pulumi.Int(0),
	SecurityPolicyId: pulumi.String("string"),
})
var appSecRatePolicyActionResource = new AppSecRatePolicyAction("appSecRatePolicyActionResource", AppSecRatePolicyActionArgs.builder()
    .configId(0)
    .ipv4Action("string")
    .ipv6Action("string")
    .ratePolicyId(0)
    .securityPolicyId("string")
    .build());
app_sec_rate_policy_action_resource = akamai.AppSecRatePolicyAction("appSecRatePolicyActionResource",
    config_id=0,
    ipv4_action="string",
    ipv6_action="string",
    rate_policy_id=0,
    security_policy_id="string")
const appSecRatePolicyActionResource = new akamai.AppSecRatePolicyAction("appSecRatePolicyActionResource", {
    configId: 0,
    ipv4Action: "string",
    ipv6Action: "string",
    ratePolicyId: 0,
    securityPolicyId: "string",
});
type: akamai:AppSecRatePolicyAction
properties:
    configId: 0
    ipv4Action: string
    ipv6Action: string
    ratePolicyId: 0
    securityPolicyId: string
AppSecRatePolicyAction 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 AppSecRatePolicyAction resource accepts the following input properties:
- ConfigId int
- Unique identifier of the security configuration
- Ipv4Action string
- Action to be taken for requests coming from an IPv4 address
- Ipv6Action string
- Action to be taken for requests coming from an IPv6 address
- RatePolicy intId 
- Unique identifier of the rate policy
- SecurityPolicy stringId 
- Unique identifier of the security policy
- ConfigId int
- Unique identifier of the security configuration
- Ipv4Action string
- Action to be taken for requests coming from an IPv4 address
- Ipv6Action string
- Action to be taken for requests coming from an IPv6 address
- RatePolicy intId 
- Unique identifier of the rate policy
- SecurityPolicy stringId 
- Unique identifier of the security policy
- configId Integer
- Unique identifier of the security configuration
- ipv4Action String
- Action to be taken for requests coming from an IPv4 address
- ipv6Action String
- Action to be taken for requests coming from an IPv6 address
- ratePolicy IntegerId 
- Unique identifier of the rate policy
- securityPolicy StringId 
- Unique identifier of the security policy
- configId number
- Unique identifier of the security configuration
- ipv4Action string
- Action to be taken for requests coming from an IPv4 address
- ipv6Action string
- Action to be taken for requests coming from an IPv6 address
- ratePolicy numberId 
- Unique identifier of the rate policy
- securityPolicy stringId 
- Unique identifier of the security policy
- config_id int
- Unique identifier of the security configuration
- ipv4_action str
- Action to be taken for requests coming from an IPv4 address
- ipv6_action str
- Action to be taken for requests coming from an IPv6 address
- rate_policy_ intid 
- Unique identifier of the rate policy
- security_policy_ strid 
- Unique identifier of the security policy
- configId Number
- Unique identifier of the security configuration
- ipv4Action String
- Action to be taken for requests coming from an IPv4 address
- ipv6Action String
- Action to be taken for requests coming from an IPv6 address
- ratePolicy NumberId 
- Unique identifier of the rate policy
- securityPolicy StringId 
- Unique identifier of the security policy
Outputs
All input properties are implicitly available as output properties. Additionally, the AppSecRatePolicyAction 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 AppSecRatePolicyAction Resource
Get an existing AppSecRatePolicyAction 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?: AppSecRatePolicyActionState, opts?: CustomResourceOptions): AppSecRatePolicyAction@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config_id: Optional[int] = None,
        ipv4_action: Optional[str] = None,
        ipv6_action: Optional[str] = None,
        rate_policy_id: Optional[int] = None,
        security_policy_id: Optional[str] = None) -> AppSecRatePolicyActionfunc GetAppSecRatePolicyAction(ctx *Context, name string, id IDInput, state *AppSecRatePolicyActionState, opts ...ResourceOption) (*AppSecRatePolicyAction, error)public static AppSecRatePolicyAction Get(string name, Input<string> id, AppSecRatePolicyActionState? state, CustomResourceOptions? opts = null)public static AppSecRatePolicyAction get(String name, Output<String> id, AppSecRatePolicyActionState state, CustomResourceOptions options)resources:  _:    type: akamai:AppSecRatePolicyAction    get:      id: ${id}- 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.
- ConfigId int
- Unique identifier of the security configuration
- Ipv4Action string
- Action to be taken for requests coming from an IPv4 address
- Ipv6Action string
- Action to be taken for requests coming from an IPv6 address
- RatePolicy intId 
- Unique identifier of the rate policy
- SecurityPolicy stringId 
- Unique identifier of the security policy
- ConfigId int
- Unique identifier of the security configuration
- Ipv4Action string
- Action to be taken for requests coming from an IPv4 address
- Ipv6Action string
- Action to be taken for requests coming from an IPv6 address
- RatePolicy intId 
- Unique identifier of the rate policy
- SecurityPolicy stringId 
- Unique identifier of the security policy
- configId Integer
- Unique identifier of the security configuration
- ipv4Action String
- Action to be taken for requests coming from an IPv4 address
- ipv6Action String
- Action to be taken for requests coming from an IPv6 address
- ratePolicy IntegerId 
- Unique identifier of the rate policy
- securityPolicy StringId 
- Unique identifier of the security policy
- configId number
- Unique identifier of the security configuration
- ipv4Action string
- Action to be taken for requests coming from an IPv4 address
- ipv6Action string
- Action to be taken for requests coming from an IPv6 address
- ratePolicy numberId 
- Unique identifier of the rate policy
- securityPolicy stringId 
- Unique identifier of the security policy
- config_id int
- Unique identifier of the security configuration
- ipv4_action str
- Action to be taken for requests coming from an IPv4 address
- ipv6_action str
- Action to be taken for requests coming from an IPv6 address
- rate_policy_ intid 
- Unique identifier of the rate policy
- security_policy_ strid 
- Unique identifier of the security policy
- configId Number
- Unique identifier of the security configuration
- ipv4Action String
- Action to be taken for requests coming from an IPv4 address
- ipv6Action String
- Action to be taken for requests coming from an IPv6 address
- ratePolicy NumberId 
- Unique identifier of the rate policy
- securityPolicy StringId 
- Unique identifier of the security policy
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the akamaiTerraform Provider.