1. Packages
  2. Akamai
  3. API Docs
  4. AppSecConfiguration
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

akamai.AppSecConfiguration

Explore with Pulumi AI

akamai logo
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

    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.

    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

    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 int
    Unique identifier of the contract group associated with the new configuration
    HostNames List<string>
    Hostnames to be protected by the new configuration
    CreateFromConfigId int
    Unique identifier of the existing configuration being cloned to create the new configuration
    CreateFromVersion int
    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 int
    Unique identifier of the contract group associated with the new configuration
    HostNames []string
    Hostnames to be protected by the new configuration
    CreateFromConfigId int
    Unique identifier of the existing configuration being cloned to create the new configuration
    CreateFromVersion int
    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 Integer
    Unique identifier of the contract group associated with the new configuration
    hostNames List<String>
    Hostnames to be protected by the new configuration
    createFromConfigId Integer
    Unique identifier of the existing configuration being cloned to create the new configuration
    createFromVersion Integer
    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 number
    Unique identifier of the contract group associated with the new configuration
    hostNames string[]
    Hostnames to be protected by the new configuration
    createFromConfigId number
    Unique identifier of the existing configuration being cloned to create the new configuration
    createFromVersion number
    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_config_id int
    Unique identifier of the existing configuration being cloned to create the new configuration
    create_from_version int
    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 Number
    Unique identifier of the contract group associated with the new configuration
    hostNames List<String>
    Hostnames to be protected by the new configuration
    createFromConfigId Number
    Unique identifier of the existing configuration being cloned to create the new configuration
    createFromVersion Number
    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:

    ConfigId int
    Unique identifier of the new security configuration
    Id string
    The provider-assigned unique ID for this managed resource.
    ConfigId int
    Unique identifier of the new security configuration
    Id string
    The provider-assigned unique ID for this managed resource.
    configId Integer
    Unique identifier of the new security configuration
    id String
    The provider-assigned unique ID for this managed resource.
    configId number
    Unique identifier of the new security configuration
    id string
    The provider-assigned unique ID for this managed resource.
    config_id int
    Unique identifier of the new security configuration
    id str
    The provider-assigned unique ID for this managed resource.
    configId Number
    Unique identifier of the new security configuration
    id String
    The provider-assigned unique ID for this managed resource.

    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.
    The following state arguments are supported:
    ConfigId int
    Unique identifier of the new security configuration
    ContractId string
    Unique identifier of the Akamai contract associated with the new configuration
    CreateFromConfigId int
    Unique identifier of the existing configuration being cloned to create the new configuration
    CreateFromVersion int
    Version number of the existing configuration being cloned to create the new configuration
    Description string
    Brief description of the new configuration
    GroupId int
    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
    CreateFromConfigId int
    Unique identifier of the existing configuration being cloned to create the new configuration
    CreateFromVersion int
    Version number of the existing configuration being cloned to create the new configuration
    Description string
    Brief description of the new configuration
    GroupId int
    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
    createFromConfigId Integer
    Unique identifier of the existing configuration being cloned to create the new configuration
    createFromVersion Integer
    Version number of the existing configuration being cloned to create the new configuration
    description String
    Brief description of the new configuration
    groupId Integer
    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
    createFromConfigId number
    Unique identifier of the existing configuration being cloned to create the new configuration
    createFromVersion number
    Version number of the existing configuration being cloned to create the new configuration
    description string
    Brief description of the new configuration
    groupId number
    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_config_id int
    Unique identifier of the existing configuration being cloned to create the new configuration
    create_from_version int
    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
    configId Number
    Unique identifier of the new security configuration
    contractId String
    Unique identifier of the Akamai contract associated with the new configuration
    createFromConfigId Number
    Unique identifier of the existing configuration being cloned to create the new configuration
    createFromVersion Number
    Version number of the existing configuration being cloned to create the new configuration
    description String
    Brief description of the new configuration
    groupId Number
    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 akamai Terraform Provider.
    akamai logo
    Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi