1. Packages
  2. Ibm Provider
  3. API Docs
  4. IamActionControlTemplate
ibm 1.79.2 published on Friday, Jun 13, 2025 by ibm-cloud

ibm.IamActionControlTemplate

Explore with Pulumi AI

ibm logo
ibm 1.79.2 published on Friday, Jun 13, 2025 by ibm-cloud

    Create, update, and delete a action_control_template with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const actionControlTemplateInstance = new ibm.IamActionControlTemplate("actionControlTemplateInstance", {
        actionControls: [{
            actions: ["am-test-service.test.create"],
            serviceName: "am-test-service",
        }],
        committed: true,
        description: "Base template Testing",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    action_control_template_instance = ibm.IamActionControlTemplate("actionControlTemplateInstance",
        action_controls=[{
            "actions": ["am-test-service.test.create"],
            "service_name": "am-test-service",
        }],
        committed=True,
        description="Base template Testing")
    
    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.NewIamActionControlTemplate(ctx, "actionControlTemplateInstance", &ibm.IamActionControlTemplateArgs{
    			ActionControls: ibm.IamActionControlTemplateActionControlArray{
    				&ibm.IamActionControlTemplateActionControlArgs{
    					Actions: pulumi.StringArray{
    						pulumi.String("am-test-service.test.create"),
    					},
    					ServiceName: pulumi.String("am-test-service"),
    				},
    			},
    			Committed:   pulumi.Bool(true),
    			Description: pulumi.String("Base template Testing"),
    		})
    		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 actionControlTemplateInstance = new Ibm.IamActionControlTemplate("actionControlTemplateInstance", new()
        {
            ActionControls = new[]
            {
                new Ibm.Inputs.IamActionControlTemplateActionControlArgs
                {
                    Actions = new[]
                    {
                        "am-test-service.test.create",
                    },
                    ServiceName = "am-test-service",
                },
            },
            Committed = true,
            Description = "Base template Testing",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IamActionControlTemplate;
    import com.pulumi.ibm.IamActionControlTemplateArgs;
    import com.pulumi.ibm.inputs.IamActionControlTemplateActionControlArgs;
    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 actionControlTemplateInstance = new IamActionControlTemplate("actionControlTemplateInstance", IamActionControlTemplateArgs.builder()
                .actionControls(IamActionControlTemplateActionControlArgs.builder()
                    .actions("am-test-service.test.create")
                    .serviceName("am-test-service")
                    .build())
                .committed("true")
                .description("Base template Testing")
                .build());
    
        }
    }
    
    resources:
      actionControlTemplateInstance:
        type: ibm:IamActionControlTemplate
        properties:
          actionControls:
            - actions:
                - am-test-service.test.create
              serviceName: am-test-service
          committed: 'true'
          description: Base template Testing
    

    Create IamActionControlTemplate Resource

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

    Constructor syntax

    new IamActionControlTemplate(name: string, args?: IamActionControlTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def IamActionControlTemplate(resource_name: str,
                                 args: Optional[IamActionControlTemplateArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def IamActionControlTemplate(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 action_controls: Optional[Sequence[IamActionControlTemplateActionControlArgs]] = None,
                                 committed: Optional[bool] = None,
                                 description: Optional[str] = None,
                                 iam_action_control_template_id: Optional[str] = None,
                                 name: Optional[str] = None)
    func NewIamActionControlTemplate(ctx *Context, name string, args *IamActionControlTemplateArgs, opts ...ResourceOption) (*IamActionControlTemplate, error)
    public IamActionControlTemplate(string name, IamActionControlTemplateArgs? args = null, CustomResourceOptions? opts = null)
    public IamActionControlTemplate(String name, IamActionControlTemplateArgs args)
    public IamActionControlTemplate(String name, IamActionControlTemplateArgs args, CustomResourceOptions options)
    
    type: ibm:IamActionControlTemplate
    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 IamActionControlTemplateArgs
    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 IamActionControlTemplateArgs
    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 IamActionControlTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IamActionControlTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IamActionControlTemplateArgs
    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 iamActionControlTemplateResource = new Ibm.IamActionControlTemplate("iamActionControlTemplateResource", new()
    {
        ActionControls = new[]
        {
            new Ibm.Inputs.IamActionControlTemplateActionControlArgs
            {
                Actions = new[]
                {
                    "string",
                },
                ServiceName = "string",
                Description = "string",
            },
        },
        Committed = false,
        Description = "string",
        IamActionControlTemplateId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewIamActionControlTemplate(ctx, "iamActionControlTemplateResource", &ibm.IamActionControlTemplateArgs{
    	ActionControls: ibm.IamActionControlTemplateActionControlArray{
    		&ibm.IamActionControlTemplateActionControlArgs{
    			Actions: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ServiceName: pulumi.String("string"),
    			Description: pulumi.String("string"),
    		},
    	},
    	Committed:                  pulumi.Bool(false),
    	Description:                pulumi.String("string"),
    	IamActionControlTemplateId: pulumi.String("string"),
    	Name:                       pulumi.String("string"),
    })
    
    var iamActionControlTemplateResource = new IamActionControlTemplate("iamActionControlTemplateResource", IamActionControlTemplateArgs.builder()
        .actionControls(IamActionControlTemplateActionControlArgs.builder()
            .actions("string")
            .serviceName("string")
            .description("string")
            .build())
        .committed(false)
        .description("string")
        .iamActionControlTemplateId("string")
        .name("string")
        .build());
    
    iam_action_control_template_resource = ibm.IamActionControlTemplate("iamActionControlTemplateResource",
        action_controls=[{
            "actions": ["string"],
            "service_name": "string",
            "description": "string",
        }],
        committed=False,
        description="string",
        iam_action_control_template_id="string",
        name="string")
    
    const iamActionControlTemplateResource = new ibm.IamActionControlTemplate("iamActionControlTemplateResource", {
        actionControls: [{
            actions: ["string"],
            serviceName: "string",
            description: "string",
        }],
        committed: false,
        description: "string",
        iamActionControlTemplateId: "string",
        name: "string",
    });
    
    type: ibm:IamActionControlTemplate
    properties:
        actionControls:
            - actions:
                - string
              description: string
              serviceName: string
        committed: false
        description: string
        iamActionControlTemplateId: string
        name: string
    

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

    ActionControls List<IamActionControlTemplateActionControl>
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    Committed bool
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    Description string
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    IamActionControlTemplateId string
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    Name string

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    ActionControls []IamActionControlTemplateActionControlArgs
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    Committed bool
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    Description string
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    IamActionControlTemplateId string
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    Name string

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    actionControls List<IamActionControlTemplateActionControl>
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    committed Boolean
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    description String
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    iamActionControlTemplateId String
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    name String

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    actionControls IamActionControlTemplateActionControl[]
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    committed boolean
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    description string
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    iamActionControlTemplateId string
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    name string

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    action_controls Sequence[IamActionControlTemplateActionControlArgs]
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    committed bool
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    description str
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    iam_action_control_template_id str
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    name str

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    actionControls List<Property Map>
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    committed Boolean
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    description String
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    iamActionControlTemplateId String
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    name String

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    Outputs

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

    AccountId string
    (String) Enterprise account ID where this template will be created.
    ActionControlTemplateId string
    (String) The action control template ID.
    CreatedAt string
    The UTC timestamp when the action control template was created.
    CreatedById string
    The IAM ID of the entity that created the action control template.
    Href string
    The href URL that links to the action control templates API by action control template ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedAt string
    The UTC timestamp when the action control template was last modified.
    LastModifiedById string
    The IAM ID of the entity that last modified the action control template.
    Version string
    Template Version.
    AccountId string
    (String) Enterprise account ID where this template will be created.
    ActionControlTemplateId string
    (String) The action control template ID.
    CreatedAt string
    The UTC timestamp when the action control template was created.
    CreatedById string
    The IAM ID of the entity that created the action control template.
    Href string
    The href URL that links to the action control templates API by action control template ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedAt string
    The UTC timestamp when the action control template was last modified.
    LastModifiedById string
    The IAM ID of the entity that last modified the action control template.
    Version string
    Template Version.
    accountId String
    (String) Enterprise account ID where this template will be created.
    actionControlTemplateId String
    (String) The action control template ID.
    createdAt String
    The UTC timestamp when the action control template was created.
    createdById String
    The IAM ID of the entity that created the action control template.
    href String
    The href URL that links to the action control templates API by action control template ID.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt String
    The UTC timestamp when the action control template was last modified.
    lastModifiedById String
    The IAM ID of the entity that last modified the action control template.
    version String
    Template Version.
    accountId string
    (String) Enterprise account ID where this template will be created.
    actionControlTemplateId string
    (String) The action control template ID.
    createdAt string
    The UTC timestamp when the action control template was created.
    createdById string
    The IAM ID of the entity that created the action control template.
    href string
    The href URL that links to the action control templates API by action control template ID.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt string
    The UTC timestamp when the action control template was last modified.
    lastModifiedById string
    The IAM ID of the entity that last modified the action control template.
    version string
    Template Version.
    account_id str
    (String) Enterprise account ID where this template will be created.
    action_control_template_id str
    (String) The action control template ID.
    created_at str
    The UTC timestamp when the action control template was created.
    created_by_id str
    The IAM ID of the entity that created the action control template.
    href str
    The href URL that links to the action control templates API by action control template ID.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_at str
    The UTC timestamp when the action control template was last modified.
    last_modified_by_id str
    The IAM ID of the entity that last modified the action control template.
    version str
    Template Version.
    accountId String
    (String) Enterprise account ID where this template will be created.
    actionControlTemplateId String
    (String) The action control template ID.
    createdAt String
    The UTC timestamp when the action control template was created.
    createdById String
    The IAM ID of the entity that created the action control template.
    href String
    The href URL that links to the action control templates API by action control template ID.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt String
    The UTC timestamp when the action control template was last modified.
    lastModifiedById String
    The IAM ID of the entity that last modified the action control template.
    version String
    Template Version.

    Look up Existing IamActionControlTemplate Resource

    Get an existing IamActionControlTemplate 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?: IamActionControlTemplateState, opts?: CustomResourceOptions): IamActionControlTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            action_control_template_id: Optional[str] = None,
            action_controls: Optional[Sequence[IamActionControlTemplateActionControlArgs]] = None,
            committed: Optional[bool] = None,
            created_at: Optional[str] = None,
            created_by_id: Optional[str] = None,
            description: Optional[str] = None,
            href: Optional[str] = None,
            iam_action_control_template_id: Optional[str] = None,
            last_modified_at: Optional[str] = None,
            last_modified_by_id: Optional[str] = None,
            name: Optional[str] = None,
            version: Optional[str] = None) -> IamActionControlTemplate
    func GetIamActionControlTemplate(ctx *Context, name string, id IDInput, state *IamActionControlTemplateState, opts ...ResourceOption) (*IamActionControlTemplate, error)
    public static IamActionControlTemplate Get(string name, Input<string> id, IamActionControlTemplateState? state, CustomResourceOptions? opts = null)
    public static IamActionControlTemplate get(String name, Output<String> id, IamActionControlTemplateState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IamActionControlTemplate    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:
    AccountId string
    (String) Enterprise account ID where this template will be created.
    ActionControlTemplateId string
    (String) The action control template ID.
    ActionControls List<IamActionControlTemplateActionControl>
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    Committed bool
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    CreatedAt string
    The UTC timestamp when the action control template was created.
    CreatedById string
    The IAM ID of the entity that created the action control template.
    Description string
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    Href string
    The href URL that links to the action control templates API by action control template ID.
    IamActionControlTemplateId string
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    LastModifiedAt string
    The UTC timestamp when the action control template was last modified.
    LastModifiedById string
    The IAM ID of the entity that last modified the action control template.
    Name string

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    Version string
    Template Version.
    AccountId string
    (String) Enterprise account ID where this template will be created.
    ActionControlTemplateId string
    (String) The action control template ID.
    ActionControls []IamActionControlTemplateActionControlArgs
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    Committed bool
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    CreatedAt string
    The UTC timestamp when the action control template was created.
    CreatedById string
    The IAM ID of the entity that created the action control template.
    Description string
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    Href string
    The href URL that links to the action control templates API by action control template ID.
    IamActionControlTemplateId string
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    LastModifiedAt string
    The UTC timestamp when the action control template was last modified.
    LastModifiedById string
    The IAM ID of the entity that last modified the action control template.
    Name string

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    Version string
    Template Version.
    accountId String
    (String) Enterprise account ID where this template will be created.
    actionControlTemplateId String
    (String) The action control template ID.
    actionControls List<IamActionControlTemplateActionControl>
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    committed Boolean
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    createdAt String
    The UTC timestamp when the action control template was created.
    createdById String
    The IAM ID of the entity that created the action control template.
    description String
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    href String
    The href URL that links to the action control templates API by action control template ID.
    iamActionControlTemplateId String
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    lastModifiedAt String
    The UTC timestamp when the action control template was last modified.
    lastModifiedById String
    The IAM ID of the entity that last modified the action control template.
    name String

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    version String
    Template Version.
    accountId string
    (String) Enterprise account ID where this template will be created.
    actionControlTemplateId string
    (String) The action control template ID.
    actionControls IamActionControlTemplateActionControl[]
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    committed boolean
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    createdAt string
    The UTC timestamp when the action control template was created.
    createdById string
    The IAM ID of the entity that created the action control template.
    description string
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    href string
    The href URL that links to the action control templates API by action control template ID.
    iamActionControlTemplateId string
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    lastModifiedAt string
    The UTC timestamp when the action control template was last modified.
    lastModifiedById string
    The IAM ID of the entity that last modified the action control template.
    name string

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    version string
    Template Version.
    account_id str
    (String) Enterprise account ID where this template will be created.
    action_control_template_id str
    (String) The action control template ID.
    action_controls Sequence[IamActionControlTemplateActionControlArgs]
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    committed bool
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    created_at str
    The UTC timestamp when the action control template was created.
    created_by_id str
    The IAM ID of the entity that created the action control template.
    description str
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    href str
    The href URL that links to the action control templates API by action control template ID.
    iam_action_control_template_id str
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    last_modified_at str
    The UTC timestamp when the action control template was last modified.
    last_modified_by_id str
    The IAM ID of the entity that last modified the action control template.
    name str

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    version str
    Template Version.
    accountId String
    (String) Enterprise account ID where this template will be created.
    actionControlTemplateId String
    (String) The action control template ID.
    actionControls List<Property Map>
    The core set of properties associated with the template's action control objet. Nested schema for action_control:
    committed Boolean
    Committed status of the template. If committed is set to true, then the template version can no longer be updated.
    createdAt String
    The UTC timestamp when the action control template was created.
    createdById String
    The IAM ID of the entity that created the action control template.
    description String
    Description of the action control template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the action control for enterprise users managing IAM templates.
    href String
    The href URL that links to the action control templates API by action control template ID.
    iamActionControlTemplateId String
    The unique identifier of the action_control_template. The ID is composed of <action_control_template_id>/<template_version>.
    lastModifiedAt String
    The UTC timestamp when the action control template was last modified.
    lastModifiedById String
    The IAM ID of the entity that last modified the action control template.
    name String

    Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template.

    Note "Name" will be out of sync when anyone of the version resource updates this parameter. Please update this parameter with the latest version name

    version String
    Template Version.

    Supporting Types

    IamActionControlTemplateActionControl, IamActionControlTemplateActionControlArgs

    Actions List<string>
    List of actions to control access.
    ServiceName string
    The service name that the action control refers.
    Description string
    Description of the action control.
    Actions []string
    List of actions to control access.
    ServiceName string
    The service name that the action control refers.
    Description string
    Description of the action control.
    actions List<String>
    List of actions to control access.
    serviceName String
    The service name that the action control refers.
    description String
    Description of the action control.
    actions string[]
    List of actions to control access.
    serviceName string
    The service name that the action control refers.
    description string
    Description of the action control.
    actions Sequence[str]
    List of actions to control access.
    service_name str
    The service name that the action control refers.
    description str
    Description of the action control.
    actions List<String>
    List of actions to control access.
    serviceName String
    The service name that the action control refers.
    description String
    Description of the action control.

    Import

    Syntax

    bash

    $ pulumi import ibm:index/iamActionControlTemplate:IamActionControlTemplate action_control_template $action_control_template_id/$version
    

    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.79.2 published on Friday, Jun 13, 2025 by ibm-cloud