akamai.AppSecConfiguration
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[str] = 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 = "string",
    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.String("string"),
	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("string")
    .hostNames("string")
    .createFromConfigId(0)
    .createFromVersion(0)
    .name("string")
    .build());
app_sec_configuration_resource = akamai.AppSecConfiguration("appSecConfigurationResource",
    contract_id="string",
    description="string",
    group_id="string",
    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: "string",
    hostNames: ["string"],
    createFromConfigId: 0,
    createFromVersion: 0,
    name: "string",
});
type: akamai:AppSecConfiguration
properties:
    contractId: string
    createFromConfigId: 0
    createFromVersion: 0
    description: string
    groupId: string
    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:
- ContractId string
- Unique identifier of the Akamai contract associated with the new configuration
- Description string
- Brief description of the new configuration
- GroupId string
- Unique identifier of the contract group associated with the new configuration
- HostNames List<string>
- Hostnames to be protected by the new configuration
- CreateFrom intConfig Id 
- Unique identifier of the existing configuration being cloned to create the new configuration
- CreateFrom intVersion 
- Version number of the existing configuration being cloned to create the new configuration
- Name string
- Name of the new configuration
- ContractId string
- Unique identifier of the Akamai contract associated with the new configuration
- Description string
- Brief description of the new configuration
- GroupId string
- Unique identifier of the contract group associated with the new configuration
- HostNames []string
- Hostnames to be protected by the new configuration
- CreateFrom intConfig Id 
- Unique identifier of the existing configuration being cloned to create the new configuration
- CreateFrom intVersion 
- Version number of the existing configuration being cloned to create the new configuration
- Name string
- Name of the new configuration
- contractId String
- Unique identifier of the Akamai contract associated with the new configuration
- description String
- Brief description of the new configuration
- groupId String
- Unique identifier of the contract group associated with the new configuration
- hostNames List<String>
- Hostnames to be protected by the new configuration
- createFrom IntegerConfig Id 
- Unique identifier of the existing configuration being cloned to create the new configuration
- createFrom IntegerVersion 
- Version number of the existing configuration being cloned to create the new configuration
- name String
- Name of the new configuration
- contractId string
- Unique identifier of the Akamai contract associated with the new configuration
- description string
- Brief description of the new configuration
- groupId string
- Unique identifier of the contract group associated with the new configuration
- hostNames string[]
- Hostnames to be protected by the new configuration
- createFrom numberConfig Id 
- Unique identifier of the existing configuration being cloned to create the new configuration
- createFrom 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 str
- 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
- contractId String
- Unique identifier of the Akamai contract associated with the new configuration
- description String
- Brief description of the new configuration
- groupId String
- Unique identifier of the contract group associated with the new configuration
- hostNames List<String>
- Hostnames to be protected by the new configuration
- createFrom NumberConfig Id 
- Unique identifier of the existing configuration being cloned to create the new configuration
- createFrom 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[str] = None,
        host_names: Optional[Sequence[str]] = None,
        name: Optional[str] = None) -> AppSecConfigurationfunc 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)resources:  _:    type: akamai:AppSecConfiguration    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 new security configuration
- ContractId string
- Unique identifier of the Akamai contract associated with the new configuration
- CreateFrom intConfig Id 
- Unique identifier of the existing configuration being cloned to create the new configuration
- CreateFrom intVersion 
- Version number of the existing configuration being cloned to create the new configuration
- Description string
- Brief description of the new configuration
- GroupId string
- Unique identifier of the contract group associated with the new configuration
- HostNames List<string>
- Hostnames to be protected by the new configuration
- Name string
- Name of the new configuration
- ConfigId int
- Unique identifier of the new security configuration
- ContractId string
- Unique identifier of the Akamai contract associated with the new configuration
- CreateFrom intConfig Id 
- Unique identifier of the existing configuration being cloned to create the new configuration
- CreateFrom intVersion 
- Version number of the existing configuration being cloned to create the new configuration
- Description string
- Brief description of the new configuration
- GroupId string
- Unique identifier of the contract group associated with the new configuration
- HostNames []string
- Hostnames to be protected by the new configuration
- Name string
- Name of the new configuration
- configId Integer
- Unique identifier of the new security configuration
- contractId String
- Unique identifier of the Akamai contract associated with the new configuration
- createFrom IntegerConfig Id 
- Unique identifier of the existing configuration being cloned to create the new configuration
- createFrom IntegerVersion 
- Version number of the existing configuration being cloned to create the new configuration
- description String
- Brief description of the new configuration
- groupId String
- Unique identifier of the contract group associated with the new configuration
- hostNames List<String>
- Hostnames to be protected by the new configuration
- name String
- Name of the new configuration
- configId number
- Unique identifier of the new security configuration
- contractId string
- Unique identifier of the Akamai contract associated with the new configuration
- createFrom numberConfig Id 
- Unique identifier of the existing configuration being cloned to create the new configuration
- createFrom numberVersion 
- Version number of the existing configuration being cloned to create the new configuration
- description string
- Brief description of the new configuration
- groupId string
- Unique identifier of the contract group associated with the new configuration
- hostNames 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 str
- 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
- configId Number
- Unique identifier of the new security configuration
- contractId String
- Unique identifier of the Akamai contract associated with the new configuration
- createFrom NumberConfig Id 
- Unique identifier of the existing configuration being cloned to create the new configuration
- createFrom NumberVersion 
- Version number of the existing configuration being cloned to create the new configuration
- description String
- Brief description of the new configuration
- groupId String
- Unique identifier of the contract group associated with the new configuration
- hostNames 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 akamaiTerraform Provider.
