ibm.IamActionControlTemplate
Explore with Pulumi AI
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:
- Action
Controls List<IamAction Control Template Action Control> - 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.
- Iam
Action stringControl Template Id - 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 []IamAction Control Template Action Control Args - 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.
- Iam
Action stringControl Template Id - 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 List<IamAction Control Template Action Control> - 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.
- iam
Action StringControl Template Id - 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 IamAction Control Template Action Control[] - 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.
- iam
Action stringControl Template Id - 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[IamAction Control Template Action Control Args] - 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_ strcontrol_ template_ id - 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
- action
Controls 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.
- iam
Action StringControl Template Id - 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:
- Account
Id string - (String) Enterprise account ID where this template will be created.
- Action
Control stringTemplate Id - (String) The action control template ID.
- Created
At string - The UTC timestamp when the action control template was created.
- Created
By stringId - 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.
- Last
Modified stringAt - The UTC timestamp when the action control template was last modified.
- Last
Modified stringBy Id - The IAM ID of the entity that last modified the action control template.
- Version string
- Template Version.
- Account
Id string - (String) Enterprise account ID where this template will be created.
- Action
Control stringTemplate Id - (String) The action control template ID.
- Created
At string - The UTC timestamp when the action control template was created.
- Created
By stringId - 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.
- Last
Modified stringAt - The UTC timestamp when the action control template was last modified.
- Last
Modified stringBy Id - The IAM ID of the entity that last modified the action control template.
- Version string
- Template Version.
- account
Id String - (String) Enterprise account ID where this template will be created.
- action
Control StringTemplate Id - (String) The action control template ID.
- created
At String - The UTC timestamp when the action control template was created.
- created
By StringId - 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.
- last
Modified StringAt - The UTC timestamp when the action control template was last modified.
- last
Modified StringBy Id - The IAM ID of the entity that last modified the action control template.
- version String
- Template Version.
- account
Id string - (String) Enterprise account ID where this template will be created.
- action
Control stringTemplate Id - (String) The action control template ID.
- created
At string - The UTC timestamp when the action control template was created.
- created
By stringId - 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.
- last
Modified stringAt - The UTC timestamp when the action control template was last modified.
- last
Modified stringBy Id - 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_ strtemplate_ id - (String) The action control template ID.
- created_
at str - The UTC timestamp when the action control template was created.
- created_
by_ strid - 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_ strat - The UTC timestamp when the action control template was last modified.
- last_
modified_ strby_ id - The IAM ID of the entity that last modified the action control template.
- version str
- Template Version.
- account
Id String - (String) Enterprise account ID where this template will be created.
- action
Control StringTemplate Id - (String) The action control template ID.
- created
At String - The UTC timestamp when the action control template was created.
- created
By StringId - 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.
- last
Modified StringAt - The UTC timestamp when the action control template was last modified.
- last
Modified StringBy Id - 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.
- Account
Id string - (String) Enterprise account ID where this template will be created.
- Action
Control stringTemplate Id - (String) The action control template ID.
- Action
Controls List<IamAction Control Template Action Control> - 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 string - The UTC timestamp when the action control template was created.
- Created
By stringId - 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.
- Iam
Action stringControl Template Id - The unique identifier of the action_control_template. The ID is composed of
<action_control_template_id>/<template_version>
. - Last
Modified stringAt - The UTC timestamp when the action control template was last modified.
- Last
Modified stringBy Id - 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 string - (String) Enterprise account ID where this template will be created.
- Action
Control stringTemplate Id - (String) The action control template ID.
- Action
Controls []IamAction Control Template Action Control Args - 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 string - The UTC timestamp when the action control template was created.
- Created
By stringId - 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.
- Iam
Action stringControl Template Id - The unique identifier of the action_control_template. The ID is composed of
<action_control_template_id>/<template_version>
. - Last
Modified stringAt - The UTC timestamp when the action control template was last modified.
- Last
Modified stringBy Id - 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 String - (String) Enterprise account ID where this template will be created.
- action
Control StringTemplate Id - (String) The action control template ID.
- action
Controls List<IamAction Control Template Action Control> - 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.
- created
At String - The UTC timestamp when the action control template was created.
- created
By StringId - 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.
- iam
Action StringControl Template Id - The unique identifier of the action_control_template. The ID is composed of
<action_control_template_id>/<template_version>
. - last
Modified StringAt - The UTC timestamp when the action control template was last modified.
- last
Modified StringBy Id - 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 string - (String) Enterprise account ID where this template will be created.
- action
Control stringTemplate Id - (String) The action control template ID.
- action
Controls IamAction Control Template Action Control[] - 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.
- created
At string - The UTC timestamp when the action control template was created.
- created
By stringId - 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.
- iam
Action stringControl Template Id - The unique identifier of the action_control_template. The ID is composed of
<action_control_template_id>/<template_version>
. - last
Modified stringAt - The UTC timestamp when the action control template was last modified.
- last
Modified stringBy Id - 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_ strtemplate_ id - (String) The action control template ID.
- action_
controls Sequence[IamAction Control Template Action Control Args] - 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_ strid - 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_ strcontrol_ template_ id - The unique identifier of the action_control_template. The ID is composed of
<action_control_template_id>/<template_version>
. - last_
modified_ strat - The UTC timestamp when the action control template was last modified.
- last_
modified_ strby_ id - 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.
- account
Id String - (String) Enterprise account ID where this template will be created.
- action
Control StringTemplate Id - (String) The action control template ID.
- action
Controls 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.
- created
At String - The UTC timestamp when the action control template was created.
- created
By StringId - 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.
- iam
Action StringControl Template Id - The unique identifier of the action_control_template. The ID is composed of
<action_control_template_id>/<template_version>
. - last
Modified StringAt - The UTC timestamp when the action control template was last modified.
- last
Modified StringBy Id - 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.
- Service
Name string - The service name that the action control refers.
- Description string
- Description of the action control.
- Actions []string
- List of actions to control access.
- Service
Name 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.
- service
Name String - The service name that the action control refers.
- description String
- Description of the action control.
- actions string[]
- List of actions to control access.
- service
Name 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.
- service
Name 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.