1. Packages
  2. Ibm Provider
  3. API Docs
  4. IamActionControlAssignment
ibm 1.81.1 published on Wednesday, Aug 6, 2025 by ibm-cloud

ibm.IamActionControlAssignment

Explore with Pulumi AI

ibm logo
ibm 1.81.1 published on Wednesday, Aug 6, 2025 by ibm-cloud

    Create, update, and delete action_control_assignments with this resource.

    Create IamActionControlAssignment Resource

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

    Constructor syntax

    new IamActionControlAssignment(name: string, args: IamActionControlAssignmentArgs, opts?: CustomResourceOptions);
    @overload
    def IamActionControlAssignment(resource_name: str,
                                   args: IamActionControlAssignmentArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def IamActionControlAssignment(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   target: Optional[Mapping[str, str]] = None,
                                   templates: Optional[IamActionControlAssignmentTemplatesArgs] = None,
                                   iam_action_control_assignment_id: Optional[str] = None,
                                   template_version: Optional[str] = None,
                                   timeouts: Optional[IamActionControlAssignmentTimeoutsArgs] = None)
    func NewIamActionControlAssignment(ctx *Context, name string, args IamActionControlAssignmentArgs, opts ...ResourceOption) (*IamActionControlAssignment, error)
    public IamActionControlAssignment(string name, IamActionControlAssignmentArgs args, CustomResourceOptions? opts = null)
    public IamActionControlAssignment(String name, IamActionControlAssignmentArgs args)
    public IamActionControlAssignment(String name, IamActionControlAssignmentArgs args, CustomResourceOptions options)
    
    type: ibm:IamActionControlAssignment
    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 IamActionControlAssignmentArgs
    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 IamActionControlAssignmentArgs
    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 IamActionControlAssignmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IamActionControlAssignmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IamActionControlAssignmentArgs
    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 iamActionControlAssignmentResource = new Ibm.IamActionControlAssignment("iamActionControlAssignmentResource", new()
    {
        Target = 
        {
            { "string", "string" },
        },
        Templates = new Ibm.Inputs.IamActionControlAssignmentTemplatesArgs
        {
            Id = "string",
            Version = "string",
        },
        IamActionControlAssignmentId = "string",
        TemplateVersion = "string",
        Timeouts = new Ibm.Inputs.IamActionControlAssignmentTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := ibm.NewIamActionControlAssignment(ctx, "iamActionControlAssignmentResource", &ibm.IamActionControlAssignmentArgs{
    	Target: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Templates: &ibm.IamActionControlAssignmentTemplatesArgs{
    		Id:      pulumi.String("string"),
    		Version: pulumi.String("string"),
    	},
    	IamActionControlAssignmentId: pulumi.String("string"),
    	TemplateVersion:              pulumi.String("string"),
    	Timeouts: &ibm.IamActionControlAssignmentTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var iamActionControlAssignmentResource = new IamActionControlAssignment("iamActionControlAssignmentResource", IamActionControlAssignmentArgs.builder()
        .target(Map.of("string", "string"))
        .templates(IamActionControlAssignmentTemplatesArgs.builder()
            .id("string")
            .version("string")
            .build())
        .iamActionControlAssignmentId("string")
        .templateVersion("string")
        .timeouts(IamActionControlAssignmentTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    iam_action_control_assignment_resource = ibm.IamActionControlAssignment("iamActionControlAssignmentResource",
        target={
            "string": "string",
        },
        templates={
            "id": "string",
            "version": "string",
        },
        iam_action_control_assignment_id="string",
        template_version="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const iamActionControlAssignmentResource = new ibm.IamActionControlAssignment("iamActionControlAssignmentResource", {
        target: {
            string: "string",
        },
        templates: {
            id: "string",
            version: "string",
        },
        iamActionControlAssignmentId: "string",
        templateVersion: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: ibm:IamActionControlAssignment
    properties:
        iamActionControlAssignmentId: string
        target:
            string: string
        templateVersion: string
        templates:
            id: string
            version: string
        timeouts:
            create: string
            delete: string
            update: string
    

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

    Target Dictionary<string, string>
    assignment target account and type. Nested schema for target:
    Templates IamActionControlAssignmentTemplates
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    IamActionControlAssignmentId string
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    TemplateVersion string
    The policy template version.
    Timeouts IamActionControlAssignmentTimeouts
    Target map[string]string
    assignment target account and type. Nested schema for target:
    Templates IamActionControlAssignmentTemplatesArgs
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    IamActionControlAssignmentId string
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    TemplateVersion string
    The policy template version.
    Timeouts IamActionControlAssignmentTimeoutsArgs
    target Map<String,String>
    assignment target account and type. Nested schema for target:
    templates IamActionControlAssignmentTemplates
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    iamActionControlAssignmentId String
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    templateVersion String
    The policy template version.
    timeouts IamActionControlAssignmentTimeouts
    target {[key: string]: string}
    assignment target account and type. Nested schema for target:
    templates IamActionControlAssignmentTemplates
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    iamActionControlAssignmentId string
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    templateVersion string
    The policy template version.
    timeouts IamActionControlAssignmentTimeouts
    target Mapping[str, str]
    assignment target account and type. Nested schema for target:
    templates IamActionControlAssignmentTemplatesArgs
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    iam_action_control_assignment_id str
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    template_version str
    The policy template version.
    timeouts IamActionControlAssignmentTimeoutsArgs
    target Map<String>
    assignment target account and type. Nested schema for target:
    templates Property Map
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    iamActionControlAssignmentId String
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    templateVersion String
    The policy template version.
    timeouts Property Map

    Outputs

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

    AccountId string
    (String) The account GUID that the action control assignments belong to..
    CreatedAt string
    (String) The UTC timestamp when the action control assignment was created.
    CreatedById string
    (String) The iam ID of the entity that created the action control assignment.
    Href string
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedAt string
    (String) The UTC timestamp when the action control assignment was last modified.
    LastModifiedById string
    (String) The iam ID of the entity that last modified the action control assignment.
    Operation string
    The current operation of the action control assignment.
    Resources List<IamActionControlAssignmentResource>
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    Status string
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.
    AccountId string
    (String) The account GUID that the action control assignments belong to..
    CreatedAt string
    (String) The UTC timestamp when the action control assignment was created.
    CreatedById string
    (String) The iam ID of the entity that created the action control assignment.
    Href string
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedAt string
    (String) The UTC timestamp when the action control assignment was last modified.
    LastModifiedById string
    (String) The iam ID of the entity that last modified the action control assignment.
    Operation string
    The current operation of the action control assignment.
    Resources []IamActionControlAssignmentResource
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    Status string
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.
    accountId String
    (String) The account GUID that the action control assignments belong to..
    createdAt String
    (String) The UTC timestamp when the action control assignment was created.
    createdById String
    (String) The iam ID of the entity that created the action control assignment.
    href String
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt String
    (String) The UTC timestamp when the action control assignment was last modified.
    lastModifiedById String
    (String) The iam ID of the entity that last modified the action control assignment.
    operation String
    The current operation of the action control assignment.
    resources List<IamActionControlAssignmentResource>
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    status String
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.
    accountId string
    (String) The account GUID that the action control assignments belong to..
    createdAt string
    (String) The UTC timestamp when the action control assignment was created.
    createdById string
    (String) The iam ID of the entity that created the action control assignment.
    href string
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt string
    (String) The UTC timestamp when the action control assignment was last modified.
    lastModifiedById string
    (String) The iam ID of the entity that last modified the action control assignment.
    operation string
    The current operation of the action control assignment.
    resources IamActionControlAssignmentResource[]
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    status string
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.
    account_id str
    (String) The account GUID that the action control assignments belong to..
    created_at str
    (String) The UTC timestamp when the action control assignment was created.
    created_by_id str
    (String) The iam ID of the entity that created the action control assignment.
    href str
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_at str
    (String) The UTC timestamp when the action control assignment was last modified.
    last_modified_by_id str
    (String) The iam ID of the entity that last modified the action control assignment.
    operation str
    The current operation of the action control assignment.
    resources Sequence[IamActionControlAssignmentResource]
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    status str
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.
    accountId String
    (String) The account GUID that the action control assignments belong to..
    createdAt String
    (String) The UTC timestamp when the action control assignment was created.
    createdById String
    (String) The iam ID of the entity that created the action control assignment.
    href String
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt String
    (String) The UTC timestamp when the action control assignment was last modified.
    lastModifiedById String
    (String) The iam ID of the entity that last modified the action control assignment.
    operation String
    The current operation of the action control assignment.
    resources List<Property Map>
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    status String
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.

    Look up Existing IamActionControlAssignment Resource

    Get an existing IamActionControlAssignment 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?: IamActionControlAssignmentState, opts?: CustomResourceOptions): IamActionControlAssignment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by_id: Optional[str] = None,
            href: Optional[str] = None,
            iam_action_control_assignment_id: Optional[str] = None,
            last_modified_at: Optional[str] = None,
            last_modified_by_id: Optional[str] = None,
            operation: Optional[str] = None,
            resources: Optional[Sequence[IamActionControlAssignmentResourceArgs]] = None,
            status: Optional[str] = None,
            target: Optional[Mapping[str, str]] = None,
            template_version: Optional[str] = None,
            templates: Optional[IamActionControlAssignmentTemplatesArgs] = None,
            timeouts: Optional[IamActionControlAssignmentTimeoutsArgs] = None) -> IamActionControlAssignment
    func GetIamActionControlAssignment(ctx *Context, name string, id IDInput, state *IamActionControlAssignmentState, opts ...ResourceOption) (*IamActionControlAssignment, error)
    public static IamActionControlAssignment Get(string name, Input<string> id, IamActionControlAssignmentState? state, CustomResourceOptions? opts = null)
    public static IamActionControlAssignment get(String name, Output<String> id, IamActionControlAssignmentState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IamActionControlAssignment    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) The account GUID that the action control assignments belong to..
    CreatedAt string
    (String) The UTC timestamp when the action control assignment was created.
    CreatedById string
    (String) The iam ID of the entity that created the action control assignment.
    Href string
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    IamActionControlAssignmentId string
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    LastModifiedAt string
    (String) The UTC timestamp when the action control assignment was last modified.
    LastModifiedById string
    (String) The iam ID of the entity that last modified the action control assignment.
    Operation string
    The current operation of the action control assignment.
    Resources List<IamActionControlAssignmentResource>
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    Status string
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.
    Target Dictionary<string, string>
    assignment target account and type. Nested schema for target:
    TemplateVersion string
    The policy template version.
    Templates IamActionControlAssignmentTemplates
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    Timeouts IamActionControlAssignmentTimeouts
    AccountId string
    (String) The account GUID that the action control assignments belong to..
    CreatedAt string
    (String) The UTC timestamp when the action control assignment was created.
    CreatedById string
    (String) The iam ID of the entity that created the action control assignment.
    Href string
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    IamActionControlAssignmentId string
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    LastModifiedAt string
    (String) The UTC timestamp when the action control assignment was last modified.
    LastModifiedById string
    (String) The iam ID of the entity that last modified the action control assignment.
    Operation string
    The current operation of the action control assignment.
    Resources []IamActionControlAssignmentResourceArgs
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    Status string
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.
    Target map[string]string
    assignment target account and type. Nested schema for target:
    TemplateVersion string
    The policy template version.
    Templates IamActionControlAssignmentTemplatesArgs
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    Timeouts IamActionControlAssignmentTimeoutsArgs
    accountId String
    (String) The account GUID that the action control assignments belong to..
    createdAt String
    (String) The UTC timestamp when the action control assignment was created.
    createdById String
    (String) The iam ID of the entity that created the action control assignment.
    href String
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    iamActionControlAssignmentId String
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    lastModifiedAt String
    (String) The UTC timestamp when the action control assignment was last modified.
    lastModifiedById String
    (String) The iam ID of the entity that last modified the action control assignment.
    operation String
    The current operation of the action control assignment.
    resources List<IamActionControlAssignmentResource>
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    status String
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.
    target Map<String,String>
    assignment target account and type. Nested schema for target:
    templateVersion String
    The policy template version.
    templates IamActionControlAssignmentTemplates
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    timeouts IamActionControlAssignmentTimeouts
    accountId string
    (String) The account GUID that the action control assignments belong to..
    createdAt string
    (String) The UTC timestamp when the action control assignment was created.
    createdById string
    (String) The iam ID of the entity that created the action control assignment.
    href string
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    iamActionControlAssignmentId string
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    lastModifiedAt string
    (String) The UTC timestamp when the action control assignment was last modified.
    lastModifiedById string
    (String) The iam ID of the entity that last modified the action control assignment.
    operation string
    The current operation of the action control assignment.
    resources IamActionControlAssignmentResource[]
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    status string
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.
    target {[key: string]: string}
    assignment target account and type. Nested schema for target:
    templateVersion string
    The policy template version.
    templates IamActionControlAssignmentTemplates
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    timeouts IamActionControlAssignmentTimeouts
    account_id str
    (String) The account GUID that the action control assignments belong to..
    created_at str
    (String) The UTC timestamp when the action control assignment was created.
    created_by_id str
    (String) The iam ID of the entity that created the action control assignment.
    href str
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    iam_action_control_assignment_id str
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    last_modified_at str
    (String) The UTC timestamp when the action control assignment was last modified.
    last_modified_by_id str
    (String) The iam ID of the entity that last modified the action control assignment.
    operation str
    The current operation of the action control assignment.
    resources Sequence[IamActionControlAssignmentResourceArgs]
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    status str
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.
    target Mapping[str, str]
    assignment target account and type. Nested schema for target:
    template_version str
    The policy template version.
    templates IamActionControlAssignmentTemplatesArgs
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    timeouts IamActionControlAssignmentTimeoutsArgs
    accountId String
    (String) The account GUID that the action control assignments belong to..
    createdAt String
    (String) The UTC timestamp when the action control assignment was created.
    createdById String
    (String) The iam ID of the entity that created the action control assignment.
    href String
    (String) The href URL that links to the actionControl assignments API by action control assignment ID.
    iamActionControlAssignmentId String
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    lastModifiedAt String
    (String) The UTC timestamp when the action control assignment was last modified.
    lastModifiedById String
    (String) The iam ID of the entity that last modified the action control assignment.
    operation String
    The current operation of the action control assignment.
    resources List<Property Map>
    (List) Object for each account assigned.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for resources:
    • action control - (List) Set of properties for the assigned resource. Nested schema for action_control:
    status String
    (String) The action_control assignment status.

    • Constraints: Allowable values are: in_progress, succeeded, succeed_with_errors, failed.
    target Map<String>
    assignment target account and type. Nested schema for target:
    templateVersion String
    The policy template version.
    templates Property Map
    The set of properties required for a ActionControl assignment. Nested schema for templates:
    timeouts Property Map

    Supporting Types

    IamActionControlAssignmentResource, IamActionControlAssignmentResourceArgs

    ActionControls List<IamActionControlAssignmentResourceActionControl>
    (String) The conflicting action_control id.
    Target Dictionary<string, string>
    assignment target account and type. Nested schema for target:
    ActionControls []IamActionControlAssignmentResourceActionControl
    (String) The conflicting action_control id.
    Target map[string]string
    assignment target account and type. Nested schema for target:
    actionControls List<IamActionControlAssignmentResourceActionControl>
    (String) The conflicting action_control id.
    target Map<String,String>
    assignment target account and type. Nested schema for target:
    actionControls IamActionControlAssignmentResourceActionControl[]
    (String) The conflicting action_control id.
    target {[key: string]: string}
    assignment target account and type. Nested schema for target:
    action_controls Sequence[IamActionControlAssignmentResourceActionControl]
    (String) The conflicting action_control id.
    target Mapping[str, str]
    assignment target account and type. Nested schema for target:
    actionControls List<Property Map>
    (String) The conflicting action_control id.
    target Map<String>
    assignment target account and type. Nested schema for target:

    IamActionControlAssignmentResourceActionControl, IamActionControlAssignmentResourceActionControlArgs

    ErrorMessages List<IamActionControlAssignmentResourceActionControlErrorMessage>
    (List) The error response from API. Nested schema for error_message:
    ResourceCreateds List<IamActionControlAssignmentResourceActionControlResourceCreated>
    (List) On success, includes the action_control assigned. Nested schema for resource_created:
    ErrorMessages []IamActionControlAssignmentResourceActionControlErrorMessage
    (List) The error response from API. Nested schema for error_message:
    ResourceCreateds []IamActionControlAssignmentResourceActionControlResourceCreated
    (List) On success, includes the action_control assigned. Nested schema for resource_created:
    errorMessages List<IamActionControlAssignmentResourceActionControlErrorMessage>
    (List) The error response from API. Nested schema for error_message:
    resourceCreateds List<IamActionControlAssignmentResourceActionControlResourceCreated>
    (List) On success, includes the action_control assigned. Nested schema for resource_created:
    errorMessages IamActionControlAssignmentResourceActionControlErrorMessage[]
    (List) The error response from API. Nested schema for error_message:
    resourceCreateds IamActionControlAssignmentResourceActionControlResourceCreated[]
    (List) On success, includes the action_control assigned. Nested schema for resource_created:
    error_messages Sequence[IamActionControlAssignmentResourceActionControlErrorMessage]
    (List) The error response from API. Nested schema for error_message:
    resource_createds Sequence[IamActionControlAssignmentResourceActionControlResourceCreated]
    (List) On success, includes the action_control assigned. Nested schema for resource_created:
    errorMessages List<Property Map>
    (List) The error response from API. Nested schema for error_message:
    resourceCreateds List<Property Map>
    (List) On success, includes the action_control assigned. Nested schema for resource_created:

    IamActionControlAssignmentResourceActionControlErrorMessage, IamActionControlAssignmentResourceActionControlErrorMessageArgs

    Code string
    (String) error code.
    ErrorCode string
    Errors List<IamActionControlAssignmentResourceActionControlErrorMessageError>
    (List) The errors encountered during the response.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for errors:
    Message string
    (String) Error message detailing the nature of the error.
    Name string
    (String) Name of the error.

    • errorCode - (String) error code.
    StatusCode double
    (Integer) The http error code of the response.
    Trace string
    Code string
    (String) error code.
    ErrorCode string
    Errors []IamActionControlAssignmentResourceActionControlErrorMessageError
    (List) The errors encountered during the response.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for errors:
    Message string
    (String) Error message detailing the nature of the error.
    Name string
    (String) Name of the error.

    • errorCode - (String) error code.
    StatusCode float64
    (Integer) The http error code of the response.
    Trace string
    code String
    (String) error code.
    errorCode String
    errors List<IamActionControlAssignmentResourceActionControlErrorMessageError>
    (List) The errors encountered during the response.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for errors:
    message String
    (String) Error message detailing the nature of the error.
    name String
    (String) Name of the error.

    • errorCode - (String) error code.
    statusCode Double
    (Integer) The http error code of the response.
    trace String
    code string
    (String) error code.
    errorCode string
    errors IamActionControlAssignmentResourceActionControlErrorMessageError[]
    (List) The errors encountered during the response.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for errors:
    message string
    (String) Error message detailing the nature of the error.
    name string
    (String) Name of the error.

    • errorCode - (String) error code.
    statusCode number
    (Integer) The http error code of the response.
    trace string
    code str
    (String) error code.
    error_code str
    errors Sequence[IamActionControlAssignmentResourceActionControlErrorMessageError]
    (List) The errors encountered during the response.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for errors:
    message str
    (String) Error message detailing the nature of the error.
    name str
    (String) Name of the error.

    • errorCode - (String) error code.
    status_code float
    (Integer) The http error code of the response.
    trace str
    code String
    (String) error code.
    errorCode String
    errors List<Property Map>
    (List) The errors encountered during the response.

    • Constraints: The maximum length is 1 item. The minimum length is 1 item. Nested schema for errors:
    message String
    (String) Error message detailing the nature of the error.
    name String
    (String) Name of the error.

    • errorCode - (String) error code.
    statusCode Number
    (Integer) The http error code of the response.
    trace String

    IamActionControlAssignmentResourceActionControlErrorMessageError, IamActionControlAssignmentResourceActionControlErrorMessageErrorArgs

    Code string
    (String) error code.
    Details List<IamActionControlAssignmentResourceActionControlErrorMessageErrorDetail>
    (List) Additional error details. Nested schema for details:
    Message string
    (String) Error message detailing the nature of the error.
    MoreInfo string
    (String) Additional info for error.
    Code string
    (String) error code.
    Details []IamActionControlAssignmentResourceActionControlErrorMessageErrorDetail
    (List) Additional error details. Nested schema for details:
    Message string
    (String) Error message detailing the nature of the error.
    MoreInfo string
    (String) Additional info for error.
    code String
    (String) error code.
    details List<IamActionControlAssignmentResourceActionControlErrorMessageErrorDetail>
    (List) Additional error details. Nested schema for details:
    message String
    (String) Error message detailing the nature of the error.
    moreInfo String
    (String) Additional info for error.
    code string
    (String) error code.
    details IamActionControlAssignmentResourceActionControlErrorMessageErrorDetail[]
    (List) Additional error details. Nested schema for details:
    message string
    (String) Error message detailing the nature of the error.
    moreInfo string
    (String) Additional info for error.
    code str
    (String) error code.
    details Sequence[IamActionControlAssignmentResourceActionControlErrorMessageErrorDetail]
    (List) Additional error details. Nested schema for details:
    message str
    (String) Error message detailing the nature of the error.
    more_info str
    (String) Additional info for error.
    code String
    (String) error code.
    details List<Property Map>
    (List) Additional error details. Nested schema for details:
    message String
    (String) Error message detailing the nature of the error.
    moreInfo String
    (String) Additional info for error.

    IamActionControlAssignmentResourceActionControlErrorMessageErrorDetail, IamActionControlAssignmentResourceActionControlErrorMessageErrorDetailArgs

    ConflictsWiths List<IamActionControlAssignmentResourceActionControlErrorMessageErrorDetailConflictsWith>
    (List) Details of conflicting resource. Nested schema for conflicts_with:
    ConflictsWiths []IamActionControlAssignmentResourceActionControlErrorMessageErrorDetailConflictsWith
    (List) Details of conflicting resource. Nested schema for conflicts_with:
    conflictsWiths List<IamActionControlAssignmentResourceActionControlErrorMessageErrorDetailConflictsWith>
    (List) Details of conflicting resource. Nested schema for conflicts_with:
    conflictsWiths IamActionControlAssignmentResourceActionControlErrorMessageErrorDetailConflictsWith[]
    (List) Details of conflicting resource. Nested schema for conflicts_with:
    conflicts_withs Sequence[IamActionControlAssignmentResourceActionControlErrorMessageErrorDetailConflictsWith]
    (List) Details of conflicting resource. Nested schema for conflicts_with:
    conflictsWiths List<Property Map>
    (List) Details of conflicting resource. Nested schema for conflicts_with:

    IamActionControlAssignmentResourceActionControlErrorMessageErrorDetailConflictsWith, IamActionControlAssignmentResourceActionControlErrorMessageErrorDetailConflictsWithArgs

    Etag string
    (String) The revision number of the resource.
    Policy string
    Role string
    Etag string
    (String) The revision number of the resource.
    Policy string
    Role string
    etag String
    (String) The revision number of the resource.
    policy String
    role String
    etag string
    (String) The revision number of the resource.
    policy string
    role string
    etag str
    (String) The revision number of the resource.
    policy str
    role str
    etag String
    (String) The revision number of the resource.
    policy String
    role String

    IamActionControlAssignmentResourceActionControlResourceCreated, IamActionControlAssignmentResourceActionControlResourceCreatedArgs

    Id string
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    Id string
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    id String
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    id string
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    id str
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    id String
    (String) action_control template id.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.

    IamActionControlAssignmentTemplates, IamActionControlAssignmentTemplatesArgs

    Id string
    ID of the template.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    Version string
    template version .

    • Constraints: The maximum length is 2 characters. The minimum length is 1 character. The value must match regular expression /^[0-9]*$/.
    Id string
    ID of the template.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    Version string
    template version .

    • Constraints: The maximum length is 2 characters. The minimum length is 1 character. The value must match regular expression /^[0-9]*$/.
    id String
    ID of the template.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    version String
    template version .

    • Constraints: The maximum length is 2 characters. The minimum length is 1 character. The value must match regular expression /^[0-9]*$/.
    id string
    ID of the template.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    version string
    template version .

    • Constraints: The maximum length is 2 characters. The minimum length is 1 character. The value must match regular expression /^[0-9]*$/.
    id str
    ID of the template.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    version str
    template version .

    • Constraints: The maximum length is 2 characters. The minimum length is 1 character. The value must match regular expression /^[0-9]*$/.
    id String
    ID of the template.

    • Constraints: The maximum length is 51 characters. The minimum length is 1 character. The value must match regular expression /^actionControlTemplate-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.
    version String
    template version .

    • Constraints: The maximum length is 2 characters. The minimum length is 1 character. The value must match regular expression /^[0-9]*$/.

    IamActionControlAssignmentTimeouts, IamActionControlAssignmentTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    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.81.1 published on Wednesday, Aug 6, 2025 by ibm-cloud