ibm.IamActionControlAssignment
Explore with Pulumi AI
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 details
- Templates
Iam
Action Control Assignment Templates - action control template details.
- Iam
Action stringControl Assignment Id - Template
Version string - The policy template version.
- Timeouts
Iam
Action Control Assignment Timeouts
- Target map[string]string
- assignment target details
- Templates
Iam
Action Control Assignment Templates Args - action control template details.
- Iam
Action stringControl Assignment Id - Template
Version string - The policy template version.
- Timeouts
Iam
Action Control Assignment Timeouts Args
- target Map<String,String>
- assignment target details
- templates
Iam
Action Control Assignment Templates - action control template details.
- iam
Action StringControl Assignment Id - template
Version String - The policy template version.
- timeouts
Iam
Action Control Assignment Timeouts
- target {[key: string]: string}
- assignment target details
- templates
Iam
Action Control Assignment Templates - action control template details.
- iam
Action stringControl Assignment Id - template
Version string - The policy template version.
- timeouts
Iam
Action Control Assignment Timeouts
- target Mapping[str, str]
- assignment target details
- templates
Iam
Action Control Assignment Templates Args - action control template details.
- iam_
action_ strcontrol_ assignment_ id - template_
version str - The policy template version.
- timeouts
Iam
Action Control Assignment Timeouts Args
- target Map<String>
- assignment target details
- templates Property Map
- action control template details.
- iam
Action StringControl Assignment Id - template
Version 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:
- Account
Id string - The account GUID that the action control assignments belong to.
- Created
At string - The UTC timestamp when the action control assignment was created.
- Created
By stringId - The IAM ID of the entity that created the action control assignment.
- Href string
- The href URL that links to the action control assignments API by action control assignment ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - The UTC timestamp when the action control assignment was last modified.
- Last
Modified stringBy Id - 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<Iam
Action Control Assignment Resource> - Resources created when action control template is assigned.
- Status string
- The action control assignment status.
- Account
Id string - The account GUID that the action control assignments belong to.
- Created
At string - The UTC timestamp when the action control assignment was created.
- Created
By stringId - The IAM ID of the entity that created the action control assignment.
- Href string
- The href URL that links to the action control assignments API by action control assignment ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - The UTC timestamp when the action control assignment was last modified.
- Last
Modified stringBy Id - The IAM ID of the entity that last modified the action control assignment.
- Operation string
- The current operation of the action control assignment.
- Resources
[]Iam
Action Control Assignment Resource - Resources created when action control template is assigned.
- Status string
- The action control assignment status.
- account
Id String - The account GUID that the action control assignments belong to.
- created
At String - The UTC timestamp when the action control assignment was created.
- created
By StringId - The IAM ID of the entity that created the action control assignment.
- href String
- The href URL that links to the action control assignments API by action control assignment ID.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - The UTC timestamp when the action control assignment was last modified.
- last
Modified StringBy Id - 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<Iam
Action Control Assignment Resource> - Resources created when action control template is assigned.
- status String
- The action control assignment status.
- account
Id string - The account GUID that the action control assignments belong to.
- created
At string - The UTC timestamp when the action control assignment was created.
- created
By stringId - The IAM ID of the entity that created the action control assignment.
- href string
- The href URL that links to the action control assignments API by action control assignment ID.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringAt - The UTC timestamp when the action control assignment was last modified.
- last
Modified stringBy Id - The IAM ID of the entity that last modified the action control assignment.
- operation string
- The current operation of the action control assignment.
- resources
Iam
Action Control Assignment Resource[] - Resources created when action control template is assigned.
- status string
- The action control assignment status.
- account_
id str - The account GUID that the action control assignments belong to.
- created_
at str - The UTC timestamp when the action control assignment was created.
- created_
by_ strid - The IAM ID of the entity that created the action control assignment.
- href str
- The href URL that links to the action control assignments API by action control assignment ID.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strat - The UTC timestamp when the action control assignment was last modified.
- last_
modified_ strby_ id - 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[Iam
Action Control Assignment Resource] - Resources created when action control template is assigned.
- status str
- The action control assignment status.
- account
Id String - The account GUID that the action control assignments belong to.
- created
At String - The UTC timestamp when the action control assignment was created.
- created
By StringId - The IAM ID of the entity that created the action control assignment.
- href String
- The href URL that links to the action control assignments API by action control assignment ID.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - The UTC timestamp when the action control assignment was last modified.
- last
Modified StringBy Id - 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>
- Resources created when action control template is assigned.
- status String
- The action control assignment status.
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.
- Account
Id string - The account GUID that the action control assignments belong to.
- Created
At string - The UTC timestamp when the action control assignment was created.
- Created
By stringId - The IAM ID of the entity that created the action control assignment.
- Href string
- The href URL that links to the action control assignments API by action control assignment ID.
- Iam
Action stringControl Assignment Id - Last
Modified stringAt - The UTC timestamp when the action control assignment was last modified.
- Last
Modified stringBy Id - 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<Iam
Action Control Assignment Resource> - Resources created when action control template is assigned.
- Status string
- The action control assignment status.
- Target Dictionary<string, string>
- assignment target details
- Template
Version string - The policy template version.
- Templates
Iam
Action Control Assignment Templates - action control template details.
- Timeouts
Iam
Action Control Assignment Timeouts
- Account
Id string - The account GUID that the action control assignments belong to.
- Created
At string - The UTC timestamp when the action control assignment was created.
- Created
By stringId - The IAM ID of the entity that created the action control assignment.
- Href string
- The href URL that links to the action control assignments API by action control assignment ID.
- Iam
Action stringControl Assignment Id - Last
Modified stringAt - The UTC timestamp when the action control assignment was last modified.
- Last
Modified stringBy Id - The IAM ID of the entity that last modified the action control assignment.
- Operation string
- The current operation of the action control assignment.
- Resources
[]Iam
Action Control Assignment Resource Args - Resources created when action control template is assigned.
- Status string
- The action control assignment status.
- Target map[string]string
- assignment target details
- Template
Version string - The policy template version.
- Templates
Iam
Action Control Assignment Templates Args - action control template details.
- Timeouts
Iam
Action Control Assignment Timeouts Args
- account
Id String - The account GUID that the action control assignments belong to.
- created
At String - The UTC timestamp when the action control assignment was created.
- created
By StringId - The IAM ID of the entity that created the action control assignment.
- href String
- The href URL that links to the action control assignments API by action control assignment ID.
- iam
Action StringControl Assignment Id - last
Modified StringAt - The UTC timestamp when the action control assignment was last modified.
- last
Modified StringBy Id - 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<Iam
Action Control Assignment Resource> - Resources created when action control template is assigned.
- status String
- The action control assignment status.
- target Map<String,String>
- assignment target details
- template
Version String - The policy template version.
- templates
Iam
Action Control Assignment Templates - action control template details.
- timeouts
Iam
Action Control Assignment Timeouts
- account
Id string - The account GUID that the action control assignments belong to.
- created
At string - The UTC timestamp when the action control assignment was created.
- created
By stringId - The IAM ID of the entity that created the action control assignment.
- href string
- The href URL that links to the action control assignments API by action control assignment ID.
- iam
Action stringControl Assignment Id - last
Modified stringAt - The UTC timestamp when the action control assignment was last modified.
- last
Modified stringBy Id - The IAM ID of the entity that last modified the action control assignment.
- operation string
- The current operation of the action control assignment.
- resources
Iam
Action Control Assignment Resource[] - Resources created when action control template is assigned.
- status string
- The action control assignment status.
- target {[key: string]: string}
- assignment target details
- template
Version string - The policy template version.
- templates
Iam
Action Control Assignment Templates - action control template details.
- timeouts
Iam
Action Control Assignment Timeouts
- account_
id str - The account GUID that the action control assignments belong to.
- created_
at str - The UTC timestamp when the action control assignment was created.
- created_
by_ strid - The IAM ID of the entity that created the action control assignment.
- href str
- The href URL that links to the action control assignments API by action control assignment ID.
- iam_
action_ strcontrol_ assignment_ id - last_
modified_ strat - The UTC timestamp when the action control assignment was last modified.
- last_
modified_ strby_ id - 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[Iam
Action Control Assignment Resource Args] - Resources created when action control template is assigned.
- status str
- The action control assignment status.
- target Mapping[str, str]
- assignment target details
- template_
version str - The policy template version.
- templates
Iam
Action Control Assignment Templates Args - action control template details.
- timeouts
Iam
Action Control Assignment Timeouts Args
- account
Id String - The account GUID that the action control assignments belong to.
- created
At String - The UTC timestamp when the action control assignment was created.
- created
By StringId - The IAM ID of the entity that created the action control assignment.
- href String
- The href URL that links to the action control assignments API by action control assignment ID.
- iam
Action StringControl Assignment Id - last
Modified StringAt - The UTC timestamp when the action control assignment was last modified.
- last
Modified StringBy Id - 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>
- Resources created when action control template is assigned.
- status String
- The action control assignment status.
- target Map<String>
- assignment target details
- template
Version String - The policy template version.
- templates Property Map
- action control template details.
- timeouts Property Map
Supporting Types
IamActionControlAssignmentResource, IamActionControlAssignmentResourceArgs
- Action
Controls List<IamAction Control Assignment Resource Action Control> - Target Dictionary<string, string>
- Action
Controls []IamAction Control Assignment Resource Action Control - Target map[string]string
- action
Controls List<IamAction Control Assignment Resource Action Control> - target Map<String,String>
- action
Controls IamAction Control Assignment Resource Action Control[] - target {[key: string]: string}
- action
Controls List<Property Map> - target Map<String>
IamActionControlAssignmentResourceActionControl, IamActionControlAssignmentResourceActionControlArgs
IamActionControlAssignmentResourceActionControlErrorMessage, IamActionControlAssignmentResourceActionControlErrorMessageArgs
- errors List<Property Map>
- status
Code Number - trace String
IamActionControlAssignmentResourceActionControlErrorMessageError, IamActionControlAssignmentResourceActionControlErrorMessageErrorArgs
- code String
- details List<Property Map>
- message String
- more
Info String
IamActionControlAssignmentResourceActionControlErrorMessageErrorDetail, IamActionControlAssignmentResourceActionControlErrorMessageErrorDetailArgs
IamActionControlAssignmentResourceActionControlErrorMessageErrorDetailConflictsWith, IamActionControlAssignmentResourceActionControlErrorMessageErrorDetailConflictsWithArgs
IamActionControlAssignmentResourceActionControlResourceCreated, IamActionControlAssignmentResourceActionControlResourceCreatedArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
IamActionControlAssignmentTemplates, IamActionControlAssignmentTemplatesArgs
IamActionControlAssignmentTimeouts, IamActionControlAssignmentTimeoutsArgs
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.