akamai.BotmanChallengeAction
Explore with Pulumi AI
Create BotmanChallengeAction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BotmanChallengeAction(name: string, args: BotmanChallengeActionArgs, opts?: CustomResourceOptions);
@overload
def BotmanChallengeAction(resource_name: str,
args: BotmanChallengeActionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BotmanChallengeAction(resource_name: str,
opts: Optional[ResourceOptions] = None,
challenge_action: Optional[str] = None,
config_id: Optional[int] = None)
func NewBotmanChallengeAction(ctx *Context, name string, args BotmanChallengeActionArgs, opts ...ResourceOption) (*BotmanChallengeAction, error)
public BotmanChallengeAction(string name, BotmanChallengeActionArgs args, CustomResourceOptions? opts = null)
public BotmanChallengeAction(String name, BotmanChallengeActionArgs args)
public BotmanChallengeAction(String name, BotmanChallengeActionArgs args, CustomResourceOptions options)
type: akamai:BotmanChallengeAction
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 BotmanChallengeActionArgs
- 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 BotmanChallengeActionArgs
- 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 BotmanChallengeActionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BotmanChallengeActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BotmanChallengeActionArgs
- 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 botmanChallengeActionResource = new Akamai.BotmanChallengeAction("botmanChallengeActionResource", new()
{
ChallengeAction = "string",
ConfigId = 0,
});
example, err := akamai.NewBotmanChallengeAction(ctx, "botmanChallengeActionResource", &akamai.BotmanChallengeActionArgs{
ChallengeAction: pulumi.String("string"),
ConfigId: pulumi.Int(0),
})
var botmanChallengeActionResource = new BotmanChallengeAction("botmanChallengeActionResource", BotmanChallengeActionArgs.builder()
.challengeAction("string")
.configId(0)
.build());
botman_challenge_action_resource = akamai.BotmanChallengeAction("botmanChallengeActionResource",
challenge_action="string",
config_id=0)
const botmanChallengeActionResource = new akamai.BotmanChallengeAction("botmanChallengeActionResource", {
challengeAction: "string",
configId: 0,
});
type: akamai:BotmanChallengeAction
properties:
challengeAction: string
configId: 0
BotmanChallengeAction 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 BotmanChallengeAction resource accepts the following input properties:
- Challenge
Action string - Config
Id int
- Challenge
Action string - Config
Id int
- challenge
Action String - config
Id Integer
- challenge
Action string - config
Id number
- challenge_
action str - config_
id int
- challenge
Action String - config
Id Number
Outputs
All input properties are implicitly available as output properties. Additionally, the BotmanChallengeAction resource produces the following output properties:
Look up Existing BotmanChallengeAction Resource
Get an existing BotmanChallengeAction 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?: BotmanChallengeActionState, opts?: CustomResourceOptions): BotmanChallengeAction
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action_id: Optional[str] = None,
challenge_action: Optional[str] = None,
config_id: Optional[int] = None) -> BotmanChallengeAction
func GetBotmanChallengeAction(ctx *Context, name string, id IDInput, state *BotmanChallengeActionState, opts ...ResourceOption) (*BotmanChallengeAction, error)
public static BotmanChallengeAction Get(string name, Input<string> id, BotmanChallengeActionState? state, CustomResourceOptions? opts = null)
public static BotmanChallengeAction get(String name, Output<String> id, BotmanChallengeActionState 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.
- Action
Id string - Challenge
Action string - Config
Id int
- Action
Id string - Challenge
Action string - Config
Id int
- action
Id String - challenge
Action String - config
Id Integer
- action
Id string - challenge
Action string - config
Id number
- action_
id str - challenge_
action str - config_
id int
- action
Id String - challenge
Action String - config
Id Number
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.