1. Packages
  2. Ibm Provider
  3. API Docs
  4. EnAppConfigurationTemplate
ibm 1.85.0-beta0 published on Wednesday, Oct 29, 2025 by ibm-cloud

ibm.EnAppConfigurationTemplate

Get Started
ibm logo
ibm 1.85.0-beta0 published on Wednesday, Oct 29, 2025 by ibm-cloud

    Create, update, or delete App Configuration Template by using IBM Cloud™ Event Notifications.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const acTemplate = new ibm.EnAppConfigurationTemplate("acTemplate", {
        instanceGuid: ibm_resource_instance.en_terraform_test_resource.guid,
        type: "app_configuration.notification",
        description: "AppConfiguration Template for Notifications",
        params: {
            body: "eyJlbmFibGVkIjogZmFsc2V9Cg==",
        },
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    ac_template = ibm.EnAppConfigurationTemplate("acTemplate",
        instance_guid=ibm_resource_instance["en_terraform_test_resource"]["guid"],
        type="app_configuration.notification",
        description="AppConfiguration Template for Notifications",
        params={
            "body": "eyJlbmFibGVkIjogZmFsc2V9Cg==",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewEnAppConfigurationTemplate(ctx, "acTemplate", &ibm.EnAppConfigurationTemplateArgs{
    			InstanceGuid: pulumi.Any(ibm_resource_instance.En_terraform_test_resource.Guid),
    			Type:         pulumi.String("app_configuration.notification"),
    			Description:  pulumi.String("AppConfiguration Template for Notifications"),
    			Params: &ibm.EnAppConfigurationTemplateParamsArgs{
    				Body: pulumi.String("eyJlbmFibGVkIjogZmFsc2V9Cg=="),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var acTemplate = new Ibm.EnAppConfigurationTemplate("acTemplate", new()
        {
            InstanceGuid = ibm_resource_instance.En_terraform_test_resource.Guid,
            Type = "app_configuration.notification",
            Description = "AppConfiguration Template for Notifications",
            Params = new Ibm.Inputs.EnAppConfigurationTemplateParamsArgs
            {
                Body = "eyJlbmFibGVkIjogZmFsc2V9Cg==",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.EnAppConfigurationTemplate;
    import com.pulumi.ibm.EnAppConfigurationTemplateArgs;
    import com.pulumi.ibm.inputs.EnAppConfigurationTemplateParamsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var acTemplate = new EnAppConfigurationTemplate("acTemplate", EnAppConfigurationTemplateArgs.builder()
                .instanceGuid(ibm_resource_instance.en_terraform_test_resource().guid())
                .type("app_configuration.notification")
                .description("AppConfiguration Template for Notifications")
                .params(EnAppConfigurationTemplateParamsArgs.builder()
                    .body("eyJlbmFibGVkIjogZmFsc2V9Cg==")
                    .build())
                .build());
    
        }
    }
    
    resources:
      acTemplate:
        type: ibm:EnAppConfigurationTemplate
        properties:
          instanceGuid: ${ibm_resource_instance.en_terraform_test_resource.guid}
          type: app_configuration.notification
          description: AppConfiguration Template for Notifications
          params:
            body: eyJlbmFibGVkIjogZmFsc2V9Cg==
    

    Create EnAppConfigurationTemplate Resource

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

    Constructor syntax

    new EnAppConfigurationTemplate(name: string, args: EnAppConfigurationTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def EnAppConfigurationTemplate(resource_name: str,
                                   args: EnAppConfigurationTemplateArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnAppConfigurationTemplate(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   instance_guid: Optional[str] = None,
                                   params: Optional[EnAppConfigurationTemplateParamsArgs] = None,
                                   type: Optional[str] = None,
                                   description: Optional[str] = None,
                                   en_app_configuration_template_id: Optional[str] = None,
                                   name: Optional[str] = None)
    func NewEnAppConfigurationTemplate(ctx *Context, name string, args EnAppConfigurationTemplateArgs, opts ...ResourceOption) (*EnAppConfigurationTemplate, error)
    public EnAppConfigurationTemplate(string name, EnAppConfigurationTemplateArgs args, CustomResourceOptions? opts = null)
    public EnAppConfigurationTemplate(String name, EnAppConfigurationTemplateArgs args)
    public EnAppConfigurationTemplate(String name, EnAppConfigurationTemplateArgs args, CustomResourceOptions options)
    
    type: ibm:EnAppConfigurationTemplate
    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 EnAppConfigurationTemplateArgs
    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 EnAppConfigurationTemplateArgs
    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 EnAppConfigurationTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnAppConfigurationTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnAppConfigurationTemplateArgs
    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 enAppConfigurationTemplateResource = new Ibm.EnAppConfigurationTemplate("enAppConfigurationTemplateResource", new()
    {
        InstanceGuid = "string",
        Params = new Ibm.Inputs.EnAppConfigurationTemplateParamsArgs
        {
            Body = "string",
        },
        Type = "string",
        Description = "string",
        EnAppConfigurationTemplateId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewEnAppConfigurationTemplate(ctx, "enAppConfigurationTemplateResource", &ibm.EnAppConfigurationTemplateArgs{
    	InstanceGuid: pulumi.String("string"),
    	Params: &ibm.EnAppConfigurationTemplateParamsArgs{
    		Body: pulumi.String("string"),
    	},
    	Type:                         pulumi.String("string"),
    	Description:                  pulumi.String("string"),
    	EnAppConfigurationTemplateId: pulumi.String("string"),
    	Name:                         pulumi.String("string"),
    })
    
    var enAppConfigurationTemplateResource = new EnAppConfigurationTemplate("enAppConfigurationTemplateResource", EnAppConfigurationTemplateArgs.builder()
        .instanceGuid("string")
        .params(EnAppConfigurationTemplateParamsArgs.builder()
            .body("string")
            .build())
        .type("string")
        .description("string")
        .enAppConfigurationTemplateId("string")
        .name("string")
        .build());
    
    en_app_configuration_template_resource = ibm.EnAppConfigurationTemplate("enAppConfigurationTemplateResource",
        instance_guid="string",
        params={
            "body": "string",
        },
        type="string",
        description="string",
        en_app_configuration_template_id="string",
        name="string")
    
    const enAppConfigurationTemplateResource = new ibm.EnAppConfigurationTemplate("enAppConfigurationTemplateResource", {
        instanceGuid: "string",
        params: {
            body: "string",
        },
        type: "string",
        description: "string",
        enAppConfigurationTemplateId: "string",
        name: "string",
    });
    
    type: ibm:EnAppConfigurationTemplate
    properties:
        description: string
        enAppConfigurationTemplateId: string
        instanceGuid: string
        name: string
        params:
            body: string
        type: string
    

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

    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Params EnAppConfigurationTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    Type string
    app_configuration.notification
    Description string
    The Template description.
    EnAppConfigurationTemplateId string
    (String) The unique identifier of the ac_template.
    Name string
    The Message Template.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Params EnAppConfigurationTemplateParamsArgs

    Payload describing a template configuration

    Nested scheme for params:

    Type string
    app_configuration.notification
    Description string
    The Template description.
    EnAppConfigurationTemplateId string
    (String) The unique identifier of the ac_template.
    Name string
    The Message Template.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    params EnAppConfigurationTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    type String
    app_configuration.notification
    description String
    The Template description.
    enAppConfigurationTemplateId String
    (String) The unique identifier of the ac_template.
    name String
    The Message Template.
    instanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    params EnAppConfigurationTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    type string
    app_configuration.notification
    description string
    The Template description.
    enAppConfigurationTemplateId string
    (String) The unique identifier of the ac_template.
    name string
    The Message Template.
    instance_guid str
    Unique identifier for IBM Cloud Event Notifications instance.
    params EnAppConfigurationTemplateParamsArgs

    Payload describing a template configuration

    Nested scheme for params:

    type str
    app_configuration.notification
    description str
    The Template description.
    en_app_configuration_template_id str
    (String) The unique identifier of the ac_template.
    name str
    The Message Template.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    params Property Map

    Payload describing a template configuration

    Nested scheme for params:

    type String
    app_configuration.notification
    description String
    The Template description.
    enAppConfigurationTemplateId String
    (String) The unique identifier of the ac_template.
    name String
    The Message Template.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    SubscriptionCount double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames List<string>
    (List) List of subscriptions.
    TemplateId string
    (String) The unique identifier of the created Template.
    UpdatedAt string
    (String) Last updated time.
    Id string
    The provider-assigned unique ID for this managed resource.
    SubscriptionCount float64
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames []string
    (List) List of subscriptions.
    TemplateId string
    (String) The unique identifier of the created Template.
    UpdatedAt string
    (String) Last updated time.
    id String
    The provider-assigned unique ID for this managed resource.
    subscriptionCount Double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    templateId String
    (String) The unique identifier of the created Template.
    updatedAt String
    (String) Last updated time.
    id string
    The provider-assigned unique ID for this managed resource.
    subscriptionCount number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames string[]
    (List) List of subscriptions.
    templateId string
    (String) The unique identifier of the created Template.
    updatedAt string
    (String) Last updated time.
    id str
    The provider-assigned unique ID for this managed resource.
    subscription_count float
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscription_names Sequence[str]
    (List) List of subscriptions.
    template_id str
    (String) The unique identifier of the created Template.
    updated_at str
    (String) Last updated time.
    id String
    The provider-assigned unique ID for this managed resource.
    subscriptionCount Number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    templateId String
    (String) The unique identifier of the created Template.
    updatedAt String
    (String) Last updated time.

    Look up Existing EnAppConfigurationTemplate Resource

    Get an existing EnAppConfigurationTemplate 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?: EnAppConfigurationTemplateState, opts?: CustomResourceOptions): EnAppConfigurationTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            en_app_configuration_template_id: Optional[str] = None,
            instance_guid: Optional[str] = None,
            name: Optional[str] = None,
            params: Optional[EnAppConfigurationTemplateParamsArgs] = None,
            subscription_count: Optional[float] = None,
            subscription_names: Optional[Sequence[str]] = None,
            template_id: Optional[str] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None) -> EnAppConfigurationTemplate
    func GetEnAppConfigurationTemplate(ctx *Context, name string, id IDInput, state *EnAppConfigurationTemplateState, opts ...ResourceOption) (*EnAppConfigurationTemplate, error)
    public static EnAppConfigurationTemplate Get(string name, Input<string> id, EnAppConfigurationTemplateState? state, CustomResourceOptions? opts = null)
    public static EnAppConfigurationTemplate get(String name, Output<String> id, EnAppConfigurationTemplateState state, CustomResourceOptions options)
    resources:  _:    type: ibm:EnAppConfigurationTemplate    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.
    The following state arguments are supported:
    Description string
    The Template description.
    EnAppConfigurationTemplateId string
    (String) The unique identifier of the ac_template.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Name string
    The Message Template.
    Params EnAppConfigurationTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    SubscriptionCount double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames List<string>
    (List) List of subscriptions.
    TemplateId string
    (String) The unique identifier of the created Template.
    Type string
    app_configuration.notification
    UpdatedAt string
    (String) Last updated time.
    Description string
    The Template description.
    EnAppConfigurationTemplateId string
    (String) The unique identifier of the ac_template.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Name string
    The Message Template.
    Params EnAppConfigurationTemplateParamsArgs

    Payload describing a template configuration

    Nested scheme for params:

    SubscriptionCount float64
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames []string
    (List) List of subscriptions.
    TemplateId string
    (String) The unique identifier of the created Template.
    Type string
    app_configuration.notification
    UpdatedAt string
    (String) Last updated time.
    description String
    The Template description.
    enAppConfigurationTemplateId String
    (String) The unique identifier of the ac_template.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    name String
    The Message Template.
    params EnAppConfigurationTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    subscriptionCount Double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    templateId String
    (String) The unique identifier of the created Template.
    type String
    app_configuration.notification
    updatedAt String
    (String) Last updated time.
    description string
    The Template description.
    enAppConfigurationTemplateId string
    (String) The unique identifier of the ac_template.
    instanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    name string
    The Message Template.
    params EnAppConfigurationTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    subscriptionCount number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames string[]
    (List) List of subscriptions.
    templateId string
    (String) The unique identifier of the created Template.
    type string
    app_configuration.notification
    updatedAt string
    (String) Last updated time.
    description str
    The Template description.
    en_app_configuration_template_id str
    (String) The unique identifier of the ac_template.
    instance_guid str
    Unique identifier for IBM Cloud Event Notifications instance.
    name str
    The Message Template.
    params EnAppConfigurationTemplateParamsArgs

    Payload describing a template configuration

    Nested scheme for params:

    subscription_count float
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscription_names Sequence[str]
    (List) List of subscriptions.
    template_id str
    (String) The unique identifier of the created Template.
    type str
    app_configuration.notification
    updated_at str
    (String) Last updated time.
    description String
    The Template description.
    enAppConfigurationTemplateId String
    (String) The unique identifier of the ac_template.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    name String
    The Message Template.
    params Property Map

    Payload describing a template configuration

    Nested scheme for params:

    subscriptionCount Number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    templateId String
    (String) The unique identifier of the created Template.
    type String
    app_configuration.notification
    updatedAt String
    (String) Last updated time.

    Supporting Types

    EnAppConfigurationTemplateParams, EnAppConfigurationTemplateParamsArgs

    Body string
    The Body for App Configuration Template in base64 encoded format.
    Body string
    The Body for App Configuration Template in base64 encoded format.
    body String
    The Body for App Configuration Template in base64 encoded format.
    body string
    The Body for App Configuration Template in base64 encoded format.
    body str
    The Body for App Configuration Template in base64 encoded format.
    body String
    The Body for App Configuration Template in base64 encoded format.

    Import

    You can import the ibm_en_app_configuration_template resource by using id.

    The id property can be formed from instance_guid, and template_id in the following format:

    <instance_guid>/<template_id>

    • instance_guid: A string. Unique identifier for IBM Cloud Event Notifications instance.

    • template_id: A string. Unique identifier for Template.

    Example

    $ pulumi import ibm:index/enAppConfigurationTemplate:EnAppConfigurationTemplate ac_template <instance_guid>/<template_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.85.0-beta0 published on Wednesday, Oct 29, 2025 by ibm-cloud
      Meet Neo: Your AI Platform Teammate