1. Packages
  2. Akamai
  3. API Docs
  4. BotmanContentProtectionJavascriptInjectionRule
Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi

akamai.BotmanContentProtectionJavascriptInjectionRule

Explore with Pulumi AI

Create BotmanContentProtectionJavascriptInjectionRule Resource

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

Constructor syntax

new BotmanContentProtectionJavascriptInjectionRule(name: string, args: BotmanContentProtectionJavascriptInjectionRuleArgs, opts?: CustomResourceOptions);
@overload
def BotmanContentProtectionJavascriptInjectionRule(resource_name: str,
                                                   args: BotmanContentProtectionJavascriptInjectionRuleArgs,
                                                   opts: Optional[ResourceOptions] = None)

@overload
def BotmanContentProtectionJavascriptInjectionRule(resource_name: str,
                                                   opts: Optional[ResourceOptions] = None,
                                                   config_id: Optional[int] = None,
                                                   content_protection_javascript_injection_rule: Optional[str] = None,
                                                   security_policy_id: Optional[str] = None)
func NewBotmanContentProtectionJavascriptInjectionRule(ctx *Context, name string, args BotmanContentProtectionJavascriptInjectionRuleArgs, opts ...ResourceOption) (*BotmanContentProtectionJavascriptInjectionRule, error)
public BotmanContentProtectionJavascriptInjectionRule(string name, BotmanContentProtectionJavascriptInjectionRuleArgs args, CustomResourceOptions? opts = null)
public BotmanContentProtectionJavascriptInjectionRule(String name, BotmanContentProtectionJavascriptInjectionRuleArgs args)
public BotmanContentProtectionJavascriptInjectionRule(String name, BotmanContentProtectionJavascriptInjectionRuleArgs args, CustomResourceOptions options)
type: akamai:BotmanContentProtectionJavascriptInjectionRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. BotmanContentProtectionJavascriptInjectionRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. BotmanContentProtectionJavascriptInjectionRuleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. BotmanContentProtectionJavascriptInjectionRuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. BotmanContentProtectionJavascriptInjectionRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BotmanContentProtectionJavascriptInjectionRuleArgs
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 botmanContentProtectionJavascriptInjectionRuleResource = new Akamai.BotmanContentProtectionJavascriptInjectionRule("botmanContentProtectionJavascriptInjectionRuleResource", new()
{
    ConfigId = 0,
    ContentProtectionJavascriptInjectionRule = "string",
    SecurityPolicyId = "string",
});
Copy
example, err := akamai.NewBotmanContentProtectionJavascriptInjectionRule(ctx, "botmanContentProtectionJavascriptInjectionRuleResource", &akamai.BotmanContentProtectionJavascriptInjectionRuleArgs{
	ConfigId:                                 pulumi.Int(0),
	ContentProtectionJavascriptInjectionRule: pulumi.String("string"),
	SecurityPolicyId:                         pulumi.String("string"),
})
Copy
var botmanContentProtectionJavascriptInjectionRuleResource = new BotmanContentProtectionJavascriptInjectionRule("botmanContentProtectionJavascriptInjectionRuleResource", BotmanContentProtectionJavascriptInjectionRuleArgs.builder()
    .configId(0)
    .contentProtectionJavascriptInjectionRule("string")
    .securityPolicyId("string")
    .build());
Copy
botman_content_protection_javascript_injection_rule_resource = akamai.BotmanContentProtectionJavascriptInjectionRule("botmanContentProtectionJavascriptInjectionRuleResource",
    config_id=0,
    content_protection_javascript_injection_rule="string",
    security_policy_id="string")
Copy
const botmanContentProtectionJavascriptInjectionRuleResource = new akamai.BotmanContentProtectionJavascriptInjectionRule("botmanContentProtectionJavascriptInjectionRuleResource", {
    configId: 0,
    contentProtectionJavascriptInjectionRule: "string",
    securityPolicyId: "string",
});
Copy
type: akamai:BotmanContentProtectionJavascriptInjectionRule
properties:
    configId: 0
    contentProtectionJavascriptInjectionRule: string
    securityPolicyId: string
Copy

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

