akamai.AppSecConfiguration
Explore with Pulumi AI
Create AppSecConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppSecConfiguration(name: string, args: AppSecConfigurationArgs, opts?: CustomResourceOptions);
@overload
def AppSecConfiguration(resource_name: str,
args: AppSecConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppSecConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
contract_id: Optional[str] = None,
description: Optional[str] = None,
group_id: Optional[int] = None,
host_names: Optional[Sequence[str]] = None,
create_from_config_id: Optional[int] = None,
create_from_version: Optional[int] = None,
name: Optional[str] = None)
func NewAppSecConfiguration(ctx *Context, name string, args AppSecConfigurationArgs, opts ...ResourceOption) (*AppSecConfiguration, error)
public AppSecConfiguration(string name, AppSecConfigurationArgs args, CustomResourceOptions? opts = null)
public AppSecConfiguration(String name, AppSecConfigurationArgs args)
public AppSecConfiguration(String name, AppSecConfigurationArgs args, CustomResourceOptions options)
type: akamai:AppSecConfiguration
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 AppSecConfigurationArgs
- 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 AppSecConfigurationArgs
- 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 AppSecConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppSecConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppSecConfigurationArgs
- 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 appSecConfigurationResource = new Akamai.AppSecConfiguration("appSecConfigurationResource", new()
{
ContractId = "string",
Description = "string",
GroupId = 0,
HostNames = new[]
{
"string",
},
CreateFromConfigId = 0,
CreateFromVersion = 0,
Name = "string",
});
example, err := akamai.NewAppSecConfiguration(ctx, "appSecConfigurationResource", &akamai.AppSecConfigurationArgs{
ContractId: pulumi.String("string"),
Description: pulumi.String("string"),
GroupId: pulumi.Int(0),
HostNames: pulumi.StringArray{
pulumi.String("string"),
},
CreateFromConfigId: pulumi.Int(0),
CreateFromVersion: pulumi.Int(0),
Name: pulumi.String("string"),
})
var appSecConfigurationResource = new AppSecConfiguration("appSecConfigurationResource", AppSecConfigurationArgs.builder()
.contractId("string")
.description("string")
.groupId(0)
.hostNames("string")
.createFromConfigId(0)
.createFromVersion(0)
.name("string")
.build());
app_sec_configuration_resource = akamai.AppSecConfiguration("appSecConfigurationResource",
contract_id="string",
description="string",
group_id=0,
host_names=["string"],
create_from_config_id=0,
create_from_version=0,
name="string")
const appSecConfigurationResource = new akamai.AppSecConfiguration("appSecConfigurationResource", {
contractId: "string",
description: "string",
groupId: 0,
hostNames: ["string"],
createFromConfigId: 0,
createFromVersion: 0,
name: "string",
});
type: akamai:AppSecConfiguration
properties:
contractId: string
createFromConfigId: 0
createFromVersion: 0
description: string
groupId: 0
hostNames:
- string
name: string
AppSecConfiguration 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 AppSecConfiguration resource accepts the following input properties:
- Contract
Id string - Unique identifier of the Akamai contract associated with the new configuration
- Description string
- Brief description of the new configuration
- Group
Id int - Unique identifier of the contract group associated with the new configuration
- Host
Names List<string> - Hostnames to be protected by the new configuration
- Create
From intConfig Id - Unique identifier of the existing configuration being cloned to create the new configuration
- Create
From intVersion - Version number of the existing configuration being cloned to create the new configuration
- Name string
- Name of the new configuration
- Contract
Id string - Unique identifier of the Akamai contract associated with the new configuration
- Description string
- Brief description of the new configuration
- Group
Id int - Unique identifier of the contract group associated with the new configuration
- Host
Names []string - Hostnames to be protected by the new configuration
- Create
From intConfig Id - Unique identifier of the existing configuration being cloned to create the new configuration
- Create
From intVersion - Version number of the existing configuration being cloned to create the new configuration
- Name string
- Name of the new configuration
- contract
Id String - Unique identifier of the Akamai contract associated with the new configuration
- description String
- Brief description of the new configuration
- group
Id Integer - Unique identifier of the contract group associated with the new configuration
- host
Names List<String> - Hostnames to be protected by the new configuration
- create
From IntegerConfig Id - Unique identifier of the existing configuration being cloned to create the new configuration
- create
From IntegerVersion - Version number of the existing configuration being cloned to create the new configuration
- name String
- Name of the new configuration
- contract
Id string - Unique identifier of the Akamai contract associated with the new configuration
- description string
- Brief description of the new configuration
- group
Id number - Unique identifier of the contract group associated with the new configuration
- host
Names string[] - Hostnames to be protected by the new configuration
- create
From numberConfig Id - Unique identifier of the existing configuration being cloned to create the new configuration
- create
From numberVersion - Version number of the existing configuration being cloned to create the new configuration
- name string
- Name of the new configuration
- contract_
id str - Unique identifier of the Akamai contract associated with the new configuration
- description str
- Brief description of the new configuration
- group_
id int - Unique identifier of the contract group associated with the new configuration
- host_
names Sequence[str] - Hostnames to be protected by the new configuration
- create_
from_ intconfig_ id - Unique identifier of the existing configuration being cloned to create the new configuration
- create_
from_ intversion - Version number of the existing configuration being cloned to create the new configuration
- name str
- Name of the new configuration
- contract
Id String - Unique identifier of the Akamai contract associated with the new configuration
- description String
- Brief description of the new configuration
- group
Id Number - Unique identifier of the contract group associated with the new configuration
- host
Names List<String> - Hostnames to be protected by the new configuration
- create
From NumberConfig Id - Unique identifier of the existing configuration being cloned to create the new configuration
- create
From NumberVersion - Version number of the existing configuration being cloned to create the new configuration
- name String
- Name of the new configuration
Outputs
All input properties are implicitly available as output properties. Additionally, the AppSecConfiguration resource produces the following output properties:
Look up Existing AppSecConfiguration Resource
Get an existing AppSecConfiguration 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?: AppSecConfigurationState, opts?: CustomResourceOptions): AppSecConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[int] = None,
contract_id: Optional[str] = None,
create_from_config_id: Optional[int] = None,
create_from_version: Optional[int] = None,
description: Optional[str] = None,
group_id: Optional[int] = None,
host_names: Optional[Sequence[str]] = None,
name: Optional[str] = None) -> AppSecConfiguration
func GetAppSecConfiguration(ctx *Context, name string, id IDInput, state *AppSecConfigurationState, opts ...ResourceOption) (*AppSecConfiguration, error)
public static AppSecConfiguration Get(string name, Input<string> id, AppSecConfigurationState? state, CustomResourceOptions? opts = null)
public static AppSecConfiguration get(String name, Output<String> id, AppSecConfigurationState 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 new security configuration
- Contract
Id string - Unique identifier of the Akamai contract associated with the new configuration
- Create
From intConfig Id - Unique identifier of the existing configuration being cloned to create the new configuration
- Create
From intVersion - Version number of the existing configuration being cloned to create the new configuration
- Description string
- Brief description of the new configuration
- Group
Id int - Unique identifier of the contract group associated with the new configuration
- Host
Names List<string> - Hostnames to be protected by the new configuration
- Name string
- Name of the new configuration
- Config
Id int - Unique identifier of the new security configuration
- Contract
Id string - Unique identifier of the Akamai contract associated with the new configuration
- Create
From intConfig Id - Unique identifier of the existing configuration being cloned to create the new configuration
- Create
From intVersion - Version number of the existing configuration being cloned to create the new configuration
- Description string
- Brief description of the new configuration
- Group
Id int - Unique identifier of the contract group associated with the new configuration
- Host
Names []string - Hostnames to be protected by the new configuration
- Name string
- Name of the new configuration
- config
Id Integer - Unique identifier of the new security configuration
- contract
Id String - Unique identifier of the Akamai contract associated with the new configuration
- create
From IntegerConfig Id - Unique identifier of the existing configuration being cloned to create the new configuration
- create
From IntegerVersion - Version number of the existing configuration being cloned to create the new configuration
- description String
- Brief description of the new configuration
- group
Id Integer - Unique identifier of the contract group associated with the new configuration
- host
Names List<String> - Hostnames to be protected by the new configuration
- name String
- Name of the new configuration
- config
Id number - Unique identifier of the new security configuration
- contract
Id string - Unique identifier of the Akamai contract associated with the new configuration
- create
From numberConfig Id - Unique identifier of the existing configuration being cloned to create the new configuration
- create
From numberVersion - Version number of the existing configuration being cloned to create the new configuration
- description string
- Brief description of the new configuration
- group
Id number - Unique identifier of the contract group associated with the new configuration
- host
Names string[] - Hostnames to be protected by the new configuration
- name string
- Name of the new configuration
- config_
id int - Unique identifier of the new security configuration
- contract_
id str - Unique identifier of the Akamai contract associated with the new configuration
- create_
from_ intconfig_ id - Unique identifier of the existing configuration being cloned to create the new configuration
- create_
from_ intversion - Version number of the existing configuration being cloned to create the new configuration
- description str
- Brief description of the new configuration
- group_
id int - Unique identifier of the contract group associated with the new configuration
- host_
names Sequence[str] - Hostnames to be protected by the new configuration
- name str
- Name of the new configuration
- config
Id Number - Unique identifier of the new security configuration
- contract
Id String - Unique identifier of the Akamai contract associated with the new configuration
- create
From NumberConfig Id - Unique identifier of the existing configuration being cloned to create the new configuration
- create
From NumberVersion - Version number of the existing configuration being cloned to create the new configuration
- description String
- Brief description of the new configuration
- group
Id Number - Unique identifier of the contract group associated with the new configuration
- host
Names List<String> - Hostnames to be protected by the new configuration
- name String
- Name of the new configuration
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.