ncloud_create_role
Create an IAM role with specified name, type, and account. Use dryRun to preview changes without execution.
Instructions
Create a new IAM role. Use dryRun=true to preview without creating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, returns a preview without actually creating the role | |
| descCont | No | Description of the role | |
| roleName | Yes | Role name (3-100 chars, letters/numbers/special chars . _ -, must start with letter) | |
| roleType | Yes | Role type: Server (VPC server), Account (console/portal access), Service (inter-service access) | |
| isMyAccount | Yes | Whether the role applies to the current account | |
| sessionExpirationSec | No | Session expiration time in seconds (600, 1800, 3600, or 10800). Not allowed for Server type. |