ConfigId This property is required. int
Unique identifier of the security configuration
ContentProtectionJavascriptInjectionRule This property is required. string
The content protection JavaScript injection rule
SecurityPolicyId This property is required. string
Unique identifier of the security policy
ConfigId This property is required. int
Unique identifier of the security configuration
ContentProtectionJavascriptInjectionRule This property is required. string
The content protection JavaScript injection rule
SecurityPolicyId This property is required. string
Unique identifier of the security policy
configId This property is required. Integer
Unique identifier of the security configuration
contentProtectionJavascriptInjectionRule This property is required. String
The content protection JavaScript injection rule
securityPolicyId This property is required. String
Unique identifier of the security policy
configId This property is required. number
Unique identifier of the security configuration
contentProtectionJavascriptInjectionRule This property is required. string
The content protection JavaScript injection rule
securityPolicyId This property is required. string
Unique identifier of the security policy
config_id This property is required. int
Unique identifier of the security configuration
content_protection_javascript_injection_rule This property is required. str
The content protection JavaScript injection rule
security_policy_id This property is required. str
Unique identifier of the security policy
configId This property is required. Number
Unique identifier of the security configuration
contentProtectionJavascriptInjectionRule This property is required. String
The content protection JavaScript injection rule
securityPolicyId This property is required. String
Unique identifier of the security policy

Outputs

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

ContentProtectionJavascriptInjectionRuleId string
Unique identifier of a content protection JavaScript injection rule
Id string
The provider-assigned unique ID for this managed resource.
ContentProtectionJavascriptInjectionRuleId string
Unique identifier of a content protection JavaScript injection rule
Id string
The provider-assigned unique ID for this managed resource.
contentProtectionJavascriptInjectionRuleId String
Unique identifier of a content protection JavaScript injection rule
id String
The provider-assigned unique ID for this managed resource.
contentProtectionJavascriptInjectionRuleId string
Unique identifier of a content protection JavaScript injection rule
id string
The provider-assigned unique ID for this managed resource.
content_protection_javascript_injection_rule_id str
Unique identifier of a content protection JavaScript injection rule
id str
The provider-assigned unique ID for this managed resource.
contentProtectionJavascriptInjectionRuleId String
Unique identifier of a content protection JavaScript injection rule
id String
The provider-assigned unique ID for this managed resource.

Look up Existing BotmanContentProtectionJavascriptInjectionRule Resource

Get an existing BotmanContentProtectionJavascriptInjectionRule 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?: BotmanContentProtectionJavascriptInjectionRuleState, opts?: CustomResourceOptions): BotmanContentProtectionJavascriptInjectionRule
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config_id: Optional[int] = None,
        content_protection_javascript_injection_rule: Optional[str] = None,
        content_protection_javascript_injection_rule_id: Optional[str] = None,
        security_policy_id: Optional[str] = None) -> BotmanContentProtectionJavascriptInjectionRule
func GetBotmanContentProtectionJavascriptInjectionRule(ctx *Context, name string, id IDInput, state *BotmanContentProtectionJavascriptInjectionRuleState, opts ...ResourceOption) (*BotmanContentProtectionJavascriptInjectionRule, error)
public static BotmanContentProtectionJavascriptInjectionRule Get(string name, Input<string> id, BotmanContentProtectionJavascriptInjectionRuleState? state, CustomResourceOptions? opts = null)
public static BotmanContentProtectionJavascriptInjectionRule get(String name, Output<String> id, BotmanContentProtectionJavascriptInjectionRuleState state, CustomResourceOptions options)
resources:  _:    type: akamai:BotmanContentProtectionJavascriptInjectionRule    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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
ContentProtectionJavascriptInjectionRule string
The content protection JavaScript injection rule
ContentProtectionJavascriptInjectionRuleId string
Unique identifier of a content protection JavaScript injection rule
SecurityPolicyId string
Unique identifier of the security policy
ConfigId int
Unique identifier of the security configuration
ContentProtectionJavascriptInjectionRule string
The content protection JavaScript injection rule
ContentProtectionJavascriptInjectionRuleId string
Unique identifier of a content protection JavaScript injection rule
SecurityPolicyId string
Unique identifier of the security policy
configId Integer
Unique identifier of the security configuration
contentProtectionJavascriptInjectionRule String
The content protection JavaScript injection rule
contentProtectionJavascriptInjectionRuleId String
Unique identifier of a content protection JavaScript injection rule
securityPolicyId String
Unique identifier of the security policy
configId number
Unique identifier of the security configuration
contentProtectionJavascriptInjectionRule string
The content protection JavaScript injection rule
contentProtectionJavascriptInjectionRuleId string
Unique identifier of a content protection JavaScript injection rule
securityPolicyId string
Unique identifier of the security policy
config_id int
Unique identifier of the security configuration
content_protection_javascript_injection_rule str
The content protection JavaScript injection rule
content_protection_javascript_injection_rule_id str
Unique identifier of a content protection JavaScript injection rule
security_policy_id str
Unique identifier of the security policy
configId Number
Unique identifier of the security configuration
contentProtectionJavascriptInjectionRule String
The content protection JavaScript injection rule
contentProtectionJavascriptInjectionRuleId String
Unique identifier of a content protection JavaScript injection rule
securityPolicyId String
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 akamai Terraform Provider.